How to do this USB transfer?

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

How to do this USB transfer?

538 Views
sforsajith
Contributor I

STTAS.jpgI have a I I have scenario that,

When receiving data through UART (LPC1768) ,same time the data is displayed in the notepad(opened in PC) through USB.

How can I implement this?

I am using LPC1768  micro controller

Figure(as given)

For example,

The data received by LPC1768  is employee id,at the same time data should displayed in PC.

How can program LPC1768 as a USB HID device?

Tags (1)
0 Kudos
1 Reply

471 Views
soledad
NXP Employee
NXP Employee

Hi, 

I suggest to use LPCOpen, LPCOpen is an extensive collection of free software libraries (drivers and middleware) and example programs that enable developers to create multifunctional products based on LPC microcontrollers. 

You can download it from the following link: 

https://www.nxp.com/support/developer-resources/microcontrollers-developer-resources/lpcopen-librari...

After download it, please check the USB to UART bridge example (usbd_lib_cdc_uart), the example shows how to us USBD LIB stack to creates a USB to UART converter port.

I hope this helps, 

Regards

Soledad

0 Kudos