STM32H7 timer is too slow
Hi,
I'm using STM32H755 Nucleo board and I'm trying to use TIM2 to trigger Dual ADC conversion. M7 core is running FREERTOS and M4 is bare metal. ADC is controlled by M4 core. DMA is used to transfer data to M7 and then M7 is using ethernet to transfer data further. Sampling rate of my ADC is 1.92MSPS (12bit). I try to use TIM2 to trigger ADC. This should happen with rate of 60Hz. Every 16.67ms (60Hz), I would like to collect 2x2048 samples.
For some reason my TIM2 interrupt occurs every 52ms. It sounds like my clock rate is not 200MHz as shown in .ioc, but it is 64MHz. What might explain the problem?
