Skip to main content
Visitor II
February 10, 2020
Question

Try to use SAI(i2s) to record in DMA Mode, but fail on STM32L476RG-Nucleo board

  • February 10, 2020
  • 0 replies
  • 1336 views

Hi All,

Attachment is SAI in DMA mode source code generate from CubeMX, but the code doesn't works. DMA interrupt in this code can't be trigger so no data receive from SAI.

  • I can run demo code SAI_AudioPlay on STM32L476 Nucleo board, it works.
  • I can receive data in SAI blocking mode ( HAL_SAI_Receive() ), but get nothing in DMA mode ( HAL_SAI_Receive_DMA() )

SAI is i2s Master mode and audio signal come form Audio Precision PISA-2722. Where needs to be fixed?

Thanks!

    This topic has been closed for replies.