
27.3.3 Slave Mode
The LPI2C slave logic operates independently from the master logic to perform all slave
mode transfers on the I2C bus.
27.3.3.1 Address Match
The LPI2C slave can be configured to match one of two addresses using either 7-bit or
10-bit addressing modes for each address, or to match a range of addresses in either 7-bit
or 10-bit addressing modes. Separately, it can be configured to match the General Call
Address or the SMBus Alert Address and generate appropriate flags. The LPI2C slave
can also be configured to detect the high speed mode master code and to disable the
digital filters and output valid delay time until the next STOP condition is detected.
Once a valid address is matched, the LPI2C slave will automatically perform slave-
transmit or slave-receive transfers until a NACK is detected (unless IGNACK is set), a
bit error is detected (the LPI2C slave is driving SDA, but a different value is sampled), or
a (repeated) START or STOP condition is detected.
27.3.3.2 Transmit and Receive
The transmit and receive data registers are double buffered and only update during a
slave-transmit and slave-receive transfer respectively. The slave address that was
received can be configured to be read from either the receive data register (for example,
when using DMA to transfer data) or from the address status register. The transmit data
register can be configured to only request data once a slave-transmit transfer is detected
or to request new data whenever the transmit data register is empty.
The transmit data register should only be written when the transmit data flag is set. The
receive data register should only be read when the received data flag is set (or the address
valid flag is set and RXCFG=1). The address status register should only be read when the
address valid flag is set.
27.3.3.3 Clock Stretching
The LPI2C slave supports many configurable options for when clock stretching is
performed. The following conditions can be configured to perform clock stretching.
• During 9th clock pulse of address byte and address valid flag is set.
• During 9th clock pulse of slave-transmit transfer and transmit data flag is set.
• During 9th clock pulse of slave-receive transfer and receive data flag is set.
Functional description
K32 L2A Reference Manual, Rev. 2, 01/2020
738
NXP Semiconductors
Содержание 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...