LPC54114: Need ROM-based USB HID Keyboard example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54114: Need ROM-based USB HID Keyboard example

1,354 Views
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?

Labels (2)
Tags (3)
0 Kudos
Reply
2 Replies

1,336 Views
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 Kudos
Reply

1,345 Views
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 Kudos
Reply