cancel
Showing results for 
Search instead for 
Did you mean: 

Location of source for HAL_SAI_TransmitReceive_DMA for use with bi-directional audio? Listed in stm32L4xx_hal_sai.c comments, but I cannot find a version containing it.

brians
Associate II
2 REPLIES 2
Imen.D
ST Employee

Hello @Community member​ ,

The HAL_SAI_TransmitReceive_DMA function is removed from I/O operation section, also from the comments in stm32L4xx_hal_sai.c.

I recommend you to use the latest version of STM32CubeL4 MCU firmware.

I think the mention of this function in the past was a typo in the header of the file. Such a function has never been implemented in the STM32L4 and moreover it is not possible, because we cannot do Rx and Tx at the same time.

Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
brians
Associate II

Thank you. Since posting I've found that two channels on single DMA controller with linked SAI blocks can provide concurrent access AFAIK.