Verify RF encoding and support individual/bulk CAN updates - #2
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Protocol 2.1
DLC selects individual or bulk mode:
Command DLCs are exact. Channels are
0..3; PE44820 addresses are1..4.PINGreturns:Version matching is exact. There are no legacy formats, fallbacks, padding compatibility, capability negotiation, or deprecated APIs.
API
Bulk:
set_phase()set_vga()set_combined()Individual:
set_phase_channel()set_vga_channel()set_combined_channel()beamctlaccepts either--state/--attenuation/--channelor--states/--attenuations.RF encoding
OPT + D7:D0.MakePSCommand()packs the calibrated word and PE44820 address into 13 bits.0..23 dBisattenuation_db << 2.The software preserves each F0480 channel. The checked-in board map identifies SPI1 and PA4 CS but not the final four-device selector nets; no GPIOs are guessed.
Firmware layout
platform/board.h.stm32/bringup/.Five small Mermaid diagrams cover system topology, command flow, RF execution, simulation, and firmware modules. Exact payloads and validation procedures remain text or tables.
Issues
Closes #1
Closes #3
Validation
make checkgit diff --check