2019-08-06 04:16 AM
Hello everyone,
I'm having really hard times using timers in my project. I am using STM32F401RE with CubeMX and AC6 as workbench. Let's go in order: i have some ADC conversions to perform that are triggered by timer firing, then the converted values are transferred in a buffer with DMA. I also need 3 other timers to generate interrupts at different timing intervals, in my case 20Hz, 1Hz and 1/60Hz. I noticed some, at least for my knowledge, very strange issues, that are:
So my doubt is that MX_DMA_Init() creates some problems in my code but I cannot realize what, where and why.
I'm attaching some code, well note that in my project there are many other source files, If you think that some of them may cause this failure I wil post it.