USB Bulk out packet size problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB Bulk out packet size problem

ソリューションへジャンプ
1,401件の閲覧回数
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,285件の閲覧回数
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,286件の閲覧回数
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