Can you disable the USB (UART) RESET via RTS on ESP32S3 or C3
Can you disable the USB (UART) RESET via RTS on ESP32S3 or C3
Hello everyone, so I'm working on a project with an ESP32C3 that has a USB CDC virtual COM port connection, and I'm currently having an issue where with the web serialport JS library I get a "USB (UART) RESET" when I disconnect from the serialport, from my research I've determined this is because the serialport is messing with the RTS signals, which is in theory wrong, but I genuinely can't change that aspect, so ideally I need to change the behaviour on the ESP32. And that's where I've hit up against a big hurdle, from what I've found this behaviour of resettting via RTS is hardwired on the ESP32C3, so that's a bust for my project, the other option for a SoC that I could use would be the S2 or S3, is it possible to disable this behaviour of resetting with RTS on the S2 and S3?
Re: Can you disable the USB (UART) RESET via RTS on ESP32S3 or C3
You can change the behaviour of anything that uses the USB-OTG peripheral, like the -S3. (Iirc just use tinyusb cdc-acm and 'support' for RTS reset should go away by itself.) You can disable reset on the USB-serial-JTAG device, but only in the later chips, if memory serves in the -C6 and later.
Re: Can you disable the USB (UART) RESET via RTS on ESP32S3 or C3
Alright, thank you for the reply, I tested with the ESP32-S3 and yeah, just changing to TinyUSB fixes the issue by dropping the whole CDC-ACM RTS behaviour. Changing over to the C6 doesn't really help my case sadly cause in the end it still involves replacing the basic project and layout of the board, so I'd be better off just upgrading to the S3, if only I knew this behaviour was something you couldn't opt out of and I would have used the S3 from the get-go, we had actually considered the S3 right at the start, but decided against it cause we already have the C3 being used in another product so it'd be better for logistical purposes.
Who is online
Users browsing this forum: Barkrowler, Semrush [Bot] and 3 guests
