Question
SAI with blocking mode
Hello,
I have this code
// Initialiser le bloc A
fresult= HAL_SAI_Init(&hsai_BlockA1);
if (fresult != HAL_OK)
{
return HAL_ERROR;
}
// Initialiser le bloc B
fresult= HAL_SAI_Init(&hsai_BlockB1);
if (fresult != HAL_OK)
{
return HAL_ERROR;
}
// Transmission
fresult = HAL_SAI_Transmit(&hsai_BlockB1, (uint8_t *)playbuf, (sizeof(playbuf))/4, 0xFF);
if (fresult != HAL_OK)
{
return HAL_ERROR;
}
// Reception
fresult = HAL_SAI_Receive(&hsai_BlockA1, (uint8_t *)playbuf_RX, (sizeof(playbuf_RX))/4, 0xFF);
if (fresult != HAL_OK)
{
return HAL_ERROR;
}
I am not receiving some of the data, do you know where I can find the documentation to implement SAI blocking mode? thanks in advance.

In my reception array I have only a part of data, and yet my TX table is well initialized like this :

