Hi Experts
Can we change the length of the USB transport packet and the customer needs to change the data size to a smaller size, how can we modify it?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Experts
Can we change the length of the USB transport packet and the customer needs to change the data size to a smaller size, how can we modify it?
HI Ethan
What is the speed mode customer is using ?
Try using the high-speed or full-speed.
Regards
Diwakar
Hi Diwakar
This may not match the title of my thread. My question is whether it is possible to change the length of the transmission packet and make it smaller.
Hi Ethan
The size of the packet depends on the speed mode which you are using.
Regards
Diwakar
Hi Diwakar
Does this mean that it cannot be customized to make it smaller? Is it possible to do this at the application layer?
Hi Ethan
You might need to change that in the driver .
TI has't tested the driver with these modification.
Regards
Diwakar
I've changed the lower part of the diagram to 64, and live testing doesn't seem to have taken effect.
The device tree is configured as follows.
HI Ethan
Instead of changing in the driver have you tried changing the speed mode in the dtsi to full-speed ?
Regards
Diwakar
Hi Diwakar
My question is not about full-speed, but about how max_packet_size is set to 64 in super mode.
HI Sheng
May i know why you want to change the packet size ?
If you change the speed mode then also the packet size will change.
Regards
Diwakar
Hi Diwakar
We have a WiFi module that is connected to the tda4 via usb, but with the default configuration (WiFi is usb2.0, tda4 is usb3.0) it would lose the connection by chance while transmitting the data, when configuring the tda4 unusb1.0 the transmission was stable.
The reason for configuring the max transfer packets to 64 is to test its stability in usb3.0 mode, as we still have bandwidth requirements.
Translated with www.DeepL.com/Translator (free version)
HI Sheng
If you don't want to use the USB3.0 functionality , can we disable that from the host controller itself and just use the USB2.0?
Will that be ok for you ?
Regards
Diwakar
Hi Diwakar
The host side is usb2.0 by default. tda4 is 3.0, is it possible that configuring the tda4 side to 2.0 can improve compatibility?
HI Sheng
what do you mean by HOST here , as you said wifi module is connected to the TDA4 then what is the host.
The host side is usb2.0 by default. tda4 is 3.0, is it possible that configuring the tda4 side to 2.0 can improve compatibility?
If you want to use the USB controller of the TDA4 in the usb2.0 you can directly do that by adding the mentioned property(ti,usb2-only).
Regards
Diwakar