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

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