PIO scripts on RP2350 #17007
Unanswered
peterhinch
asked this question in
RP2040 / Pico
Replies: 1 comment 6 replies
-
You might try running my data analyzer at https://github.com/mendenm/rp2_micropython_tricks/blob/main/data_compressing_analyzer.py to see what the pins are doing. It’s quite useful to let a pico self-analyze. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have written an SPI slave using the PIO and DMA, which works on the Pico but fails on the Pico 2.
I reduced it down to the script below which simply counts clock pulses while
CS/
is low. Sending a clock withCS/
high terminates the SM (labeldone
), which places a number in the RX FIFO. A hard interrupt triggered byCS/
going high causes the data to be read - but not on RP2350 where theassert
statement bombs.Am I missing some change in the PIO design?
Beta Was this translation helpful? Give feedback.
All reactions