English
Language : 

PXD20RM Datasheet, PDF (922/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
25.6.2 DMA application information
The DMA interface on the I2C is not completely autonomous and requires intervention from the CPU to
start and to terminate the frame transfer. DMA mode is only valid for Master transmit and Master receive
modes. Software must ensure that the IBCR[DMAEN] bit is not set when the I2C module is configured in
master mode.
The DMA controller must only transfer one byte of data per Tx/Rx request. This is because there is no
FIFO on the I2C block.
The CPU should also keep the I2C interrupt enabled during a DMA transfer to detect the arbitration lost
condition and take action to recover from this situation. The IBCR[DMAEN] bit works as a disable for the
transfer complete interrupt. This means that during normal transfers (no errors) there will always be either
an interrupt or a request to the DMA controller, depending on the setting of the DMAEN bit. All error
conditions will trigger an interrupt and require CPU intervention. The address match condition will not
occur in DMA mode as the I2C should never be configured for slave operation.
25-26
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor