AnsweredAssumed Answered

Check whether USB host is connected or not

Question asked by Gianluca Panetta on Sep 27, 2019
Latest reply on Oct 1, 2019 by Victor Jimenez

Hi,

 

I use a i.MX RT105x microcontroller with USB OTG configured as Virtual COM Port device.

How can I detect in my application whether my PC is connected to the uC or not?

Is there a way to read the state of the VBUS pin (without connecting it to a GPIO)?

 

Thanks.

Outcomes