Update to post my results......In case someone is also curious to see what this setup can achieve...
o23l-q327 OCXO + ublox m10 with window-side patch antenna...
Is this the expected performance?
Fix time 1031ms
Uptime: 000d 15:38:40
New GPS Fix:
Sats: 12 HDOP: 1.92
UTC Time: 01:41:31 Date: 24/12/2024
Voltages:
VctlPWM: 2.69V PWM: 64881 OCXO disciplining: ACTIVE Trend: uf+
Vdd: 3.29V
Frequency measurements:
64-bit Counter: 563104742959
Frequency: 10 MHz
10s Frequency Avg: 10000000.0 Hz
100s Frequency Avg: 10000000.00 Hz
1,000s Frequency Avg: 9999999.997 Hz
10,000s Frequency Avg: 10000000.0040 Hz
20,000s Frequency Avg: 10000000.00195 Hz
...............
The problem can be temprally fixed by using longer gps wait time as per pervious posts.....
............
Hi, Thanks for this great project!
I am new to this project, and I wired a prototype using minumum parts, i.e., GPS receiver, OXCO(DAPU O23L-Q327), and Bluepill, My firmware is 0.06c from github.
The fcount seems to work ok in warmup and calibration, with delta offtset near 10 Mhz. However, the reported delta values frequently jumps to 0, which distroy the f quene.
Any hints to solve this would be greatly appreciated!
Thanks!
fcount64 = (tim2overflowcounter << 32) + lsfcount; // hehe now we have a 64-bit counter
Serial.print(F("Current Freq Offset:"));
Serial.print( fcount64);
Serial.print(F(" Previous Freq Offset:"));
Serial.print( prevfcount64);
Serial.print(F(" Delta:"));
Serial.println(fcount64 - prevfcount64);
//Serial.println(fcount64 - prevfcount64);
if (fcount64 > prevfcount64)