Currently, we are successfully sending audio data via the McASP to a TLV320AIC3x codec using I2S. We would like to to bypass this codec and transmit data to an external peripheral using S/PDIF instead.
It's not entirely clear whether this is even possible with the AM1808 : The Tech Ref Manual implies that it is possible, but The Datasheet mentions only DIT and not S/PDIF specifically.
1 ) Could someone please confirm that the hardware does indeed support S/PDIF via McASP ?
2) What software changes are required for this ? The first, and most obvious change would be to change theop_modeto DAVINCI_MCASP_DIT_MODE in board-da850-evm.c., which would configure the McASP for S/PDIF apparently (davinci-macsp.c). Is this sufficient ?
3) Looks like we would also need to configure a new stub codec for ASLA to replace the old codec. While there is some support for this (spdif-transceiver.c) , it does seem to require more than a few modifications (to davinci-evm.c at least) . Has this ever been successfully implemented, and if so, could you point me to, or provide the code changes to do this ?
Thanks,
Craig