cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating a VBUS_SENSING pin on STM32L052K6U6

SHaug.1
Associate

I'm attempting to add a USB connector to my project, but my MCU lacks a "VBUS_SENSING" pin like another MCU I've been experimenting on has. Is there a way to simulate this pin? I'm using the MCU as a self-powered device

MCU: STM32L052K6U6 (UFQHPN32)

Programs: CubeMX, CubeIDE

2 REPLIES 2

Hello SHaug.1

You can refer to this FAQ " Management of VBUS sensing for USB device design" which helps you on manage of VBUS sensing.

Best Regards,

Khouloud.

Hello, Khouloud

Thank you for the reply. The software handling* is however exactly what I'm after, which the FAQ does not provide. Is there any way to get help with this?

* "However the disadvantage of this solution is that the software handling of VBUS presence event needs to be implemented by the customer, since this is not managed within our STM32 USB library for the time being."