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 Interface with DM365

Hi,

I have query on MCBSP I2S interface of DM365.I am a new bee in I2S.

I have an codec ,which is having I2S interface and also HDMI audio which is also I2S interface.

In my application Audio codec is an input to DM365 and HDMI audio is an output

MCBSP have DX and DR for transmit and receive data line.

My question is can I configure my DM365 as master and Transmitter/Receiver

and connect the DR line to the I2S data out audio codec and DX line to the I2S data in of HDMI .

 

Will this work .Is there any better option of doing this with DM365

 

Regards,

 

Arun

 

  • Arun,

    Yes the Mcbsp can be the Master for xmiter/rcver, and that should be a good option for you. In addition, here's an old  c6x mcbsp I2S application note that is very good.

    http://focus.ti.com/lit/an/spra595/spra595.pdf 

    regards,

    miguel

     

  • Migule,

     

    Thank you for your reply.My concern is that I2S devices are two different devices,one is an HDMI transmitter Ic for which i need to give audio data from DM365 through I2S

    and the other is an audio codec which receive audio in data from a mic/device.Configuring DM365 as Master and tX/Rx ,we can have single Clock as CLKX and sync FSX for both transmit and receive.

    If the sample frequency of  audio is different then would it affect the bit clock frequency.

    Connecting two different I2S slave devices to single I2S master is advisable.

    What are the consideration that must be taken care in both hardware and software

    Regards,

     

    Arun

     

  • Arun,

    If the bit clock frequency and the frame sync frequency of the transmit and receive slave devices are different then you can not use the clock generated by the internal clock generator since the McBSP can only generate one clock frequency being used by both the transmitter and receiver.  

    Thanks and regards,

    Tai