Repository navigation
Conversation
- fixed a typo in the comment - reversed polarity of the RXEN signal (should be high for RX) - MCU pin connected to the RXEN line is no longer hi-z
Replaced setup action with manual installation of Apptainer.
- the timeout is 180 seconds by default
- parsing starts at `s[*pos]` and stops at the first non-digit character - the value has to fit in 16 bits
|
in several attempts to run this branch it appears that something in this code is breaking the communications path or locking up the module, i am unable to get any response from it, building the previous version from source using the same process yields a working binary that does respond to commands |
Contributor
Author
|
Should be fixed now. |
edgetriggered
marked this pull request as draft
October 25, 2026 17:17
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.
Hardware
PMC1cleared the wrong bit (P11 instead of P10), so RXEN stayed ananalog input and never drove the RX LNA (Q2) supply. Its polarity was also inverted. RXEN is
now high in RX and low in TX, which should noticeably improve RX sensitivity.
Firmware
AT+TURBO: wait for TSF as well as BFF so the finalOK\r\nis fully sent before the baud rate changes.AT+TURBOrepliesERRon R5R0C002, where it is not implemented.volatile, since they are shared with the RX ISR.PEEK/POKEreplyERRwhen the transceiver does not respond,and PTT handling never writes register 0x30 from a failed read.
AT+TOT=<seconds>transmit timeout (default 180 s, 0 disables), on a 1 Hz TAU0 tick.A held PTT must be released before it can key again.
AMP/AUDIOaccept only0or1.received, and an overlong line gets a single
ERR.Python API
poke()always returnedFalse.ERRreplies and timeouts now raiseSA8x8Error.NotImplementedchanged toNotImplementedError, serial timeout added, integer frequency math,and new
amp(),audio()andtot()helpers.CI
workflow_dispatchadded.Testing
CI builds all RL78 targets cleanly. The command parser and Python API were tested on the host
against the real firmware loop. Still needs hardware verification: RXEN levels and RX
sensitivity, the
AT+TOTtimer, and theAT+TURBOhandover. R5R0C002 changes are syntax-checked only.