How do I get independent stereo audio output on STM32F469I-DISCO board?
I am having trouble getting independent stereo audio output on the STM32F469I-DISCO development board. I am passing data to the cirrus audio codec using the stm32469i_discovery_audio.h functions:
BSP_AUDIO_OUT_Init(OUTPUT_DEVICE_BOTH, 80, 48);
BSP_AUDIO_OUT_Play(dataI2S, (uint32_t)32);
dataI2S is an array that has my audio data which is a calculated sine wave. From what I understand, the odd indices of the array go to one side of the audio (i.e left) and the even indices go to the other side of the audio output (i.e. right). What I am seeing on the oscilloscope is that both sides display the same sine wave, just slightly shifted in time. This occurs even if I zero out the even indices of the array.
Can someone please point me in the right direction here? Please let me know if you have any additional details that you want me to provide!
