PIO mode in Rp2040 #14446
PIO mode in Rp2040
#14446
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hardware: Raspberry Pi Pico
Software Development Environment: Micropython
Purpose: Turn on a backlight(the backlight is producing at present, so now I only have LED driver specification:https://imgur.com/MfJhHsf
)
Hello, I am a beginner, learning Micropython with Raspberry Pico.
First of all, here is the code that I wrote:
https://paste.fastmirror.net/?b668a0eab0c46f36#5JHjF2SYAfsTy49EkffwTVXDrziJhmbH6A3BHS197cvP
Here is the diagram that was tested by a logic analyzer:
https://imgur.com/UvTXN5m
And here is the way how I connected Pico with the logic analyzer:
GP10 SCK →Channel 0
GP12 MOSI →Channel 1
GP11 SCS →Channel 2
I'm trying to figure it out now:
0x20,0x40 and 0x2F,0x4F were not sent consecutively, but in two times, and now I want them to be sent consecutively (after sending 0x40, send 0x2F immediately, without creating that delay interval) I don't know how to fix it. How to modify the code?
Beta Was this translation helpful? Give feedback.
All reactions