As every sane IDE and code generator on the face of the Earth, my generator allows the specification of an author and the license of the generated code. Now, this "author field" must be included in the general settings of the application (set once and forget), or must be something you specify on every generated … Continue reading Author name – a little bit of dilema…
Testing tool modified to support SPL
And published to github.com. The tool creates the project's folder structure, copies the SPL driver inside and creates the required files for the Visual Studio Code editor. In general it had the role to clean the rust from my pascal language knowledge. Part of the code will be implemented in my Visual Pin Configurator. Here … Continue reading Testing tool modified to support SPL
Nucleo L152RE Visual Configurator… maybe
Hmm, this should be ok as a name for my code generator and as name says, it will address only one microcontroller and one specific board (maybe Visual Configurator for Nucleo L152RE board?). It will work with the SPL v.1.3.1 from ST Microelectronics for STM32L1xx family in the limits of the license provided with the … Continue reading Nucleo L152RE Visual Configurator… maybe
ll_designer update
I'm switching to SPL libraries and the name of the designer will change in the end. Unfortunately, this means also that the development will slow down. This being said, is time for a little rant:[Rant]You won't see me programming in LL (I dropped HAL once I found LL) anymore. At the date of this article, … Continue reading ll_designer update
Low Layer Designer for Nucleo L152RE
Update 29 March, 2018: Started working at the pinout configuration for the Morpho connector, and clock configuration windows (dialogs). It goes slowly, as there are lots of controls that must be distinctly named and configured (the two right images from the pinout configuration window are just for reference, and will be removed later, and the clock … Continue reading Low Layer Designer for Nucleo L152RE
STM32 LL projects for Eclipse and TrueStudio IDEs
The following projects were made for the Low Layer driver (which is part of the HAL driver) and hosted at sourceforge.net as SVN repositories (I don't do well with git) - under linux I use RapidSVN client. In the light of the new events, I decided to convert them to the SPL driver and my … Continue reading STM32 LL projects for Eclipse and TrueStudio IDEs
What kind of I2C device is TSL2591?
The TSL2591 lux sensor is described as an I2C device in it's datasheet where you won't see detailed the communication protocol so there are some problems:- it does not work with the hardware implementation of the master I2C library;- it does not work with the software implementation of the master I2C library;- but it does … Continue reading What kind of I2C device is TSL2591?
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
A short report on my progress with LL driver
After the success with the DS18B20 temperature sensor, I started working with I2C peripheral, trying to read and set a PCF8583 real time clock but there is a catch.The only thing I used from LL driver is the initialization function generated by the CubeMX software. The other (4) functions (I2C in master mode) I got … Continue reading A short report on my progress with LL driver
Even the Low Layer Driver can get a … cold
I finished testing both applications with DS18B20 temperature sensor so both libraries, onewire and ds18b20 are working well with Low Layer API. And the compiled code is almost four times smaller. The applications are identical with the ones written for HAL API.I prepared the library for the PCF8583 real clock timer that uses the I2C … Continue reading Even the Low Layer Driver can get a … cold