I2C SCL stuck low due to nak

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
nigac_4016096
Level 1
Level 1

HI,

I am using PSOC 4200 (CY8C4247LQI-BL483), where I2C SCL line is stuck low due to the nak bit received. I2C lines are pulled up using 4.7Kohm.

CY8C4247LQI-BL483
0 Likes
1 Solution
Panometric
Level 5
Level 5
100 sign-ins 100 replies posted 10 solutions authored

This is a common problem in I2C. The external device is holding SDA low, because it is out of sync. You need to manually clock it until it releases the bus. The solution is to temporarily set the IOs back to GPIO, then manually clock it until it releases.  My solution is here:

Correct way to reset I2C SCB and recover stuck bus?

You will need to adapt it to use your pins.

View solution in original post

0 Likes
1 Reply
Panometric
Level 5
Level 5
100 sign-ins 100 replies posted 10 solutions authored

This is a common problem in I2C. The external device is holding SDA low, because it is out of sync. You need to manually clock it until it releases the bus. The solution is to temporarily set the IOs back to GPIO, then manually clock it until it releases.  My solution is here:

Correct way to reset I2C SCB and recover stuck bus?

You will need to adapt it to use your pins.

0 Likes