Always give zero output from grove i2c

Hi, I’m trying to use 8-Channel 12-Bit ADC for Raspberry Pi (STM32F030) connected with raspberry to detect voltage. I’m using the example code from grove lib adc_8chan_12bit.py. All the channels keep giving zero results.

i2cdetect is working:
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – 08 – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --

i2cget is:
pi@raspberrypi:~ $ i2cget -y 1 0x08 1
0x00
pi@raspberrypi:~ $ i2cget -y 1 0x08 0
0x00

I have double-checked all connections even tried changing another board. But the problem always happens. And I also used a multimeter to detect the voltage, the multimeter shows correct result but the i2c still get 0:
image

What should I do now? Thank you so much for any hints.

I’m having the same problem.
Same config as Helen and same output (all zeros).
I have enabled i2c using raspi-config.
I have 2 i2c busses and have changed the sample code to reflect the correct one (Bus#1 and ADDR = 0X08).

pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 08 – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
pi@raspberrypi:~ $ i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – --
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- 3a – -- – -- –
40: – -- – -- – -- – -- – -- – -- – -- – --
50: 50 – -- – -- – -- – -- – -- – -- – -- –
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
pi@raspberrypi:~ $ i2cget -y 1 0x08 1
0x00
pi@raspberrypi:~ $ i2cget -y 1 0x08 0
0x00

Trying to read the value of 6 10k pots using on board voltage and all I get are zeros.
Pretty sure it is a config issue. All voltage values at screw terminals look correct.

One clue was the change in chip from STM32F030 to M32F031F6P6. Firmware is provided but no instruction to check or update.

I too would be appreciative of any hints.

Hello, I have submitted the application requirements. I will give you the answer after the test, it is estimated that it will take about ten days, please be patient, thank you

Hey Citric! Any Success in your testing to figure out why we are getting all zeros as an output. Thanks

Sorry, there is a new job that needs to be completed recently, I need more time to test it for you, sorry again