rt1176 usb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rt1176 usb

1,687 Views
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 Kudos
Reply
1 Reply

1,647 Views
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 Kudos
Reply