Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8044

HATs and other add-ons • Can Not Read Adafruit DC Motor Hat EEPROM

$
0
0
I have an Adafruit DC Motor hat with a CAT24C32 EEPROM. Product ID: 2348.
I enabled i2c0 in config.txt.

Code:

> grep i2c /boot/config.txt dtparam=i2c_arm=ondtparam=i2c_vc=on
The EEPROM is connected to I2C0 and has 3V3 on pin 8.

i2cdetect -y 0 shows no devices (all --).
/proc/device-tree/hat does not exist.

With a logic probe on I2C0 SCL and SDA, the signals look Ok, like the EEPROM datasheet, except always NAK.

Code:

> i2cget 0 0x50 0 bWARNING! This program can confuse your I2C bus, cause data loss and worse!I will read from device file /dev/i2c-0, chip address 0x50, data address0x00, using read byte data.Continue? [Y/n] yError: Read failed
Am I doing something wrong?

Statistics: Posted by tomdean — Wed Feb 25, 2026 5:46 am



Viewing all articles
Browse latest Browse all 8044

Trending Articles