SPRAD62 February 2023 F29H850TU , F29H859TU-Q1 , TMS320F280023C , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038C-Q1 , TMS320F280039C , TMS320F280039C-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Time-division multiplexing is a common method used in audio applications to transmit and receive audio data between devices in the system. In this multiplexing scheme a frame is divided into several time slots, or channels, of fixed length. Since the multiple channels separated in time are multiplexed into a single transmission channel, the multiplexing scheme is called time-division multiplexing (TDM).
The multichannel buffered serial port (McBSP) available on some C2000 real-time microcontrollers supports input and output of a single TDM stream. However, the McbSP peripheral is not available on all C2000 real-time microcontrollers. Furthermore, none of the other serial port peripherals commonly included in C2000 real-time microcontrollers support the TDM protocol.
In this example, the CLB is used to input an 8-channel TDM stream (TDM-8), and output a corresponding TDM-8 stream. The C28x CPU moves received data from the CLB FIFOs to internal RAM, and moves transmit data from RAM to the CLB FIFOs. A single CLB tile is used to implement this example. The input and output TDM-8 streams are clocked using an external 12.288 MHz clock.