cancel
Showing results for 
Search instead for 
Did you mean: 

I want to create a highly accurate GPS time synchronizer.

xkamail
Associate

Option 1:

- Use a 10MHz Timepulse signal from the GPS (Ublox M8N) and connect it to the STM32H7.

- The STM32H7 will count the timer from 0 to 999999.

- To determine when the second has passed and the NMEA signal arrives, check the next timer overflow, which will indicate the exact second.

 

Option 2:

- Use a 1Hz Timepulse signal from the GPS and synchronize the time with the same as option 1.

 

I prefer a 10MHz or higher frequency Timepulse signal because I want to use it to trigger the Timer. This will trigger the ADC, ensuring that the ADC aligns with the GPS clock every 1us.

1 REPLY 1
Sarra.S
ST Employee

Hello @xkamail

I would expect you went with option 1 using a higher frequency, are there any updates or challenges with the timer configuration, ADC alignment,..? 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.