LPC54114: Need ROM-based USB HID Keyboard example

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

LPC54114: Need ROM-based USB HID Keyboard example

1,360 次查看
dean_sands
Contributor II

I'm working on a composite USB device that contains 4 CDC interfaces and then a single HID keyboard. The available composite HID examples in MCUExpresso for the LPCExpresso54114 are a bit hard to follow while the ROM-API-based are much easier.

Naturally, we need to move quickly in our project, and any simplification of the examples would be appreciated.

Are there perhaps other HID keyboards examples for similar chips that use the USB ROM API?

标签 (2)
标记 (3)
0 项奖励
回复
2 回复数

1,342 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @dean_sands 

According to the documentation, theres not much information regarding how to use ROM-BasedUSB HID keyboard besides the examples, we do apologize for the inconvenience.

However I was able to fin this article: 

Using ConfigTool to create USB Project From Start

This articles uses LPC55S69 for the process, however it could help you with the LPC54114.

I hope it helps.

Best Regards, Miguel.

0 项奖励
回复

1,351 次查看
ramprakash12
Contributor II

Based on the information provided, it seems you are looking for a ROM-based USB HID Keyboard example for the LPC54114. While there may not be a specific example for this exact use case, there are several resources and examples that could be adapted to suit your needs.

For instance, the LPCOpen library for the LPC1769 includes a USB composite device demo that sets up a USB composite device consisting of HID and CDC class. This example could be adapted for the LPC54114.

Another useful resource is the MCUXpresso SDK, which includes a USB mouse example. While this is not a keyboard example, the principles of setting up a USB HID device would be similar.

Finally, the LPCOpen demo code usbd_rom_dfu_composite included in lpcopen_3_02_lpcxpresso_xpresso1837 shows how to use the USBD ROM stack to create a composite USB device. This could be a useful starting point for creating a composite device that includes a HID keyboard.

Please note that creating a composite USB device that includes a HID keyboard will require a good understanding of the USB protocol and the specific requirements of your project. It may be beneficial to use a USB Sniffer to debug any issues that arise during development.

0 项奖励
回复