-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPi5 GPS offset issues #21
Comments
i do not own a RPi5 - i can not do any suggestions for that.
does the graph of if you use the script/settings without changes, then only
if you modified the script / settings so that all time sources can be selected (by removing |
Thank you for your reply and inputs! I forgot to attach the PSM0 values, but yes, those are even worse.. These are the typical RPi5 values over a 24h period on any given day - note the Y axis values which are in hundreds of milliseconds: Whereas RPi4 is typically something like this - Y axis is in microseconds: Similarly, PPS0 graphs: I didn't change the script settings except for the GPS0 offset value of 0.200 which is what I use on RPi4. Of course, I tried a few different values with RPi5 but nothing here really makes any sense because of the erratic behavior of the offset.
|
where is your GPS/GNSS antenna? i am on the ground floor and surrounded from high buildings and per day it happens that there are not enough satellites in view for a fix and the PPS signal drops at that time
you can record the GPS data with this python script: set let it run fpr at least 24h. then look for periods where your gps has no 3D fix: if all not giving a hint what can be improved, then i guess it maybe really an issue of RPi5 of maybe the used RasPiOS |
I'm relatively high off the ground and the antenna has a pretty good view of the sky (with some minor reflections). More importantly it doesn't move or change in any way between RPi5 tests and RPi4. I only have one GNSS module, so even that didn't change :-) This is the general satellite availability I'm getting: (edit, forgot that I have Fix-type and DOP graphs as well) Fix-type (basically always Dilution of precision: btw. I have a spare RPi5 that I can send your way. Interested? |
what ?! wait a moment... seriously ? BTW: the RRDTOOL is new to me. how to use it to create the graphs like you did? |
I cannot take your offer. It's too costly or risky for you. You maybe will not getting it back. PS: i deleted you comment with the eMail address to protect you from spams. |
@vukpm , consider re-installing a fresh version of raspberry pi OS, lite version, 64 bit, and follow this recipe: https://github.com/tiagofreire-pt/rpi_uputronics_stratum1_chrony @beta-tester , feel free to take some tips and ideas from the tutorial above. |
let me know if the tutorial gives better results. |
@tiagofreire-pt
@beta-tester |
Hi,
I realize that this has been somewhat mentioned in the previous two issues (#19 & #20) but it's inconclusive (to me at least) if anything can be done here, or is it totally a RPi 5 hardware / firmware issue.
GPS0 offset values are making the RPi5 totally unusable for the task - offset is all over the place with values going up to +/- 2 Sec(!). Which is a shame, as I was planning to use the PTP features of the new board..
I tested this on two different RPi5s boards (with 4 GB of RAM) and the results are the same.
Previously, the same NEO-M8T GNSS module setup on RPi4 consistently gets +/- 5ms offset values on average.
Both RPi4 and RPi5 are dedicated for the NTP service and are not doing anything else (99.9% of the time). I also keep the CPU clock frequency fixed (1.5Ghz on RPi5; 1.2Ghz on RPi4) to minimize power fluctuations and possible interference. Once booted and warmed-up, the temperature of the units stays within 1*C.
Many thanks in advance for your inputs!
Vuk
The text was updated successfully, but these errors were encountered: