![Infineon XDPP1100 Скачать руководство пользователя страница 527](http://html1.mh-extra.com/html/infineon/xdpp1100/xdpp1100_technical-reference-manual_2055193527.webp)
User Manual 527 of 562 V 1.0
2021-08-25
XDPP1100 technical reference manual
Digital power controller
Central processing unit subsystem
15.11
I
2
C module
The XDPP1100 includes an Inven
tra™ I
2
C (MI2CV) module.
The Inventr
a™ MI2CV provides an interface between the microprocessor and an I
2
C bus that conforms to the
Philips I
2
C Bus Protocol (April 1995 Update). It can operate in either master or slave mode. It performs
arbitration in master mode to allow it to operate in multi-master systems. In slave mode, it can interrupt the
processor when it recognizes its own 7-bit or 10-bit address or the general call address.
The Cortex®-M0 accesses I
2
C registers through the APB interface at base address 700B_0000h.
The I
2
C block diagram is shown in
Figure 121
I
2
C block diagram
15.11.1
I
2
C operating modes
The I
2
C can operate in four modes: master transmit, master receive, slave transmit, and slave receive. The I
2
C
will automatically enter slave transmit mode if it receives its own slave address and a read bit. It will similarly
enter slave receive mode if it receives either its own slave address and a write bit, or the general call address.
15.11.1.1
Status information
The state of the interface at any time is indicated by the status code recorded in the STAT register.
There are 28 status codes corresponding to the different possible states of the I
2
C, plus a further code that
indicates when no relevant status information is available.
The states reported cover all conditions from successful transmission to bus errors and loss of arbitration.
The appropriate microprocessor responses to the reported interface condition and the I
2
C actions these invoke
are detailed in the I
2
C Product Specification.
5-bit status codes (STAT register) are described in
Clock
Address[2:0]
Wdata[7:0]
VAL
RD
Rdata[7:0]
INTR
NOE
CPU
interface
Clock
divider
Controller
I/O shift
register
Bus activity
detector
Bus I/P
filter
SCL_out
SDA_out
SCL_in
SDA_in