Aim : To achieve simple request/response communication using ESP32C3's USB Serial/JTAG Controller.
Example: I will connect ESP32C3's USB Serial/JTAG Controller lines to PC's USB port then from PC I will send any message using Serial Terminal and then I need to receive it in code and perform Actions.
How can I receive/send data in code using espidf?
How to use ESP32C3's USB Serial/JTAG Controller for bidirectional communication
-
- Posts: 2
- Joined: Thu Sep 26, 2024 8:19 am
Re: How to use ESP32C3's USB Serial/JTAG Controller for bidirectional communication
I would suggest you to use the USB CDC-ACM (Communication Device Class - Abstract Control Model) feature. The USB Serial/JTAG Controller allows serial communication directly through the USB port without the need for external USB-to-UART chips, and you can handle this in your ESP-IDF application using standard serial communication functions. I hope that will help.
-
- Posts: 1750
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Who is online
Users browsing this forum: No registered users and 73 guests