STM32L072 USB
Hi all,
A USB device should pull up DP when it detects VBUS power only. This is described in the USB standards and ST AN4879 factsheet. Question 1. Is there any other (smarter) way with the STM32L072 than to monitor VBUS power on a GPIO yourself (via resistor voltage devider or active cirquit) and then toggle DPPU bit of USB_BCDR register yourself when input value of GPIO changes to implement this function? Question 2. Or is it normal to just set + leave DPPU bit high always (which implies that the device you are making is not really USB complient)? My bigger question off course is: how do I implement a complient USB device with a STML072?
Greetz & thanks,
Jan
