LPC55S69 SDK HID generic example --- how to send the HID packet quickly?

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

LPC55S69 SDK HID generic example --- how to send the HID packet quickly?

514 次查看
Stan2018Zhang
NXP Employee
NXP Employee


LPC55S69 SDK: Version 2.12.0. 

example program: dev_hid_generic_bm.

USB speed: High speed port is used

Platform: LPC55S69 EVK

 

This demo receives an HID packet, and immediately sends it back. When I move the send function to the main loop, and want to send something to the host from the main loop, I noticed that it can only send very slowly: no more than 2 times every 1 second.

If I increase to call the send function (in the main loop) 10 times every second, the sending will be canceled in the sending function because of "0U != hidHandle->interruptInPipeStall".

 

 

Stan2018Zhang_1-1681702949301.png

 

question is: how to let the demo progam, send HID packets at a higher requency (such as 10 or 100 times every second) in the main loop?

 

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