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.

mcasp stereo capture

Other Parts Discussed in Thread: TLV320AIC3106

Hi,

Do I need modify the mcasp to capture stereo ?

Thanks,

Mike

  • Hi Mike,

    No, ti81xx mcasp driver does not need modification for stereo. TI81xx mcasp audio driver support only stereo mode of operations due the codec limitations used in the EVM. In EVM is used TLV320AIC3106 - Low-Power Stereo CODEC.

    processors.wiki.ti.com/.../TI81XX_PSP_AUDIO_Driver_User_Guide
    processors.wiki.ti.com/.../TI81XX_PSP_04.04.00.02_Feature_Performance_Guide

    BR
    Pavel
  • Hi,

    Thanks for the response.

    Is TDM format supported in mcasp?
    IS SND_SOC_DAIFMT_DSP_B == TDM format ?

    Thanks,
    Mike
  • Please avoid to double post.

    e2e.ti.com/.../1751750

    Regards,
    Pavel
  • mike A said:
    Is TDM format supported in mcasp?

    Yes, DM814x McASP module supports TDM. This is clearly stated in the DM814x datasheet, section 8.14 Multichannel Audio Serial Port (McASP)


    The McASP is useful for time-division multiplexed (TDM) stream, Inter-Integrated Sound (I2S) protocols, and inter-component digital audio interface transmission
    (DIT).

    The transmit section of the McASP can transmit data in either a time-division-multiplexed (TDM)
    synchronous serial format or in a digital audio interface (DIT) format where the bit stream is encoded for
    S/PDIF, AES-3, IEC-60958, CP-430 transmission. The receive section of the McASP peripheral supports
    the TDM synchronous serial format.

    The McASP module can support one transmit data format (either a TDM format or DIT format) and one
    receive format at a time. All transmit shift registers use the same format and all receive shift registers use
    the same format; however, the transmit and receive formats need not be the same. Both the transmit and
    receive sections of the McASP also support burst mode, which is useful for non-audio data (for example,
    passing control information between two devices)

    Also in DM814x TRM, chapter 16 McASP

    TDM streams from 2 to 32, and 384 time slots.

    – TDM streams from 2 to 32 time slots.
    – TDM stream of 384 time slots specifically designed for easy interface to external digital interface
    receiver (DIR) device transmitting DIR frames to McASP using the I2S protocol (one time slot for
    each DIR subframe).
    16.1.6.1 TDM Format
    The McASP transmitter and receiver support the multichannel, synchronous time-division-multiplexed
    (TDM) format via the TDM transfer mode. Within this transfer mode, a wide variety of serial data formats
    are supported, including formats compatible with devices using the Inter-Integrated Sound (I2S) protocol.
    This section briefly discusses the TDM format and the I2S protocol.


    BR
    Pavel