MSC8144E Reference Manual, Rev. 3
19-26
Freescale
Semiconductor
TDM Interface
19.2.6.3 Threshold Pointers and Interrupts
The receive data buffers share two threshold levels. The TDM notifies the SC3400 core each time
it fills the receive buffer up to a threshold level. An example use of thresholds is the
implementation of double buffering with the first threshold in the middle of a buffer and the
second at the last eight bytes of the buffer.
When the TDM receiver fills the receive buffer through the system interface to an offset defined
by the first threshold, which is the TDMxRDBFT[RDBFT] field (see page 19-59), the
TDMxRER[RFTE] bit is set. If the TDMxRIER[RFTEE] bit is also set, a first threshold interrupt
is generated. The interrupt can be generated as pulse or level, as determined by the
TDMxRIR[RFTL] bit. If the interrupt is level, the ISR should clear the TDMxRER[RFTE] bit by
writing a 1 to it. If the interrupt is pulse, then there is no need to clear the status bit. When the
interrupt is asserted in the EPIC, then the SC3400 core can read all the receive buffers from their
beginning up to the byte to which the first threshold (RDBFT) points. Meanwhile, the TDM
keeps writing new data to the second part of the buffer.
When the TDM receiver fills the receive buffer through the system interface up to an offset
defined by the second threshold, which is the TDMxRDBST[RDBST] field (see page 19-61), the
TDMxRER[RSTE] bit is set. If the TDMxRIER[RSEEE] bit is also set, a second threshold
interrupt is generated. The second threshold interrupt can generate as pulse or level, as
determined by the TDMxRIR[RSTL] bit. If the interrupt is level, the ISR should clear the
TDMxRER[RSTE] bit by writing a 1 to it. If the interrupt is pulse, there is no need to clear the
status bit. When the interrupt is asserted in the EPIC, then the SC3400 core can read all the
receive buffers up to the byte to which the second threshold (TDMxRDBST[RDBST]) points.
Meanwhile, the TDM keeps writing new data to the first part of the buffer.
The transmit data buffers also share two threshold levels. The TDM notifies the SC3400 core
each time it reads from the transmit buffer to a threshold level. When the TDM transmitter reads
the transmit buffer through the system interface to an offset defined by the first threshold, which
is the TDMxTDBFT[TDBFT] field, the TDMxTER[TFTE] bit is set. If the TDMxTIER[TFTEE]
bit is also set, a first threshold interrupt is generated. The interrupt can generate as pulse or level,
as determined by the TDMxTIR[TFTL] bit. If the interrupt is level, then the ISR should clear the
TDMxTER[TFTE] bit by writing a 1 to it. If the interrupt is pulse, there is no need to clear the
status bit. When the interrupt is asserted in the EPIC, then the SC3400 core can fill all the
transmit buffers from their beginning up to the byte to which the first threshold (TDBFT) points.
Meanwhile, the TDM continues reading new data from the second part of the buffer.
When the TDM transmitter reads the transmit buffer through the system interface up to an offset
defined by the second threshold, which is the TDMxTDBST[TDBST] field, the
TDMxTER[TSTE] bit is set. If the TDMxTEIR[TSTEE] bit is also set, a second threshold
interrupt is generated. The second threshold interrupt can generate as pulse or level, as
determined by the TDMxTIR[TSTL] bit. If the interrupt is level, the ISR should clear the
TDMxTER[TSTE] bit by writing a 1 to it. If the interrupt is pulse, then there is no need to clear
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 ...