I'm trying to test Dolby Digital AC-3 5.1 decoder module from Analog on my ADSP-21469 EZ board.
I would decode a real AC-3 stream: for this I'm using the S/PDIF I connected the audio output of a DVD reader (5.1 raw format).
S/PDIF receiver is routed to SPORT0A:
// from S/PDIF IN connector
// sync and data to SPORT0
What I expect to find is the S/PDIF header frame (I have not the IEC 61937 standard, but I found essential info on the web)
+ sync1 = 0xF872
+ sync2 = 0x4E1F
+ type (AC3, DTS, ...)
+ len in bytes
Wich SPORT0 mode should I use?
I tried different configurations (using DMA), but the data do not seem to get correct.
Does anyone have any suggestions?