37.5.2 I2CxCON1
Note:
- Software writes to ACKDT must be followed by a minimum SDA setup time before clearing CSTR.
- A NACK may still be generated by hardware when bus errors are present as indicated by the I2CxSTAT1 or I2CxERR registers.
- This bit can only be set when
CSD =
1
. - If SCL is high (SCL =
1
) when this bit is set, the current clock pulse will complete (SCL =0
) with the proper SCL/SDA timing required for a valid Stop condition; any data in the transmit or receive shift registers will be lost.
Name: | I2CxCON1 |
Offset: | 0x0295 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ACKCNT | ACKDT | ACKSTAT | ACKT | P | RXO | TXU | CSD | ||
Access | R/W | R/W | R | R | R/S/HC | R/W/HS | R/W/HS | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – ACKCNT Acknowledge End of Count(2)
Value | Name | Description |
---|---|---|
1 |
I2CxCNT =
0 |
Not Acknowledge (NACK) copied to SDA output |
0 |
I2CxCNT =
0 |
Acknowledge (ACK) copied to SDA output |
Bit 6 – ACKDT Acknowledge Data(1,2)
Value | Name | Description |
---|---|---|
1 |
Matching received address | Not Acknowledge (NACK) copied to SDA output |
0 |
Matching received address | Acknowledge (ACK) copied to SDA output |
1 |
I2CxCNT !=
0 |
Not Acknowledge (NACK) copied to SDA output |
0 |
I2CxCNT !=
0 |
Acknowledge (ACK) copied to SDA output |
Bit 5 – ACKSTAT Acknowledge Status (Transmission only)
Value | Description |
---|---|
1 |
Acknowledge was not received for the most recent transaction |
0 |
Acknowledge was received for the most recent transaction |
Bit 4 – ACKT Acknowledge Time Status
Value | Description |
---|---|
1 |
Indicates that the bus is in an Acknowledge sequence, set on the 8th falling SCL edge |
0 |
Not in an Acknowledge sequence, cleared on the 9th rising SCL edge |
Bit 3 – P Host Stop(4)
Value | Name | Description |
---|---|---|
1 | MMA =
1 |
Initiate a Stop condition |
0 | MMA = 1 |
Cleared by hardware after sending Stop |