lpcware

LPC2388 - Can I use a GPIO instead of VBUS to detect the presence of a USB host?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by wwwenrico on Thu Apr 14 07:11:17 MST 2016
Hello,


I designed a board, based on the LPC2388, with an USB device interface.



The VBUS (pin P1.30) is used as an ADC and not as a VBUS detector.



QUESTION 1
Can I use a GPIO pin to detect the status of the VBUS?



QUESTION 2
Which software corrections I have to do to Keil HID demo program?



Thanks,
Enrico Migliore

Outcomes