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.

I2S via McASP on DM8168

Hello,

We are planning to design a board based on DM8168 with the support both for I2S audio and McBSP bus for fast serial communication with peripherals.

According to the datasheet, McBSP pins are multiplexed with some McASP 0 and 2 pins. But beside I2S audio, we will also need McBSP bus for other applications.

By looking into Linux board and device files, it seems that audio device is initialized via McASP and using McASP only, while McBSP is not turned on at all in board config.

Can anyone clarify the following:

1. Does the audio on DM8168 (with the latest EZSDK) work only on McASP or is it somehow using McBSP?
2. Is it I2S-compatible audio?
3. Is it possible to use one McASP channel for audio and have McBSP bus available at the same time?

Thanks!

  • Hi Ivan,

    Ivan Todorovic said:
    Does the audio on DM8168 (with the latest EZSDK) work only on McASP or is it somehow using McBSP?

    The Audio driver works only on McASP, check http://processors.wiki.ti.com/index.php?title=TI81XX_Audio_Driver_User_Guide. The McBSP is not even enabled in the default 8168 configuration: # CONFIG_OMAP_MCBSP is not set (in .config)

    The audio encoder/decoder applications run on DSP.

    Ivan Todorovic said:
    Is it I2S-compatible audio?

    I think Yes, http://processors.wiki.ti.com/index.php?title=TI81XX_Audio_Driver_User_Guide

    The AIC31 audio module contains audio analog inputs and outputs. It is connected to the main TI81xx processor through the TDM/I2S interface (audio interface) and used to transmit and receive audio data. 

    McASP provides a full-duplex direct serial interface between the host device (DM1xx) and other audio devices in the system such as the AIC31 codec. It provides a direct interface to industry standard codecs, analog interface chips (AICs) and other serially connected A/D and D/A devices:

    • Inter-IC Sound (I2S) compliant devices
    • Pulse Code Modulation (PCM) devices
    • Time Division Multiplexed (TDM) bus devices.

    The ASoC layer is designed to address these issues and provide the following features:

    Easy I2S/PCM audio interface setup between codec and SoC. Each SoC interface and codec registers it's audio interface capabilities with the core and are subsequently matched and configured when the application hw params are known.

    Platform driver: The platform driver contains the audio dma engine and audio interface drivers (e.g. I2S, AC97, PCM) for that platform.

    Ivan Todorovic said:
    Is it possible to use one McASP channel for audio and have McBSP bus available at the same time?

    Use our pinmux tool, available at:

    ti-ezsdk_dm816x-evm_5_05_02_00/board-support/host-tools/pinmux_utils

    Regards,

    Pavel