SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
Software Reset Considerations
A Software reset can be executed by setting the RESETASSERT bit together with the KEY bit in the I2Cx.RSTCTL register. We recommend issues a reset only after terminating a transaction.
Hardware Reset Considerations
A hardware reset also initializes the IO configuration. This sets the IOs to a high-impedance state and with the external pullup resistors for I2C the lines pulled high.
Table 13-14 shows the behavior of status bits when Controller or Target gets disabled.Register | Bit | Behavior When Controller Disabled | Behavior When Target Disabled | Behavior After Controller/Target Enabled |
---|---|---|---|---|
I2Cx.MSR | Busy | Reset State | Don’t care | updates Start condition sending |
ERR | Reset State | Don’t care | updates on next event detected | |
ADRACK | Reset State | Don’t care | updates on next event detected | |
DATACK | Reset State | Don’t care | updates on next event detected | |
ARBLST | Reset State | Don’t care | updates on next event detected | |
IDLE | Reset State | Don’t care | updates on next event detected | |
BUSBSY | Reset State | Don’t care | updates on next Start detected on bus (or SDA or SCL is low) | |
CLKTO | Reset State | Don’t care | updates on next event detected | |
MBCNT | Reset State | Don’t care | updates on next event detected | |
I2Cx.MCLKOCNT | CLKCNT | Reset State | Don’t care | updates with Controller enable when SCL is high |
I2Cx.MBMON | SCL | Reset State | Don’t care | updates with Controller enable |
SDA | Reset State | Don’t care | updates with Controller enable |
Register | Bit | Behavior When Controller Disabled | Behavior When Target Disabled | Behavior After Controller/Target Enabled |
---|---|---|---|---|
I2Cx.SSR | RREQ | Don’t care | Reset State | updates on next event detected |
TREQ | Don’t care | Reset State | updates on next event detected | |
OAR2SEL | Don’t care | Reset State | updates on next event detected | |
QCMDST | Don’t care | Reset State | updates on next event detected | |
QCMDRW | Don’t care | Reset State | updates on next event detected | |
I2Cx.SFIFOSR | RXFIFOCNT | Don’t care | Unchanged | updates on FIFO access |
TXFIFOCNT | Don’t care | Unchanged | updates on FIFO access |