
Media Local Bus (MLB)
PXN20 Microcontroller Reference Manual, Rev. 1
27-42
Freescale Semiconductor
27.5.3
Initialize Channel
Figure 27-25. Initialize Channel
Isochronous
Determine channel direction
InitDmaBuffer(n)
ReturnDmaBuffer
InitChan(n)
ReturnInitChan
channel?
CECRn[TR]
Determinechannel type
CECRn[CT[1:0]]
Determine IO/DMA mode
CECRn[26]
Determine interrupt mask
CECRn[15:8]
Determine channel address
CECRn[CA[8:1]]
Write data to CECRn
at PBI address 0x10 + 4 * n
Determine isochronous flow control
mechanism CECRn[FSE]
Determine isochronouspacket length
CECRn[IPL[7:0]]
For DMA Mode (ping-pong buffering), the
interrupt mask bits could be set as follows:
4: 0 – Sync RX/TX
1 Control RX/TX, Async RX/TX
3: 0 – All channel types/directions
2: 0 – All channel types/directions
1: 1 – All channel types/directions
0: 1 – All channel types/directions
For DMA Mode (circular buffering), the
interrupt mask bits could be set as follows:
4: 0 – Sync RX/TX
3: 1 – Synchronous only
2: 1 – Synchronous only
1: 0 – Synchronous only
0: 0 – Synchronous only
yes
no
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...