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
reference
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
Nucleo headers
As this will become my online reference regarding this board, lets store some more technical details regarding the header connectors.Arduino style connectorsWell, because of the Arduino standard connector, the microcontroller pinout wirings are a mess but I'm not the one to complain, as I did the same to a couple of microcontrollers for the sake … Continue reading Nucleo headers
One Wiring language to rule them all
Finally, my Nucleo board is supported by the Arduino project (see here the core). The first effect is that the board enters in the RAD (Rapid Application Development) category of the selected Arduino compatible boards. It means also that I can test directly the TSL2591 Lux sensor (my DIY SLR film camera needs it) using … Continue reading One Wiring language to rule them all