I need to have multiple uarts, one for device comms, one for peripheral device and one for debug/programming
-
- Posts: 37
- Joined: Thu Jun 07, 2018 3:05 am
I need to have multiple uarts, one for device comms, one for peripheral device and one for debug/programming
How do i choose this with the esp-idf? Do i just set the port for the uart to whatever pin I want (with the exception of some reserved ones...)
Re: I need to have multiple uarts, one for device comms, one for peripheral device and one for debug/programming
An ESP32 has 3 UARTs available to it. UART0 is by default used for flashing and log. UARTs 1 and 2 are wide open to you. You can map the RX, TX and other pins as you desire.
See here for more info.
http://esp-idf.readthedocs.io/en/latest ... /uart.html
See here for more info.
http://esp-idf.readthedocs.io/en/latest ... /uart.html
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 37
- Joined: Thu Jun 07, 2018 3:05 am
Re: I need to have multiple uarts, one for device comms, one for peripheral device and one for debug/programming
Thanks a ton! I was getting confused as to what is on the ESP32 and what is in the WROVER32-I module I am using. I appreciate the assist.
Who is online
Users browsing this forum: No registered users and 109 guests