SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-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 18-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 |