LPC5528 USB_DEVICE_CONFIG_ENDPOINTS value

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

LPC5528 USB_DEVICE_CONFIG_ENDPOINTS value

737件の閲覧回数
tks11111
Contributor II

Hi,

I have a small question about the USB_DEVICE_CONFIG_ENDPOINTS value setting. From the comment in the code, I can see that it might be the value of how many endpoints are supported in the stack.

However, from the content in USB_DeviceInitEndpoint and USB_DeviceInit, I think the value should be the maximum logical endpoint index we need in the project.

Which one is correct?

And if I only have two endpoints, which are endpoint 3 in and out, should I set USB_DEVICE_CONFIG_ENDPOINTS to 4 (maximum logical endpoint index + 1)?

Thanks.

 

BR,

Peter 

ラベル(2)
0 件の賞賛
返信
1 返信

656件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

Full-Speed (FS) USB device supports 10 physical endpoints and High-Speed (HS) USB device supports 12 physical endpoints. You could refer to Table 763. Fixed endpoint configuration and Table 831. Fixed endpoint configuration from user manual for more detail.

Have a nice day!

0 件の賞賛
返信