question

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

question

779 次查看
milan021
Contributor I

Hello,

I have microcontroller LPC5512JBD100E on my board, I have to check if the USB cable is connected with the board, and to have feedback from the controller about that. Which software do I need to have and how to do it ?

Best regards,

Milan

0 项奖励
回复
1 回复

755 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the LPC5512 has one full-speed USB, which can function as both device and host.

We provide USB stack in SDK package, you can download SDK package from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

You can select the USB class example in SDK USB example for example CDC, MSC...

From hardware perspective, when the USB of LPC5512 functions as a device, when a USB cable is inserted, an USB interrupt will be fired on LPC5512 side, the host can communicate with the device and exchange the descriptor inf.

Hope it can help you

BR

XiangJun

0 项奖励
回复