TWR-K40X25 TWR-K60N512 USB Keyboard on Peripheral Module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

TWR-K40X25 TWR-K60N512 USB Keyboard on Peripheral Module

跳至解决方案
1,475 次查看
Thommi_Tulpe
Contributor IV

Hello,

I need Bare Metal (without MQX) sample code for a USB Keyboard on a TWR-K40x256 or a TWR-K60N512.

I want to connect the USB Keyboard on the Peripheral Modul.

0 项奖励
回复
1 解答
1,145 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

 

Then you need the Host example:

 

\Freescale USB Stack with PHDC v3.0\Source\Host\examples\hid\keyboard

 

Best Regards,

 

Luis

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,145 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

 

Try to use USB Bare Metal stack.

 

Example in the stack demos :

 

Freescale USB Stack with PHDC v3.0\Source\Device\app\hid_keyboard\cw10\kinetis

 

You can download the Rev3.0 :

 

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MEDICALUSB&fpsp=1&tab=Design_Tools_Ta...

 

 

Best Regards,

0 项奖励
回复
1,145 次查看
Thommi_Tulpe
Contributor IV

Thank you for your request. but the demo is to emulate a keyboard.

I have to plug in a usb keybord and get the characters of the pressed keys.

I have to use a keybord and read the charakters with the Tower.

Have you got a demo were I can read from a keyboard.

Input: usb keyboard (no realised)

Output: Caracters on TWR-LCD (Console D4D) (No Problem)

 

 

Thanks

Thomas

 

0 项奖励
回复
1,146 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

 

Then you need the Host example:

 

\Freescale USB Stack with PHDC v3.0\Source\Host\examples\hid\keyboard

 

Best Regards,

 

Luis

0 项奖励
回复
1,145 次查看
Thommi_Tulpe
Contributor IV

Dear Luis,

Thank you very much - it works well :smileyhappy:

 

Best Regards

Thomas

0 项奖励
回复