2024-11-22 12:31 AM
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?
2024-12-25 07:35 AM - edited 2024-12-25 08:15 AM
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.