Loopback I2S on Audio MC board application
Posted: Fri Nov 02, 2018 2:45 pm
Hi,
I'm trying to figure out where to insert code to perform a loopback test.
In my app I have I2S_CHANS_ADC=6 and I2S_CHANS_DAC=4 and I want to take samples from the last stereo pair of my ADC:s (4,5) and copy these to last stereo pair of my DAC:s (2,3). Thus override any samples coming from the USB host for those particular channels.
So far I tried to modify the "DoSampleTransfer" funtion in audio.xc without any luck...is this the right place to do this?
I'm trying to figure out where to insert code to perform a loopback test.
In my app I have I2S_CHANS_ADC=6 and I2S_CHANS_DAC=4 and I want to take samples from the last stereo pair of my ADC:s (4,5) and copy these to last stereo pair of my DAC:s (2,3). Thus override any samples coming from the USB host for those particular channels.
So far I tried to modify the "DoSampleTransfer" funtion in audio.xc without any luck...is this the right place to do this?