Topic: - DMA in SPI using stm32l452re nucleo board.
1. currently i am using spi to transfer data from a sensor to the mcu. for enabling dma in it do i have to just enable the dma request in ".ioc file", or what changes do i need to make in the main.c
Topic: - DMA in SPI using stm32l452re nucleo board.
1. currently i am using spi to transfer data from a sensor to the mcu. for enabling dma in it do i have to just enable the dma request in ".ioc file", or what changes do i need to make in the main.c
When DMA is used, the MX_DMA_Init shall always be called before any other HAL_***_Init (where *** is any peripheral with a HW dependency on DMA init code).
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks