AnsweredAssumed Answered

STM32F4 SPI DMA simple question

Question asked by cheng.raphael.001 on Nov 28, 2016
Latest reply on Dec 16, 2016 by S. Marsanne
I am a newbie developer on stm32 and iar.

I have a simple question about spi DMA. 

I use a stm32f412 mcu as a SPI slave device,
when the DMA controller on the stm32 mcu is starting to move data from tx buffer to spi data register(SPI->DR) and doing data transmission between master and slave device,  
will my main process(application code like main.c) continue or suspend until transmission complete?

Do I need to keep the tx buffer unwrittable in my application code while HAL_SPI_TransmitReceive_DMA() is transfering data?