User Activity

I have a STM32l053R8x on a nucleo board which runs the GPIO example toggle program in HAL examples. I have developed my own board with STM32L053R8Tx and I am able to program it, erase it (I say this since I get Programming done and verify Ok and Eras...
My code to write directly to registers for I2C communication between Lis3dh accelerometer and STM32L053R8T6 is not working. Only CMSIS drivers are used. Could you give some suggestions. [I am looking to learn the basics of STM32 and have tried HAL d...
I have added the code written in HAL for I2C communication between I2C 2 of STM32L053R8T6 and LIs3dh accelerometer to receive whoami register. doesn't seem to be able to receive any data from the accelerometer.#include "stm32l0xx.h"#include "stm32l0x...
I am more of a assembly guy. So I have problem in understanding the functionality of I2C control registers. It would be helpful if you could provide an outline or a pseudocode as how to write to a register or how to read from a register ? How to writ...