#24lc32a i2c issues

1 messages ยท Page 1 of 1 (latest)

deft scarab
#

Hi all, first time here, please be gentle... ๐Ÿ™‚
Trying to interface a bare DIL 24lc32a with a Trinket M0. i2c.scan() only picks it up every now and then:
โ€‹โ€‹I2C addresses found: [] I2C addresses found: [] I2C addresses found: [] I2C addresses found: [] I2C addresses found: [] I2C addresses found: [] I2C addresses found: ['0x50'] I2C addresses found: []โ€‹โ€‹

#

Then, when trying to connect the driver, I get:

Traceback (most recent call last):
  File "code.py", line 49, in <module>
  File "adafruit_24lc32.py", line 240, in __init__
  File "/lib/adafruit_bus_device/i2c_device.py", line 61, in __init__
  File "/lib/adafruit_bus_device/i2c_device.py", line 183, in __probe_for_device
ValueError: No I2C device at address: 0x50
deft scarab
#

Could it be a faulty chip, wrong circuit, or...?

gray copper
#

Do you have correct pull up resistors on the SDA and SDL lines?

deft scarab
#

Yes I do. The other peripherals (ssd1306, mcp23017) on the same bus work well. Additionally, I figured out that once I connect an ssd1306 device to the bus, the 24lc32 gets picked up too. When I disconnect the clock pin of the ssd1306 the board loses the 24lc32 too. Tried with a Trinket M0 and a Feather M4 Express, same behavior.