2025-03-05 12:49 PM - last edited on 2025-03-06 6:37 AM by Peter BENSCH
Hi everyone !
I am having problem with the I²C connection. The problem is that, normally the the SDA and SCL pins work properly (I checked it with a logic analyzer) but when I connect them to the module or sensor I use, both of them goes LOW and stay at that level. When I reset the board, the SDA goes HIGH for a really really short time and goes LOW again. I searched on the Internet for a solution but couldn't find one.
By the way, I am using STM32 H755ZI-Q Development Board and the ADS1115 ADC module.
The things that I checked and tried so far:
The wiring is correct
The code is correct (I am just using the HAL library functions)
The I²C address is correct
The module is working (at least I used it with Arduino without any problem)
I tried it with 10K Pull-Up resistors but nothing changed.
As a note, I am having this problem with an other sensor either (OV7670 camera sensor) and also I tested different copies of these sensors and modules, in a case that they can be broken. I feel like the problem is because of a fundamental thing that I missed but since I am really using the default settings and wiring, I couldn't find the reason of the problem clearly.
Do you have any idea for it ?