Solved
SPI DMA Correct Implementation
Hi, I am trying to use DMA in my project for SPI and noticed there are 2 type definitions as below:-
SPI_HandleTypeDef hspi1;
DMA_HandleTypeDef hdma_spi1_tx;
Which one do I need to use for SPI transmission as I am having problems using 'hspi1' as below:-
HAL_SPI_Transmit_DMA(&hspi1, "Test",sizeof"Test");
HAL_SPI_Transmit_DMA(&hdma_spi1_tx, "Test",sizeof"Test");
I just wasn't sure which handle was the correct to use...
