Hello. I am working with ESP32S3 USB virtual com port and trying to increase size of RX transfer buffer size. Right now its only 64 byte and speed of transfer is very low. I set TX buffer to 4096 and its much much more faster.
I tryed to change CDC FIFO size of TX channel, Largest size (in bytes) of transfers to/from default endpoints and .rx_unread_buf_sz
But in each tranfer it is steel only 64 bytes.
ESP32S3 USB RX issue
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32S3 USB RX issue
The USB full-speed endpoint max packet size can only be at most 64 bytes (according to the USB spec), maybe that is what you're seeing?
Re: ESP32S3 USB RX issue
But i made 4096 bytes of tx buffer size and its works fine.
Re: ESP32S3 USB RX issue
I made some tets code. And got 70 seconds for receiving 1 MB of data and 2.5 second of transferring 1 MB of data.
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32S3 USB RX issue
Can you post your code?
Who is online
Users browsing this forum: No registered users and 42 guests