Operating System
Windows 11
Arduino IDE version
framework-arduinoespressif32 @ 3.3.0
Board
esp32s3
ArduinoCore version
3
TinyUSB Library version
3.7.4
Sketch as ATTACHED TXT
usb_hid = new Adafruit_USBD_HID(desc_hid_report, sizeof(desc_hid_report), HID_ITF_PROTOCOL_NONE, 2, false); }
// Begin USB HID and Serial communication, handle device enumeration
void begin(){
TinyUSBDevice.begin(); // Start USB stack
usb_hid->begin(); // Start HID interface immediately after
Serial.begin(115200); // Serial init (optional)
while (!Serial) delay(10); // Wait for CDC if needed
while (!TinyUSBDevice.mounted()) delay(10); // Wait for mount
Compiled Log as ATTACHED TXT
log.txt
What happened ?
I want to use USB as CDC, so that I can send HID and use Serial. It works with 3.7.1. but not with newer versions (e.g. 3.7.4)
Havent had a chance to check if it works with e.g. 3.7.2
It seems like the device can send serial but does not receive it. That means, when you send data from PC over serial to ESP32, it does not see it. Or at least tinyusb stack doesnt. Does not matter if youenable DTR or not.
How to reproduce ?
- Use the snippet I provided
- Use tinyusb library v3.7.4
- Flash the esp32s3
- try to send message from PC
- esp32s3 reception part should be blocked
Debug Log as ATTACHED TXT
No response
Screenshots
No response
I have checked existing issues, pr, discussion and documentation
Operating System
Windows 11
Arduino IDE version
framework-arduinoespressif32 @ 3.3.0
Board
esp32s3
ArduinoCore version
3
TinyUSB Library version
3.7.4
Sketch as ATTACHED TXT
usb_hid = new Adafruit_USBD_HID(desc_hid_report, sizeof(desc_hid_report), HID_ITF_PROTOCOL_NONE, 2, false); }Compiled Log as ATTACHED TXT
log.txt
What happened ?
I want to use USB as CDC, so that I can send HID and use Serial. It works with 3.7.1. but not with newer versions (e.g. 3.7.4)
Havent had a chance to check if it works with e.g. 3.7.2
It seems like the device can send serial but does not receive it. That means, when you send data from PC over serial to ESP32, it does not see it. Or at least tinyusb stack doesnt. Does not matter if youenable DTR or not.
How to reproduce ?
Debug Log as ATTACHED TXT
No response
Screenshots
No response
I have checked existing issues, pr, discussion and documentation