USB HID Keyboard Device Example with KL25

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB HID Keyboard Device Example with KL25

ソリューションへジャンプ
2,477件の閲覧回数
parkerweihe
Contributor I

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. 

0 件の賞賛
返信
1 解決策
2,463件の閲覧回数
ErichStyger
Specialist I

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

元の投稿で解決策を見る

3 返答(返信)
2,464件の閲覧回数
ErichStyger
Specialist I

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

2,378件の閲覧回数
parkerweihe
Contributor I

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.

2,471件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信