Hi Ti,
As I know, The McASP can be initialized for separate transmit/receive sections. It can operate independently.
So if I want to receive the digital pcm from HDMI source and transmit to audio DAC soc via the same McASP interface at a time.
is it possible?
In hardware:
1. Connected Rx clock(AHCLKR, ACLKR, AFSR) for HDMI source and Tx clock(AHCLKX, ACLKX, AFSX) for audio DAC soc.
2. Configure AXR[0] as McASP Rx and connect with HDMI Dout, AXR[1] as McASP Tx and connect with DAC Din
In software:
1. Set TX_ASYNC bit in DAVINCI_MCASP_ACLKXCTL_REG
2. Create two dai link: hdmi dummy codec and DAC codec
How could I use two dai link with one McASP? any example?
Thanks a lot
BR,
Steven