Hi!
I was able to setup the i2secho example to play a short audio sample from a buffer. The issue I'm having is that the sample data is for a single channel (mono) while the I2S driver is configured for 2 channels (stereo). I tried changing that configuration with the following addition:
i2sParams.numChannels = 1; i2sHandle = I2S_open(Board_I2S0, &i2sParams);
But there is no change in how the data comes out of the I2S bus. I'm expecting channel 1 to have data while channel 2 should be at 0, but instead the data stream is constant and the frame selection keeps toggling, meaning only every other sample is getting to each one of the channels. I'm using a constant 800Hz pulse so it's easy to follow the signal. Here is what I get with any of both settings:
Thanks in advance!
Dan