
• START or Repeated START condition with address byte and expecting ACK or
NACK.
• Transmit data (this is the default for zero extended byte writes to the transmit FIFO).
• Receive 1-256 bytes of data (can also be configured to discard receive data and not
store in receive FIFO).
• STOP condition (can also be configured to send STOP condition when transmit FIFO
is empty).
Multiple transmit and receive commands can be inserted between the START condition
and STOP conditon, transmit and receive commands must not be interleaved in order to
comply with the I2C specification. The receive data command and the receive data and
discard command can be interleaved to ensure only the desired received data is stored in
the receive FIFO (or compared with the data match logic).
The LPI2C master supports 10-bit addressing through a (repeated) START condition,
followed by a transmit byte with the second address byte, followed by any number of
data bytes with the master-transmit data.
A START or Repeated START condition that is expecting a NACK (for example, hs-
mode master code) must be followed by a STOP or (repeated) START condition.
27.3.2.2 Master Operation
Whenever the LPI2C is enabled, it monitors the I2C bus to detect when the I2C bus is
idle (MSR[BBF]). The I2C bus is no longer considered idle if either SCL or SDA are low
and becomes idle if a STOP condition is detected or if a bus idle timeout is detected (as
configured by MCFGR2[BUSIDLE]). Once the I2C bus is idle, the transmit FIFO is not
empty, and the host request is either asserted or disabled, then the LPI2C master will
initiate a transfer on the I2C bus. This involves the following steps:
• Wait the bus idle time equal to (MCCR0[CLKLO] + 1) multiplied by the prescaler.
• Transmit a START condition and address byte using the timing configuration in
MCCR0, if a high speed mode transfer is configured then timing configuration from
MCCR1 is used instead.
• Perform master-transmit or master-receive transfers, as configured by the transmit
FIFO.
• Transmit a Repeated START or STOP condition as configured by the transmit FIFO
and/or MCFGR1[AUTOSTOP]. A repeated START can change which timing
configuration register is used.
Chapter 27 Low Power Inter-Integrated Circuit (LPI2C)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
733
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...