Question
STM32F407 I2C INA232 Problem
- November 15, 2023
- 1 reply
- 2278 views
Hi everyone,
I am using STM32F407 to read voltage and current values from INA232 and TCA9548.
I have 8 INA232 so I used TCA9548 as I2C Switch.
I have coded as follows:
1. SET TCA9548 on Port 1
2. Read the voltage value on INA232 at port 1
The result I get is 0x00,
I think my I2C function is having problems and != HAL_OK
The return value is 0x00
I used the Oscilloscope and saw a signal on SCL and SDA.
Can you give me some suggestions to solve this problem?
Thanks everyone,



