rt1176 usb

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

rt1176 usb

1,700 次查看
eao
Contributor I

Hello, official website staff, I found a problem in rt1176 platform, in board_usb_device.c, line 350, function
usb_DeviceCdcAcmRecv(handle, USB_CDC__VCOM_BULK_OUT_ENDPOINT, s_currRecvBuf, g_UsbDeviceCdcVcomDicEndpoint[1].maxPackrtSize), the last one in maxpacketsize parameter, I seem to be able to modify its size, I will modify it to 2048, the usb can still be normal, but once I modify it to 10000, it seems to communicate abnormal, please ask This is why? Thanks!

0 项奖励
回复
1 回复

1,660 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @eao ,

USB FS bulk transfer size is limit to 64byte, even USB2.0 is limit to 512 byte. This is defined by the USB protocol. Please don't modify it.

 

Regards,

Jing

0 项奖励
回复