2021-11-05 08:24 AM
I want to play an audio clip over i2s from Flash memory. My application is mono and a mono source will fit in flash, but not stereo, it is too big.
The HAL i2s interface does not appear to offer a mechanism to duplicate mono source bytes (16b) onto the stereo stream. Am I missing something? (STM32F411)
2021-11-09 08:50 AM
Why you dont use IT or DMA mode? Or when you plan blocking mode send one sample per call i mean FIFO buffer handle one sample send ok.
2021-11-09 08:52 AM
Looks like I need to go stereo & DMA. Seems a waste when I will discard 50% of the data.
2021-11-09 08:59 AM
One sample per call seems to work much better, thanks for the idea!