I'm still trying to find a solution to this problem. I've made several adjustments regarding the use of the stack and now the tasks execute some interactions and crash. I've tried increasing the stack and ended up reaching an appropriate value for each thread, but there's nothing that makes the ADC work. I also noticed that in another thread that uses the ADC without DMA it doesn't work either.
If anyone can take a look at my code and suggest an alternative to the problem, it's available at https://github.com/ArvoreDosSaberes/mag ... e/freertos
I can't forget to say that when commenting on the function that does the sampling, it turns the ADC on and off, everything works. That's why I insist that the problem is in the DMA + ADC
If anyone can take a look at my code and suggest an alternative to the problem, it's available at https://github.com/ArvoreDosSaberes/mag ... e/freertos
I can't forget to say that when commenting on the function that does the sampling, it turns the ADC on and off, everything works. That's why I insist that the problem is in the DMA + ADC
Statistics: Posted by carlosdelfino — Wed Feb 26, 2025 2:32 am