- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.