How to activate floating point for sprintf in your Low Layer based project

By defaut, a project created for Low Layer driver with STM32CubeMX use the newlib-nano C library and as direct effect, the floating point processing is removed from printf formatting function. You won't see your floating point numbers printed.Here I wrote a little tutorial about how you activate the floating point for the printf function, which … Continue reading How to activate floating point for sprintf in your Low Layer based project

TIM6 set for 1ms timer using ST Low Layer API

This is true for the STM32CubeMX 4.22.1 and STM32CubeL1 driver 1.8.0. Actually, CubeMX does not generate the complete functional code and the snippet included will serve for me as a future reference.TIM6 general timer is used as an alternative to the Systick until the Low Layer API will have the same features for the 1ms … Continue reading TIM6 set for 1ms timer using ST Low Layer API