Announcements

Equip yourself to optimize PSoc4 MCUs for Evs at the EV Webinar. Click here to register.

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

PSoC™ 4 Forum Discussions

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
10 solutions authored First comment on KBA First comment on blog

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
10 solutions authored First comment on KBA First comment on blog

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