
Inter-Integrated Circuit Bus Controller Module (I
2
C)
PXN20 Microcontroller Reference Manual, Rev. 1
32-22
Freescale Semiconductor
Figure 32-15. Flowchart of DMA Mode Master Receive
32.5.2.3
Exiting DMA Mode, System Requirement Considerations
As described above, the final transfers of both Tx and Rx transfers need to be managed via interrupt by the
CPU. To change from DMA to interrupt driven transfers in the I
2
C module, disable the DMAEN bit in the
IBCR register. The trigger to exit the DMA mode is that the programmed DMA transfer control descriptor
(TCD) has completed all its transfers to/from the I
2
C module.
Config I
2
C for
Master TX
interrupt
generated
Arb Lost or
No ack?
CPU handles
condition
yes
no
CPU sets TX/RX
to RX
CPU: dummy
CPU sets
DMAENABLE
read of DATAreg
DMA reads byte
ipd_rx_req
generated
of data
Slave TX one
byte of data
DMA read
data?
(n-2) bytes of
no
yes
CPU clears
DMA enable
Slave TX n-1
data byte
interrupt
generated
CPU reads n-1
data
CPU sets
TXACK
Slave TX last
data byte
interrupt
generated
CPU reads last
data byte
Stop
generated
Start
Generated
CPU writes calling
address to slave
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...