This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to detect if USB device is connected?

Does anyone know how I can detect if my USB device is connected to a Host or not?

Thx
Steven

Parents
  • A little feedback from my side:
    I used the same design with the same diode as the eval board and after I changed the ESD diode to an other with a additional diode on Vusb and voila it works because the problem was that the USB D+ was keept high from the STM32f and was feeding its own detection line PA9.

    Thx all for your help and hints

Reply
  • A little feedback from my side:
    I used the same design with the same diode as the eval board and after I changed the ESD diode to an other with a additional diode on Vusb and voila it works because the problem was that the USB D+ was keept high from the STM32f and was feeding its own detection line PA9.

    Thx all for your help and hints

Children