where can I get demo code of K20's usb hid

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

where can I get demo code of K20's usb hid

958件の閲覧回数
molly1968
Contributor I

I 'm using mk20dn512 to develop USB HID.Where can I get demo code?..

The compilation environment is IAR.

Thx!

0 件の賞賛
返信
3 返答(返信)

866件の閲覧回数
miduo
NXP Employee
NXP Employee

Hello,

NXP provides USB Stack includes HID example application for K22.
You could download USB stack from below link:
USB Stack v4.1.1 NXP® bare metal (no OS) USB Stack 

0 件の賞賛
返信

866件の閲覧回数
mjbcswitzerland
Specialist V

Hi Rong

If you find missing support you can fall back on a turn-key solution for HID and K20s in the uTasker project (use the open source version on GitHub if you don't need support).


Kinetis K20:
- http://www.utasker.com/kinetis/FRDM-K20D50M.html
- http://www.utasker.com/kinetis/TWR-K20D50M.html
- http://www.utasker.com/kinetis/TWR-K20D72M.html
- http://www.utasker.com/kinetis/TEENSY_3.1.html
- http://www.utasker.com/kinetis/tinyK20.html

It has HID options for the typical HID classes:
#define USE_USB_HID_MOUSE                    // human interface device (mouse)
#define USE_USB_HID_KEYBOARD                 // human interface device (keyboard)
#define USE_USB_HID_RAW                      // human interface device (raw)

Link to composite device and keyboard testing: http://www.utasker.com/kinetis/USB_Device.html

Projects are included for Keil, IAR, KDS, Codewarrior, MCUXpresso, Green Hills, Rowley Crossworks, CooCox, Atollic, GCC makefile and VisualStudio simulation.

Regards

Mark

0 件の賞賛
返信

866件の閲覧回数
molly1968
Contributor I

谢谢!由于时间紧迫,希望代码不需要移植,直接能调用的没有吗?

0 件の賞賛
返信