Hi,
I am using a custom cc1310 module. The slave is a MCP23017 IO expander.
1. The problem with I2C I am facing is
- After some I2C transactions the bus stops working. When I checked the SDA pin it is in low logic level and SCK is high.
- I checked I2C register MSTAT: BUSBSY and IDLE bits, both are 1.
A device reset gets back i2c to work and but the above issue occurs again.
FYI, I have tried using i2c in blocking and callback mode also tried different clock, with both i am facing this same type of state in the MSTAT register.
2. Can anyone brief about I2C error handling routine. Is it about monitoring different MSTAT bits and taking some corrective measures?
SDK version: 4.10.1.01
CCS: 10.1
Board : Custom board
LF_osc configured as LF clock derived from High Frequency XOSC
I2C pullups : 2k2
Thanks in Advance.
-Titus.