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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-05 8:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-07 8:07 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 12:45 AM
Thank you. Since posting I've found that two channels on single DMA controller with linked SAI blocks can provide concurrent access AFAIK.
