Skip to main content
XZou.1
Associate II
November 25, 2020
Solved

How to Use SPI_DMA to transfer data and do not use interrupts

  • November 25, 2020
  • 2 replies
  • 825 views

I used SPI_DMA to transfer data by function HAL_SPI_TransmitReceive_DMA()。It is OK。

​

I find it used interrupt. and it can be not changed to uninterrupted mode.

Now I hope not ​ use interrupt, how do I?

​

​

This topic has been closed for replies.
Best answer by TDK

HAL isn't set up to use DMA functions without interrupts. You'll need to create your own driver for this.

2 replies

TDK
TDKBest answer
November 25, 2020

HAL isn't set up to use DMA functions without interrupts. You'll need to create your own driver for this.

"If you feel a post has answered your question, please click ""Accept as Solution""."
XZou.1
XZou.1Author
Associate II
December 9, 2020

:downcast_face_with_sweat: