Skip to content

T-PicoC3 trying communication between RP2040 and ESP32 #9212

Discussion options

You must be logged in to vote

From this discussion, it seems that I have to use different pin numbers for UART1:

tx must be 0, 4, 8, 12...etc for uart 0, 1, 2, 3...etc
rx must be 1, 5, 9, 13...etc for uart 0, 1, 2, 3...etc

So I changed in both files. On the ESP32's side:
RP2040 = UART(1, baudrate=9600, tx=5, rx=4, cts=7, rts=6, txbuf=1024, rxbuf=1024)
and on the RP2040's side:
ESP32 = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5), cts=Pin(6), rts=Pin(7), txbuf=1024, rxbuf=1024)
(crossing rx/tx and cts/rts) but it's still not working... The display remains blue, with the "Waiting..." message.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@lesept777
Comment options

@robert-hh
Comment options

@lesept777
Comment options

@robert-hh
Comment options

@lesept777
Comment options

Answer selected by robert-hh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants