Using XCore-200 MC Audio to convert ADAT to I2S
Posted: Wed Aug 29, 2018 11:37 pm
I want to set up my XCore-200 MC Audio to decode an ADAT input stream into an I2S output that I can listen to through one of the audio jacks. I've been trying to modify "app_usb_aud_xk_216_mc" to do this, and I'm having a bit of trouble.
My understanding so far is that the adatReceiver48000 thread is used to receive the incoming ADAT data on the c_adat_rx channel. The audio design guide talks about a way to decode the data on the channel by reading a control byte followed by 8 channels of audio data.
The audio() thread is the one that drives the I2S outputs. Is there a way to simply route the decoded ADAT samples into one of the audio outputs?
I'm very new to XCore and I don't really know what I'm doing, so I apologize for any rookie mistakes.
My understanding so far is that the adatReceiver48000 thread is used to receive the incoming ADAT data on the c_adat_rx channel. The audio design guide talks about a way to decode the data on the channel by reading a control byte followed by 8 channels of audio data.
The audio() thread is the one that drives the I2S outputs. Is there a way to simply route the decoded ADAT samples into one of the audio outputs?
I'm very new to XCore and I don't really know what I'm doing, so I apologize for any rookie mistakes.