This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM1860: How to configure PCM1860 to support TDM format

Part Number: PCM1860
Other Parts Discussed in Thread: PCM1862

Hi Champs,

According to PCM1860 datasheet, it should support TDM audio format. Is there any software or procedure example shows how to configure PCM1860 to support TDM format?

Another question is that can PCM1860 support 8-ch TDM or 6-ch TDM is the maximum?

Please advise your idea if any, thanks in advance.

Best regards,

Luke

  • Hi, Luke, 

    The PCM1860 only supports I²S or Left-Justified audio formats; TDM audio format is only supported by the software-controlled devices of the PCM186x family of audio ADCs. I would recommend you to take a look to the PCM1862 if TDM format is required in your system.

    Regards,

    -Diego Meléndez López
    Audio Applications Engineer

  • Hi Diego,

    Thanks for your information. If we take PCM1862 as an example, do you have any software sample code or any detailed document to demo how to configure PCM1862 to output TDM format?
    According to datasheet, 6-ch TDM is the maximum capability PCM186x can support, right?

    Regards,
    Luke
  • Hi, Luke,

    Please refer to below script for an example of TDM configuration on the PCM1862. Detailed information for each register can be found in the datasheet of the device. 

    Register 0x00, 0x00 //Select Page 0
    Register 0x0b, 0x07 //set TDM mode, 24-bit Slots
    Register 0x0c, 0x02 //2 Channel TDM mode ( for PCM1862)
    Register 0x0D, 0x00 //Set offset for each TDM slot (24, 48, 72, etc for 24-bit slots)

    The PCM1862 only supports two channels per device, but as TDM requires a BCLK of 256×Fs, up to ten channels of 24 bits of data can be used in a system. 

    Regards,

    -Diego Meléndez López
    Audio Applications Engineer