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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

213 Views
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?

 

Labels (1)
0 Kudos
0 Replies