[Sound-open-firmware] .m4 File Request Help Needed
Hi there,
Writing this e-mail to request for SOF support in providing a .m4 file with 48kHz, TDM8, and MCLK enabled - used for Cirrus Logic CS42435. This is required as we need it as a reference to make our own modifications to enable the same configuration for another device (amplifier) that we have.
Thanks and Regards, Sanjeev Software Engineer
On 2018年06月28日 13:58, Nahulanthran, Sanjeev wrote:
Hi there,
Writing this e-mail to request for SOF support in providing a .m4 file with 48kHz, TDM8, and MCLK enabled - used for Cirrus Logic CS42435. This is required as we need it as a reference to make our own modifications to enable the same configuration for another device (amplifier) that we have.
Sorry!
Your requirement is not clear.
Which SSP port do you want to use? can you list here? (SSP0, SSP1 ...)
What about the sample width per sample? (S32_LE, S24_LE, S16_LE )
How many slot on the TDM8 you want to use? and which slot? (example slot0~slot3)
You want to use the master mode or slave mode?
Thanks ~zhigang
Thanks and Regards, Sanjeev Software Engineer
Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
On Thu, 2018-06-28 at 05:58 +0000, Nahulanthran, Sanjeev wrote:
Hi there,
Writing this e-mail to request for SOF support in providing a .m4 file with 48kHz, TDM8, and MCLK enabled - used for Cirrus Logic CS42435. This is required as we need it as a reference to make our own modifications to enable the same configuration for another device (amplifier) that we have.
Hi Sanjeev,
Please take a look at the example m4 files provided in the topology/test folder in the SOF tools repo: https://github.com/thesofproject/soft
For example to test playback, you can use test-playback.m4 and modify the DAI config to suit your needs. DAI_CONFIG is defined in the dai.m4 file and an example config is:
DAI_CONFIG(TEST_DAI_TYPE, TEST_DAI_PORT, 0, TEST_DAI_LINK_NAME, SSP_CONFIG(TEST_SSP_MODE, SSP_CLOCK(mclk, TEST_SSP_MCLK, codec_slave), SSP_CLOCK(bclk, TEST_SSP_BCLK, codec_slave), SSP_CLOCK(fsync, 48000, codec_slave), SSP_TDM(2, TEST_SSP_PHY_BITS, 3, 3), SSP_CONFIG_DATA(TEST_DAI_TYPE, TEST_DAI_PORT, TEST_SSP_DATA_BITS)))
As you can see, all the config parameters are arguments to the macro and quite self-explanatory.
If you have more questions, please feel free to contact us.
Thanks, Ranjani
Thanks and Regards, Sanjeev Software Engineer
Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
participants (3)
-
Nahulanthran, Sanjeev
-
Ranjani Sridharan
-
zhigangw