while (1) {
if (DmaRecHalfBuffCplt == 1) {
/* Store values on Play buff */
for (int i = 0; i < 1024; i++) {
PlayBuff[2 * i] = (int16_t) SaturaLH((RecBuff[i] >> 8), -32768,
32767);
PlayBuff[(2 * i) + 1] = PlayBuff[2 * i];
}
HAL_UART_Transmit_DMA(&huar...