Repository navigation
RS-485 DE driven by the pod: open_uart(de=..., de_active_low=...) - #108
Merged
Merged
Conversation
…ve_low=) open_uart / capture_uart take de (an LA channel or wiring name, on the transceiver's DE + /RE) and de_active_low; the TCP transport sends them only when set, the USB console refuses them. Feature uart_de (gateware v58), features table synced to revision 2. MCP uart_open / capture_uart take de and de_active_low. Tests for the gates (old revision, old gateware), the pin rule and the wire format. Refs embeddedci-com/benchpod-firmware#163 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e tool says to upgrade) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
The host side of embeddedci-com/benchpod-firmware#163: the pod drives an RS-485 transceiver's DE itself.
SDK
open_uartandcapture_uarttakede=(an LA channel or wiring name, wired to the transceiver's DE + /RE) andde_active_low=:uart_de(gateware v58). The features table is synced to revision 2.UnsupportedFeatureErrorbefore anything is sent, and so is the USB console.deon rx or tx raisesValueError.de/de_active_lowonly when set.MCP
uart_openandcapture_uarttakedeandde_active_low.Tests
pytest packages/embeddedci: 987 passed. Newtest_uart_de.pyuses a pod with features revision 2 and the running gateware: the gates (revision 1, gateware 57), the pin rule and the wire format. API snapshot refreshed (additive).pytest packages/embeddedci-mcp: 208 passed (newtest_uart_de). Tool surface refreshed.READMEs and CHANGELOGs (3.0.2) are updated. Tested on hardware with the firmware PR, against the process-node RS-485 mock (embeddedci-com/examples#13): pod-driven DE at 9600 8N2, 19200 8E1 and 115200 8N1, with a device answering within 3.5 characters, gets every reply.
Merge after #163.
🤖 Generated with Claude Code