20.4.11 I2Cx Status Register

Note:
  1. Cleared by any Stop detected on the bus. Cleared by I2CxSTAT2.BSCLTO or I2CxSTAT.BCL conditions. Cleared by any address match failure in 10-bit Addressing mode. Cleared by any address match failure following a Restart detect. Cleared when NACK is either received or transmitted to client. Cleared when client goes to IDLE after ACK/NACK CRC byte.
  2. Cleared when BCL is set. Cleared when Stop is sent. Cleared for I2CxSTAT2.BSCLTO condition, after the host successfully sends a STOP condition.
  3. It is the user’s responsibility to make sure the EOP = ”0” to start new packet transmission.
  4. ERRF is combined Error Status bit of I2CxSTAT2.BSCLTO + I2CxSTAT2.CBCTO + I2CxSTAT2.HBCTO + I2CxSTAT2.FRAME + I2CxSTAT2.CRC + I2CxSTAT1.BCL + I2CxSTAT2.NACKE.
Table 20-12. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: I2CxSTAT2
Offset: 0x18A8, 0x18F8

Bit 3130292827262524 
 SSPNDCLTACTHSTACT   HSBCLEOP 
Access R/HS/HCR/HS/HCR/HS/HCR/C/HSR/C/HS 
Reset 00000 
Bit 2322212019181716 
 BSCLTOHBCLTOCBCLTOBITOFRMENACKE CRC 
Access R/C/HSR/C/HSR/C/HSR/C/HSR/C/HSR/C/HSR/C/HS 
Reset 0000000 
Bit 15141312111098 
 STOPESTARTEHSTIFCLTIFERR    
Access R/C/HSR/HSCR/HSCR/C/HSCR/C/HSC 
Reset 00000 
Bit 76543210 
     SCLCNT[3:0] 
Access R/W/HSR/W/HSR/W/HSR/W/HS 
Reset 0000 

Bit 31 – SSPND  I2C Suspended bit

During a host transaction, I2C bus activity is suspended to allow the user to service the I2C interrupt. During a client transaction, the SCL line is pulled low to clock stretch until the user services the I2C interrupt.
ValueDescription
1

The I2C is in a suspended state

0

The I2C is not in a suspended state

Bit 30 – CLTACT Client State Machine Active Status bit

ValueDescription
1

Set after the eighth falling SCL edge of a received matching client address

0

Client is idle(1)

Bit 29 – HSTACT Host State Machine Active Status bit

ValueDescription
1Host mode state machine is active; set when host state machine asserts a Start on bus

Under these conditions, the host function is enabled and a START/RESTART condition is sent on the I2C bus followed by data from the transmit buffer.

0Host is Idle(2)

Bit 25 – HSBCL Host Stop Bus Collision Detect Flag bit

ValueDescription
1

Host Stop Bus Collision is detected

0

Host Stop Bus Collision is not detected

Bit 24 – EOP  End-of-Packet Flag bit(3)

ValueDescription
1End of packet condition detected
0End of packet condition not detected

Bit 23 – BSCLTO Bus SCL Time-out Flag bit

ValueDescription
1SCL Bus Time-out occurred
0

SCL Bus Time-out has not occurred

Bit 22 – HBCLTO Host Bus Cumulative Extended Time-out Flag bit

ValueDescription
1Host Bus Cumulative Extended Time-out occurred
0Host Bus Cumulative Time-out has not occurred

Bit 21 – CBCLTO Client Bus Cumulative Extended Time-out Flag bit

ValueDescription
1Client Bus Cumulative Extended Time-out occurred
0

Client Bus Cumulative Extended Time-out has not occurred

Bit 20 – BITO Bus Idle Time-out Flag bit

ValueDescription
1Bus Idle Time-out occurred
0Bus Idle Time-out has not occurred

Bit 19 – FRME Frame Error Detect Flag bit

ValueDescription
1Frame error detected in Client mode, STOP or START is received during the data byte transfer or data ACK transfer time
0Frame error has not been detected in Client mode

Bit 18 – NACKE NACK Detect Error Flag bit

ValueDescription
1NACK detected as an Error
0

NACK has not been detected as an Error

Bit 16 – CRC CRC Error Flag bit

ValueDescription
1CRC Error occurred
0

CRC Error has not occurred

Bit 15 – STOPE Stop Condition Detect Event flag bit

ValueDescription
1

Stop Condition detected

0

Stop Condition has not been detected

Bit 14 – STARTE Start Condition Detect Event Flag bit

ValueDescription
1Start Condition event detected
0 Start Condition event not detected

Bit 13 – HSTIF Host Detect Interrupt Flag bit

ValueDescription
1

Host interrupt detected

0

Host interrupt not detected

Bit 12 – CLTIF Client Detect Interrupt Flag bit

ValueDescription
1Client interrupt detected
0

Client interrupt not detected

Bit 11 – ERR  Error Detect Flag bit(4)

ValueDescription
1

Error is detected

0

Error is not detected

Bits 3:0 – SCLCNT[3:0] SCL Count bits

Number of SCL clocks to be stored for Frame Error