Skip to content
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

Frequency error / not using GPS reference #1

Open
thomasabbott opened this issue Dec 29, 2023 · 1 comment
Open

Frequency error / not using GPS reference #1

thomasabbott opened this issue Dec 29, 2023 · 1 comment

Comments

@thomasabbott
Copy link

thomasabbott commented Dec 29, 2023

Thanks for the v1.1 .uf2, I tried it today.

I have connected a GPS but see no frequency correction.

SETFREQ 10000000
Frequency (measured) stays at 10 000 014.3 (error of 1.4 ppm)
Slightly sensitive to temperature and/or touching the crystal. Even with some careful averaging, against an accurate reference, I can't see any frequency change from turning the GPS on and off.
Stated frequency is always:

Working freq: 10000000 Hz + 0 milliHz

so it looks like the GPS correction is not being applied to the pio dco.

GPS NMEA is connected to Pico board pin 2, RP2040 GPIO1 (UART0 Rx)
GPS PPS is connected to Pico board pin 5, RP2040 GPIO3.
Both seem to be working, so I don't think it's related to this.

Could this come from a ppb / ppt mixup. STATUS reports
GPS frequency correction 1446430 ppb
is the correct figure, but in parts per trillion not billion.

No, I think it's all correct except for the labelling of "ppb" in many places.
piodco.c returns the correct 14465 mHz correction.

Perhaps this is not being applied correctly?

Some STATUS messages for reference:

Pico-hf-oscillator system status
Working freq: 10000000 Hz + 0 milliHz
Output is ENABLED
GPS UART id 0
GPS UART baud 9600
GPS PPS GPIO pin 3
GPS error count 0
GPS NAV solution flag 1
GPS GPRMC receive count 150
GPS PPS period 32000046285760
GPS frequency correction 1446430 ppb
GPS lat 49....... deg1e5
GPS lon -123....... deg1e5
=> STATUS
Pico-hf-oscillator system status
Working freq: 10000000 Hz + 0 milliHz
Output is ENABLED
GPS UART id 0
GPS UART baud 9600
GPS PPS GPIO pin 3
GPS error count 0
GPS NAV solution flag 1
GPS GPRMC receive count 318
GPS PPS period 32000045940753
GPS frequency correction 1435649 ppb
GPS lat 49....... deg1e5
GPS lon -123....... deg1e5
=> STATUS
Pico-hf-oscillator system status
Working freq: 10000000 Hz + 0 milliHz
Output is ENABLED
GPS UART id 0
GPS UART baud 9600
GPS PPS GPIO pin 3
GPS error count 0
GPS NAV solution flag 1
GPS GPRMC receive count 599
GPS PPS period 32000045102318
GPS frequency correction 1409447 ppb
GPS lat 49....... deg1e5
GPS lon -123....... deg1e5```

@RPiks
Copy link
Owner

RPiks commented Dec 30, 2023

Dear Thomas,

Sorry for the belated answer.

I will check this case.
Meanwhile, the previous version (w/o console & old pio dco which was up to 9.4M) worked correctly on 7 MHz band, transmitting WSPR. Unfortunately, I had no opportunity to test the new version closely due to starting a Christmas rally.

Thank you for this report, it is useful.

Cheers,
Roman
R2BDY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants