cancel
Showing results for 
Search instead for 
Did you mean: 

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

pass3master
Senior

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?

1 REPLY 1
ELABI.1
ST Employee

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

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.