MSC8144E Reference Manual, Rev. 3
19-34
Freescale
Semiconductor
TDM Interface
3.
Fill the sync data in all the TDM receive local memory.
The received data is stored in 256 entries of 8 bytes each located in the addresses between
0x0000–0x07FF. This memory contains 1, 2, 4, 8, 16, or 32 indexed buffers, starting at 0.
Each buffer contains multiple frames. The number of buffers used to store the received
data is indicated in the RNB field of the TDMx Receive number of Buffers Register
(TDMxRNB) (see page 19-68). Channel C in buffer B is the 8 bytes starting at
(256 / (RNB + 1)
×
B + C)
×
8. (Refer to Section 19.2.3, TDM Data Structures, on page
19-13 for details)
4.
Fill the sync data in all the TDM transmit local memory.
Transmit data is located in the TDM local memory before it is transmitted externally. The
data is stored in 256 8-byte entries in addresses between 0x1800–0x27FF. This memory
can contain 1, 2, 4, 8, 16, or 32 indexed buffers starting at 0. Each buffer contains multiple
frames. The number of buffers used to store the transmitted data is indicated in the TNB
field of the TDMx Transmitter Number of Buffers Register (TDMxTNB). Channel C in
buffer B is the 8 bytes starting at (256/(TNB+1)
×
B+C)
×
8.
5.
Clear the TDMxRER and TDMxTER event registers by writing a value of 0xF to each
of them.
6.
Set the TDMxRCR[REN] bit and/or the TDMxTCR[TEN] bit.
19.7 TDM Programming Model
The handshake between the TDM module and the SC3400 core occurs via a set of registers, data
structures in the memory, and interrupts. All TDM registers are mapped into the CCSR address
space. See Chapter 9, Memory Map for details on CCSR addressing. There are eight modules
(TDM 0–7), each with its own region in the CCSR address space. Within the module address
space, the area is divided into spaces for configuration registers, control registers, and status
registers as follows:
Configuration registers. Set the operation modes and provide indications for all channels.
They are set before the TDM is enabled and should not be changed while the TDM is
active.
Control registers. Set the channel specific parameters individually for each channel and
the threshold pointers. These registers can be changed during operation.
Status registers. Read-only registers that can be accessed any time.
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...