How to do this USB transfer?

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

How to do this USB transfer?

709 次查看
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?

标记 (1)
0 项奖励
回复
1 回复

642 次查看
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 项奖励
回复