How does USB reach the high speed of theory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How does USB reach the high speed of theory

600 次查看
迷足迷
Contributor I

Hello,

      I use IMX28's USB0 as a custom HID device. At the initial time, the maximum speed of transmission reaches 900KB/S. After modifying the register USBCMD's ITC, the interrupt response time is changed to the immediate response. Now the speed can reach 2MB/S, but the speed is still no more than 8MB/S. How should we do it, and continue to improve the speed?

0 项奖励
回复
2 回复数

496 次查看
joanxie
NXP TechSupport
NXP TechSupport

maybe you can set the PFSC bit (bit 24) in the PORTSC register during usb controller init and prior to setting the RS bit in the USBCMD register (start controller), the port will work in full speed only. this isn't supported current bsp, so one need to do this manually.


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
0 项奖励
回复

496 次查看
迷足迷
Contributor I

Hi Joan Xie,

    Thank you very much for your reply. The reference manual indicates that the default value of PFSC is 0, that is, USB is high speed, and if you write 1 to that bit, it will force the USB to be full speed. At the same time, through the USB analyzer capture, can be seen, PC identified imx283 development board is a high speed equipment, so there is not any other reason?

0 项奖励
回复