First off I'm new to bringing up hardware on our team. I know very little about USB or what I'm trying to do but luckily it is simple enough I don't think I'll need to know to much.
I need help finding resources or examples on creating USB HID Keyboard device using the MKL25Z64VLK4.
I have installed the USB Stack 4.1.1 and imported the components. Found the examples in the USB Components directory, but only see mouse examples.
My needs are pretty basic. I'm reading data coming in on the UART0 lines and need to forward that data out the USB HID Keyboard connection as if the keys were pressed related to the characters I'm reading.
If there are any recourses for learning the USB Device Stack, Processor Expert, or what I'm trying to do please feel free to recommend them as well.
Solved! Go to Solution.
The general recommendation is to use the MCUXpresso IDE and SDK.
But if you want to stick with the older USB stack, or even consider using Processor Expert which makes things really easy, there are several articles you might use:
https://mcuoneclipse.com/2013/08/01/using-the-frdm-kl25z-as-a-usb-mouse-device/
https://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/
https://mcuoneclipse.com/2022/05/05/installing-processor-expert-into-mcuxpresso-ide/
I hope this helps,
Erich
The general recommendation is to use the MCUXpresso IDE and SDK.
But if you want to stick with the older USB stack, or even consider using Processor Expert which makes things really easy, there are several articles you might use:
https://mcuoneclipse.com/2013/08/01/using-the-frdm-kl25z-as-a-usb-mouse-device/
https://mcuoneclipse.com/2012/10/07/tutorial-usb-cdc-with-the-kl25z-freedom-board/
https://mcuoneclipse.com/2022/05/05/installing-processor-expert-into-mcuxpresso-ide/
I hope this helps,
Erich
https://mcuoneclipse.com/2013/06/30/using-the-frdm-kl25z-as-usb-keyboard/
Just wanted to add this article as well for any of those still looking as well. As its what I ended up following for the most part.
Hi @parkerweihe ,
USB Stack 4.1.1 is really old. Please download FRDM-KL25 SDK from mcuxpresso.nxp.com. It has USB mouse example. Please also use mcuxpresso config tool to configure clock and pin. That can make your design easiler.
Regards,
Jing