ADC with DMA and LwIP TCP: Interrupt Conflicts
Hi everyone.
I am developing an application on STM32H723ZGT6, I am trying to connect LwIP with ADC at DMA and also an SPI.
So these three things are my main componenets that I am running on FreeRTOS.
1: At SPI I want to transmit multiple commands at 60kB/s and These commands are different and I need to toggle multiple pins after sending each command to get updated response. Thats why I am running a task at 100000 ticks per second.
2: I am fetching the response of sensor on ADC so that means I have to run ADC as faster as possible. For that reason I am driving my ADC at DMA.
3: Similarly I have to send this response on Ethernet using TCP protocol So I am running LwIP stack on third task that create TCP port bind and transmit and receive Data.
Currently, I'm encountering an issue where the SPI runs smoothly without DMA enabled. However, as soon as I enable ADC with DMA, the system halts.
Interestingly, disabling DMA interrupts allows both components to function smoothly. However, whenever I connect or disconnect the LwIP Ethernet port, the DMA stops working altogether
Following is the implementation of CubeMX.
This is NVIC Table of my current imlpementation.

Following is ADC NVIC Part

These are the task configuration of my implementation.

Any help regarding this issue will be appreciated.
