USB Bulk out packet size problem

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

USB Bulk out packet size problem

跳至解决方案
1,219 次查看
eric_yp_chen
Contributor I

Hi 

I'm using rt1050 usb_device_cdc_vcom demo and trying to modify HS_CDC_VCOM_BULK_OUT_PACKET_SIZE from

64 to 2048 or larger.

It work's fine when the value is set to 1024.

After change it to 2048 , it sucked while transmit data out.

Is there any limitation ?

标签 (1)
0 项奖励
回复
1 解答
1,103 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Eric,

If you check the Table 42-58 in the reference manual you will see that the maximum packet size the endpoint is capable to receive is 1024, if you want to receive transmission greater than this value I will suggest to partition the package.pastedImage_1.png

I hope this helps you.

Best Regards,

Alexis Andalon

在原帖中查看解决方案

1 回复
1,104 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Eric,

If you check the Table 42-58 in the reference manual you will see that the maximum packet size the endpoint is capable to receive is 1024, if you want to receive transmission greater than this value I will suggest to partition the package.pastedImage_1.png

I hope this helps you.

Best Regards,

Alexis Andalon