2020-12-16 12:33 PM
Dear community,
are new to STM32CubeIDE and ARM microcontrollers.
By reading the documentation available on the ST website, I was able to perform a large part of the application that I would like to create.
My project involves the construction of an acquirer with clock synchronized with GPS and PPS, sampling with high temporal precision.
Currently I was able to read the data from GPS,
started following the AN4759 guide for smooth calibration:
TIMER3 set so as to reset TIMER2 COUNTER every 32 PPS events (as suggested by the documentation on RTC AN4759). Unfortunately I can't take the next step. In other words, give TIMER2 the same clock as the RTC and then adjust the value in the calibration register.
How can I give the RTC clock to TIMER2?
Has anyone made something similar to take inspiration from for this board or microcontroller?
Any attempt made leads me to the same result, I get that the TIMER2 is connected to the system clock at 84MHz.
Greetings
Giuvi Giuva