Help needed: Setting UART pins on Pico W #13259
Replies: 1 comment
-
Looking at https://github.com/raspberrypi/pico-sdk/blob/6a7db34ff63345a7badec79ebea3aaef1712f374/src/boards/include/boards/pico_w.h and the pinout diagram I see that UART0 defaults to GP0 and GP1, but I do not see any defined for UART1. When I do not specify any pin in the uart object, I expect to not receive any data on any UART1-capable pins but I observed that GP5 is still able to receive the packets. Is there something I am missing out on?
Tried the above with 2 wires connecting GP0 to GP5 and GP1 to GP4. Have resetted my Pico but am still able to send and receive data on UART0 and UART1. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am new to MP and RPi in general so I apologise in advance if my question seems elementary.
I am trying to grab/send data from a FlySky receiver using UART1 on GP8 and GP9 of the Pico W. I have modified some code I obtained from penguintutor for the iBUS protocol.
When I wire up the receiver to GP9, I do not receive anything but when wiring up to GP5, I am able to obtain the data even though I specified rx=Pin(9).
Additional information:
I am using VS Code with the MP extension and the Pico is connected to my PC via a micro USB cable. I am running the code without uploading to the Pico.
Beta Was this translation helpful? Give feedback.
All reactions