[MQX4.1.1]: sample code needed for USB HID device Tx/Rx

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

[MQX4.1.1]: sample code needed for USB HID device Tx/Rx

556 Views
huishao2
Contributor IV

Hi-

I am working to enable USB HID on my device for simple reading and sending bytes to host on MQX 4.1.1 and k20d50m. ...looking for a starting point.

Is there a USB HID device sample code based on MQX4.1.1 or similar versions to enable not only IN endpoint but also OUT endpoint? 

Thanks!

Hui

0 Kudos
2 Replies

330 Views
huishao2
Contributor IV

Hi Sol

Thanks for your reply. I do see mouse demo under MQX4.1.1. However it seems has only IN endpoint, what I want is a demo with both IN and OUT endpoints. Can you please help on that?

Regards

Hui

0 Kudos

330 Views
soledad
NXP Employee
NXP Employee

Hello Hui,

You can find an example for USB HID device at the next path C:\Freescale\Freescale_MQX_4_1\usb\device\examples\hid\mouse

You can use it as reference.
Have a great day,
Sol

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

0 Kudos