I've decided, Low Layer Driver it is. So, I am in the middle of porting my libraries to LL. Just finished checking the LCD4 library, and decided to make a code size comparison between the APIs (HAL and LL).The application is a "Hello World" type, testing the functionality of the library, with the main function … Continue reading Alea iacta est
Month: September 2017
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
First success with the libopencm3 library
Obvious, the first thing to try using both a new board and a new library is to blink a LED. But there were a couple of issues. 1. The first thing I had to solve, was properly setting the clock of my board in order to have a functional microseconds delay function. The libopencm3_examples project … Continue reading First success with the libopencm3 library
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