
Inter-Integrated Circuit Bus Controller Module (I
2
C)
PXN20 Microcontroller Reference Manual, Rev. 1
32-24
Freescale Semiconductor
system back into a ready-for-I
2
C-transfer state. The advantage over the two other solutions is that
this does not require CPU intervention or a second DMA channel. This comes at the cost of 64
bytes RAM (two TCDs), some system bus transfer overhead, and a little increase in application
code complexity. On the system level, no higher priority DMA requests must occur during the
scatter-gather process because those can result in a slow reaction.
Example latencies for a 32 MHz system with a full speed 32-bit AHB bus and an I
2
C connected via half
speed IPI bus:
•
Accessing the I
2
C from the DMA controller via IPI bus typically requires four cycles (consecutive
accesses to the I
2
C could be faster):
4 x T
IPI
= 4 / 16 MHz = 250 ns
Eqn. 32-6
•
Reloading a new TCD (8
32 bit) via AHB to the DMA controller (scatter/gather process):
8 x T
AHB
= 8 / 32 MHz = 250 ns
Eqn. 32-7
With the DMA scatter-gather process, the required IBCR access can be done in 0.5
s, leaving a large
margin of 19.5
s for additional system delays. The slow reaction case can be prevented in this way. The
system user must decide which usage model suits his overall requirements best.
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...