User Activity

On a STM32L4 I've successfully developed a FreeRTOS tickless method using LSI driving LPTIMx at 32Khz with wfi Sleep mode in spite of the restrictions on the LP timers. Tick timing while not perfect is reasonably accurate and more than sufficient fo...
In many of the STM32 processors having LPTIMx timers the CNT register is read only and there is no explicit reset which will clear the CNT register. The following is an undocumented hack which will accomplish the equivalent of a reset of the CNT reg...
In looking at various LPTIM training documentation it's indicated very clearly that the LPTIMERs have a CNT reset as a function of setting bit 4 of the CR register. As this is an important capability, there seems to be a number of reference document...
Using CubeMX to implement USB CDC on a self powered STM32462 with VUSB connected via PA9 via a resistor divider for automatic bus detection. I have confirmed that I have 3.3V on PA9 when VUSB connected and 0V when it's not. The USB class is CDC and w...
I'm using a STM32L462 in a self powered application. I have no problem communication as a USB serial device (CDC Mode). This is a battery powered device with charger on board. No problems there either. No problems detecting Vusb via a GPIO input por...
Kudos from