ESP32 UART issue
Posted: Tue Feb 20, 2024 2:43 pm
I have a ESP32-DEVKITC-32UE board and it uses UART0 (Chan1 in Flowcode) to program via the built in USB bridge.
This works fine, but I also have a UART component in my program.
If I set that component's UART channel to anything other than chan1 (U0) - (including trying to use the software UART choice), it fails to compile/flash. This is regardless of which pins I map to TXD & RXD.
I would prefer to reserve UART0 for programming, as otherwise I'd have to keep removing zero ohm links to isolate the bridge.
My hardware requirement is to connect the UART i/o pins to another MCU - so I can't use USB.
As far as I can tell from the ESP data sheets, my ESP32 variant really does have 3 UARTs - 2 of which have default pin mappings.
Any thoughts?
This works fine, but I also have a UART component in my program.
If I set that component's UART channel to anything other than chan1 (U0) - (including trying to use the software UART choice), it fails to compile/flash. This is regardless of which pins I map to TXD & RXD.
I would prefer to reserve UART0 for programming, as otherwise I'd have to keep removing zero ohm links to isolate the bridge.
My hardware requirement is to connect the UART i/o pins to another MCU - so I can't use USB.
As far as I can tell from the ESP data sheets, my ESP32 variant really does have 3 UARTs - 2 of which have default pin mappings.
Any thoughts?