cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U575VIT6Q I2C interface with LIS2HH12TR is not stable

bhagawanAI
Associate

Hi ST Team,
We are using an MCU “STM32U575VIT6Q” and we have connected an ST accelerometer (LIS2HH12TR) to the MCU via an I2C interface. Our schematic design (accelerometer) section is attached. Out of 5 boards we built, accelerometer I2C interface is working only on 2 boards. On remaining 3 boards, accelerometer is not working.
On all the 3 non-working boards, the code stuck in a loop “waiting for TXIS flag to be set”.
We are not sure if this is an accelerometer issue or an ST MCU I2C issue. We are using PB6 and PB7 for the I2C interface.
While looking at some ST community post, it was mentioned that some STM32 devices has a similar TXIS flag bit set issue and to overcome it, we have to follow some additional configurations. Is that applicable for STM32U575 device as well?
Is there any know issues with some STM32U575 MCU?

2 REPLIES 2
Aime
ST Employee

Hi @bhagawanAI ,

Thank you for sharing it. Find the last erratasheet file with all the known issues on STM32U575/85 devices.
Also can you share with me the links of the community posts related to this issue?

 

Thanks
Aime

 

 

As an experiment can you remove your U7, the I2C bus expander?