I2C with two slaves cause timeout

Posts: 4
Joined: Wed Feb 28, 2018 12:20 am

I2C with two slaves cause timeout

Postby superpaulo » Mon Apr 16, 2018 4:04 pm


I'm using an SSD1306 (0x3C) as screen in I2C and the Adafruit Motor Driver v2.3 (0x60) to control steppers.
Each one works fine when only one is connected on the I2C bus, but when both are connected, no one works (both get time out apparently).
I tried to enable and disable internal pull-up resistors or adding 10kOhm, then 3.3kOhm, but nothing make them to work together.
I use these libraries :
https://github.com/yanbe/ssd1306-esp-idf-i2c and https://github.com/ShellAddicted/AFMSv2ESP32
When i use an i2c scanner, the two devices are detected with good addresses, but an other device is detected at 0x70.

Do you have an idea why they don't work together and any solution please ?

Thank you,

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 28 guests