bidirectional endpoints

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

bidirectional endpoints

1,381 次查看
alexeynikolaev
Contributor I

Does "bidirectional endpoints" for K22 mean that one endpoint can be used, for example, for both BULK_IN and BULK_OUT transfers at the same time? According to SDK2.0 for K22F examples that is not the case since different endpoints assigned as USB_CDC_VCOM_DIC_BULK_IN_ENDPOINT and USB_CDC_VCOM_DIC_BULK_OUT_ENDPOINT.

Just wanted to double check since according to Endpoint Control register (USBx_ENDPTn) description an endpoint can indeed carry out bidirectional transfers.

标签 (2)
0 项奖励
回复
1 回复

1,095 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Alexey,

An endpoint is just a buffer. By USB spec bidirectional endpoints must work as IN and OUT at the same time without problems. USB stack in KSDK2.0 allows you to use the same endpoint as IN and OUT. In previous USB stacks there was a limitation that avoided the usage of such functionality, but now in the last version it was fixed.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复