![Infineon XDPP1100 Скачать руководство пользователя страница 533](http://html1.mh-extra.com/html/infineon/xdpp1100/xdpp1100_technical-reference-manual_2055193533.webp)
User Manual 533 of 562 V 1.0
2021-08-25
XDPP1100 technical reference manual
Digital power controller
Central processing unit subsystem
When all bytes have been received, a not ACK should be transmitted, then the STP bit should be set by writing a
“
1
”
to this bit in the CNTR register. The I
2
C will transmit a STOP condition, clear the STP bit and return to idle
state (status code F8h).
15.11.1.4
Slave transmit
In slave transmit mode, a number of bytes are transmitted to a master receiver. For the I
2
C to respond, the AAK
bit in the CNTR register needs to be set.
The I
2
C will enter slave transmit mode when it receives its own slave address and a read bit after a START
condition. The I
2
C will then transmit an acknowledge bit and set the IFLG bit in the CNTR register. The STAT
register will contain the status code A8h.
Where the I
2
C has an extended slave address (signified by 11110b in ADDR[7:3]), it will first be selected, then
there will be a restart followed by another address byte. If this address byte matches the value stored in ADDR,
the I
2
C will transmit an acknowledge after this address byte is received. An interrupt will be generated, IFLG will
be set and the status will be A8h. No second address byte will be sent by the master: it is up to the slave to
remember that it was selected prior to the restart.
Slave transmit mode can also be entered directly from a master mode if arbitration is lost in master mode
during the transmission of an address and the slave address and read bit are received. The status code in the
STAT register will then be B0h.
The data byte to be transmitted should then be loaded into the DATA register and IFLG cleared. When the I
2
C
has transmitted the byte and received an acknowledge, IFLG will be set and the STAT register will contain B8h.
Once the last byte to be transmitted has been loaded into the DATA register, the AAK bit should be cleared
when IFLG is cleared. After the last byte has been transmitted, IFLG will be set and the STAT register will contain
C8h. The I
2
C will then return to idle state (status code F8h). The AAK bit must be set to
“
1
”
before slave mode
can be entered again.
If no acknowledge is received after transmitting a byte, IFLG will be set and the STAT register will contain C0h.
The MI2CV will then return to idle state.
If the STOP condition is detected after an acknowledge bit, the MI2CV will return to idle state.
15.11.1.5
Slave receive
In slave receive mode, a number of data bytes are received from a master transmitter.
The I
2
C will enter slave receive mode when it receives its own slave address and a write bit (LSB = 0) after a
START condition. The I
2
C will then transmit an acknowledge bit and set the IFLG bit in the CNTR register: the
STAT register will then contain status code 60h. The I
2
C will also enter slave receive mode when it receives the
general call address 00h (if the GCE bit in the ADDR register is set). The status code will then be 70h.
Where the I
2
C has an extended slave address (signified by 11110b in ADDR[7:3]), it will transmit an acknowledge
after the first address byte is received but no interrupt will be generated, IFLG will not be set and the status will
not change. Only after the second address byte has been received will the I
2
C generate an interrupt, set the IFLG
bit and the status code as described above.
Slave receive mode can also be entered directly from a master mode if arbitration is lost in master mode during
the transmission of an address and the slave address and write bit (or the general call address if bit GCE in the
ADDR register is set to
“
1
”
) are received. The status code in the STAT register will then be 68h if the slave