Skip to content

Commit 76b1df1

Browse files
committed
Update default settings - these will be overwritten by beginTCXO
1 parent 18ebcc8 commit 76b1df1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Firmware/GNSSDO_Firmware/settings.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ typedef struct
332332
int64_t tcxoControl = 0; // Store the TCXO control word - to aid locking after power off
333333
double rxStabilityForFrequencyLock = 1.0e-10; // Stay in STATE_GNSS_FINETIME until the change in the bias is <= this many s/s
334334
double rxPhaseErrorLimit_s = 1.0e-7; // Stay in STATE_GNSS_FREQUENCY_LOCK until the bias is <= this many s
335-
double PkSteer = 0.2; // PI P term for initial frequency steering (updated if needed by beginTCXO)
336-
double IkSteer = 0.02; // PI I term for initial frequency steering (updated if needed by beginTCXO)
335+
double PkSteer = 0.63; // PI P term for initial frequency steering (updated if needed by beginTCXO)
336+
double IkSteer = 0.151; // PI I term for initial frequency steering (updated if needed by beginTCXO)
337337
double PkRamp = 0.4; // PI P term for fast ramping (updated if needed by beginTCXO)
338338
double IkRamp = 0.4; // PI I term for fast ramping (updated if needed by beginTCXO)
339339
double Pk = 0.63; // PI P term (default for the SiT5358 - updated if needed by beginTCXO)
@@ -347,7 +347,7 @@ typedef struct
347347
double tcxoTemperatureStability = 0.01; // Required temperature stability for TCXO warm up (ADU)
348348
unsigned long tcxoMinWarmup_s = 120; // Required minimum warmup
349349
double tcxoRampRateLimit_sps = 250.0e-9; // This limits the ramp rate during steering (s/s) (updated if needed by beginTCXO)
350-
double tcxoRampStepSize_s = 1.0e-9; // Ole uses 1ns/s
350+
double tcxoRampStepSize_s = 0.5e-9; // Ole uses 1ns/s (updated if needed by beginTCXO)
351351
double tcxoRampAsymmetry = 1.0; // It seems STP3593 can't heat and cool at the same rate (updated if needed by beginTCXO)
352352
int minimumRampRepeats = 1; // updated if needed by beginTCXO
353353

0 commit comments

Comments
 (0)