I also noticed that without using additional system calls, this can partially work, but only when using TX. As soon as I connect the RX, the Wi-Fi driver cannot be initialized. I am using external UART-USB adapter to test this scenario.
Here is a logs:
I (24) boot: ESP-IDF 4.4.2 2nd stage ...
Search found 3 matches
- Fri Jan 27, 2023 10:43 am
- Forum: ESP-IDF
- Topic: ESP32-S2 using USB pins as UART
- Replies: 1
- Views: 1585
- Fri Jan 20, 2023 1:11 pm
- Forum: ESP-IDF
- Topic: Can the ESP32-C3's USB-CDC port be used like a UART?
- Replies: 2
- Views: 3563
Re: Can the ESP32-C3's USB-CDC port be used like a UART?
Hi,
the datasheet say:
USB - GPIO18 and GPIO19 are USB pins. The pull-up value of a USB pin is controlled by the pin’s pull-up
value together with USB pull-up value. If any of the two pull-up values is 1, the pin’s pull-up resistor will be
enabled. The pull-up resistors of USB pins are controlled ...
the datasheet say:
USB - GPIO18 and GPIO19 are USB pins. The pull-up value of a USB pin is controlled by the pin’s pull-up
value together with USB pull-up value. If any of the two pull-up values is 1, the pin’s pull-up resistor will be
enabled. The pull-up resistors of USB pins are controlled ...
- Thu Jan 12, 2023 4:14 pm
- Forum: ESP-IDF
- Topic: ESP32-S2 using USB pins as UART
- Replies: 1
- Views: 1585
ESP32-S2 using USB pins as UART
Hello guru,
I need to use ESP32-S2 pins GPIO19 (USB_DM) and GPIO20 (USB_DP) as UART, but when I try it, the module is reboot continuously. I think is due to USB internal pin pull-up.
The ESP32-C3 datasheet it directly say that pull-up resistors of USB pins are controlled by USB_SERIAL_JTAG_DP ...
I need to use ESP32-S2 pins GPIO19 (USB_DM) and GPIO20 (USB_DP) as UART, but when I try it, the module is reboot continuously. I think is due to USB internal pin pull-up.
The ESP32-C3 datasheet it directly say that pull-up resistors of USB pins are controlled by USB_SERIAL_JTAG_DP ...