cancel
Showing results for 
Search instead for 
Did you mean: 

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

XZou.1
Associate II

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?

​

​

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

2 REPLIES 2
TDK
Guru

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
Associate II

:downcast_face_with_sweat: