STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

x-cube-mems1 package SPI

I have ASM330LHH, LIS3MDL and LIS2DH12 mems sensors. I want to read data with spi communication using the x-cube-mems1 package. There are sample codes with I2C and bsp, but I don't know how to do this with spi. Can anyone help me to obtain roll pitch...

Resolved! I2C detect repeated start condition

Hi!I'm creating an i2c-slave using a stm32g0-series. There are two types of messages that need to be supported, a write-then-read, and a write-only.The write-then-read starts with a write-message of a register address of the slave device (1 byte). Th...

sigmuha by Associate II
  • 921 Views
  • 4 replies
  • 2 kudos

STM32U545 I2C HAL weirdness

Hi.I'm working on a project using I2C on the U545, and I've noticed that all the HAL_I2C_Slave_* functions include the following:/* Enable Address Acknowledge */hi2c->Instance->CR2 &= ~I2C_CR2_NACK;However, the STM32U5 Reference manual states that wr...