-
Notifications
You must be signed in to change notification settings - Fork 2
RP2350 pioasm .fifo putget configuration description #437
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
Perhaps the apparent inconsistency between TXGET (in the SDK) and RX_GET (in the PIO hardware registers) is because the SDK is looking at things from the system-side, where it transmits data to the FIFO; whereas the PIO hardware registers are looking at things from the PIO-side, where it receives data from the FIFO? |
Possibly (but then maybe put and get need also to be exchanged?). In the RP2350 datasheet, there is |
Yeah, looks like there might have been a bit of a mix-up and this should probably have been |
Maybe the frequency of all-caps words in the docs could help to detect such instances (but of course nowadays AI could probably be directed to do such). |
Just to keep things nicely interlinked, see also raspberrypi/pico-sdk#242 |
Uh oh!
There was an error while loading. Please reload this page.
In the pioasm documentation of the pico-series C/C++ SDK, and of the RP2350 datasheet as well, it looks like the entry
putget
for directive.fifo <fifo_config>
should be something like•
putget
: 4 FIFO entries for TX, and 4 FIFO entries in common formov rxfifo[index], isr
aka put andmov osr, rxfifo[index]
aka get.instead of
•putget
: 4 FIFO entries formov rxfifo[index], isr
aka put, and 4 FIFO entries formov osr, rxfifo[index]
aka get.It would probably also be helpful if the association between the constants used for pioasm, SDK defines, and hardware register defines, could be clarified somewhere, since the three different sections don't include all the same details (note, for example, that TXGET [presumably from TX-FIFO+RX-GET] corresponds to RX_GET [presumably from RX-FIFO-used-for-GET]):
It would also be nice to have the pioasm directives section of the RP2040 datasheet updated to SDK 2.1.
The text was updated successfully, but these errors were encountered: