Curious discovery - quite high data transfer rates can by achieved by connecting ESP32-S2 and ESP32-C3 USB ports directly to PC USB ports (at least a Microsoft Surface Laptop). A four-port ESP32-S2 pixel controller that I've designed reaches about a 450,000 Byte/Second transfer rate from that laptop, which is high enough to support 3000 pixels at 40 fps. The reason that it can go this fast is two-fold: the speed is not limited by the capabilities of most external USB->serial chips, and there is no need to slow things down by sending Start/Stop bits over the USB link.
Somewhat useless because of the standard distance limitation of USB cables and by the need for a PC, but there you have it.
Edit - the controller worked fine with a borrowed USB extender and 50 feet of CAT-5 cable.
Could you incoparate as RS232 extender for more distance or just use a 2nd usb extender?
I've tried a USB extender, as mentioned above, and it works. As far as RS232 extender, no, as RS232 is too slow by quite a bit. If you meant RS485 (or RS422 extender), that would work, although the data source on the PC would need to run at 4.5Mbaud to support 3000 pixels. One of the benefits of using a direct USB-to-USB connection or USB extender is that the baud rate doesn't need to specified, as the transfer speed is determined by how fast the processors involved can transfer data to/from the USB hardware and (potentially) by the size of the driver and controller FIFOs. In the test that I mentioned above the baudrates were specified at 2Mbaud, but the actual data transfer rate was almost twice that speed.
Good news, Phil!
And it turns out that not all dev boards behave the same with respect to the USB port. I have a ESP32-C3-DevkitC-02 that dosn't work with my firmware/software, while the xiao ESP32-C3 does. The dev boards have visibly different ESP modules soldered on, the former board has an ESP-C3-WROOM-02, the latter is physically smaller and just says ESP32-C3.
too many cooks in the dev board kitchen...
