Question
STM32F4 SPI DMA simple question
Posted on November 28, 2016 at 17:27
Hi,
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? #spi-dma-stm32f412