Skip to main content
Explorer
November 22, 2024
Question

difference between SPI communication by DMA and SPI communication by BDMA.

  • November 22, 2024
  • 1 reply
  • 525 views

SPI communication by DMA and SPI communication by BDMA
We would like to confirm the difference between SPI communication by DMA and SPI communication by BDMA.
for some reason, the MISO data output (slave output) is delayed by 2 to 3 CLK in SPI communication using BDMA.

The program processing is the same, but it is not delayed by DMA, only when using BDMA.
Do you know the reason for this?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    December 25, 2024

    Hi @pass3master ,

     The delay in MISO data output using BDMA could be due to the additional latency introduced by the BDMA's access limitations and the need to remap buffers (BDMA does not have access to resources located outside the D3 domain).

    You can refer to the reference manual RM0433 for more information on BDMA, specifically section 16 Basic direct memory access controller (BDMA)

    Thank you.

    ELABI.1