-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
rp2 PIO: Allow merging Tx/Rx FIFOs together #6854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's simply not implemented at the moment.
Feel free to. I think it can just set the relevant bits in |
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. We simply add constants to the PIO object, and set the appropriate bits in `shiftctrl`. Resolves micropython#6854.
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. We simply add constants to the PIO object, and set the appropriate bits in `shiftctrl`. Resolves micropython#6854.
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. We simply add constants to the PIO object, and set the appropriate bits in `shiftctrl`. Resolves micropython#6854. Signed-off-by: Tim Radvan <tim@tjvr.org>
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. We simply add constants to the PIO object, and set the appropriate bits in `shiftctrl`. Resolves micropython#6854. Signed-off-by: Tim Radvan <tim@tjvr.org>
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. We simply add constants to the PIO object, and set the appropriate bits in `shiftctrl`. Resolves micropython#6854. Signed-off-by: Tim Radvan <tim@tjvr.org>
Add info and link for Web Workflow /code/ page
The PIO state machines on the RP2040 have 4 word deep TX and RX FIFOs. If you only need one direction, you can "merge" them into either a single 8 word deep TX or RX FIFO. The uart_rx example does this for example.
This merging is controlled using
sm_config_set_fifo_join
:I can't see a way to set this from MicroPython; it looks like
sm_config_set_fifo_join
is never called. Is this intentional?Happy to try writing another PR if you agree we should add this. I'm not sure what the API would look like!
The text was updated successfully, but these errors were encountered: