Hi,
Q1.
How to configure DM365 McBSP as master?
If any reference code available on the web please point me to the link.
Q2.
is davinci-i2s.c supports DM365 McBSP as master?
Thank you, Sreedhar.
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.
Hi,
Q1.
How to configure DM365 McBSP as master?
If any reference code available on the web please point me to the link.
Q2.
is davinci-i2s.c supports DM365 McBSP as master?
Thank you, Sreedhar.
Hi,
Looking at the code, I feel that support for Master mode is already present, but we have never tested it.
Regards, Sudhakar
Dear Sudhakar,
Yes i verified that McBSP Master mode.
I am able to generate the clocks.
I have few clarifications regarding the input clock to the McBSP.
Suppose if we choose the Sysclk4 to be the input to the McBSP.
Sysclk4 = CPU/4 ( because PLL_DIV value is 0x8003)
Is it possible to generate the exact WS and Bit Clocks with DM365 as Master ranging from 8 - 48 kHz.
Thank you, Sreedhar.
Hi Sreedhar,
You can use the below formula to calculate the sample rate:
sample_rate = clkrate / (CLKGDV + 1) * (Bits_Per_Frame)
Clkrate is the input clock to McBSP, CLKGDV is the 8 bit field in SRGR register and Bits_Per_Frame will be normally 32.
Regards, Sudhakar