cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446 - STM32U5A5 I2C Problem?

inancmert
Associate II

Hello,

I’m using a CAT24C32-D EEPROM. It works on our STM32F446-based PCB, but I can’t get it to work on our STM32U5A5-based PCB. I’m encountering both write and read errors. I’m using the same driver/library on both MCUs, and the hardware is identical except for the MCU itself.

What could be causing this? Why am I seeing these issues on the STM32U5A5 while the STM32F446 works fine? Any help would be appreciated.

1 REPLY 1
TDK
Super User

You probably have a code bug. You should debug your program to find the source of the issue. Consider using a logic analyzer on the SDA and SCL lines to confirm what is happening on the bus.

If you feel a post has answered your question, please click "Accept as Solution".