Nested interrupts - STM32F7
Hi,
I am trying to configure the STM32F7 to work with a Timer and a SPI to transfer data using DMA.
The idea is to use the TIM6 to trigger the SPI so I start the SPI data transmission inside the timer interrupt handler (HAL_TIM_PeriodElapsedCallback) and wait for the SPI transmission complete interrupt there.
After some test I found that the SPI transmission complete interrupt is not working and the problem seems to be the nested interrupts (SPI inside the TIM6 handler).
How should I configure the NVIC to make nested interrupts work?
Thanks in advanced,
Omar
#timer #interrups #nvic #stm32f7 #spi #dma