I2C read error

Kalki123
Posts: 2
Joined: Tue Dec 12, 2017 3:40 am

I2C read error

Postby Kalki123 » Tue Dec 12, 2017 4:15 am

We have used GPIO 25 and GPIO 4 as SDA and SCL respectively. Tested separately and it's working.
We have used GPIO 21 as interrupt pin and GPIO 22 as normal GPO(LED). Tested separately and it's working. But when embedded both code into single application i am getting I2C read error.

Is there any particular bit set by default in I2C, which says GPIO 21 and 22 are I2C pins as I2C by default. Even though i am using GPIO 21 as interrupt pin(push button) and GPIO 22 as normal GPIO(LED)?

Who is online

Users browsing this forum: No registered users and 67 guests