¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Freq Calibration


 

Missed your original message Rick, sorry about that.

This was a fun one* to track down. It turned out to be due to the logic flag that tracks whether the main menu is still active. It was being left TRUE when exiting the menu windows instead of being reset to FALSE. See this line for the place where this bug intersects with the encoder reading code:


I fixed it by just before returning from SetSecondaryMenuIndex() in Menu.cpp:
mainMenuWindowActive = false;

Cheers,
Oliver KI3P

*sarcasm
On Tuesday, April 8th, 2025 at 8:42 PM, Rick Price via groups.io <rickprice48@...> wrote:

Oliver, as long as your fixing some minor bugs¡­. When the radio is turned on and have not selected any matrix buttons the audio filter tune works correctly. After selecting any matrix button the filter tune adjustment reverses direction and the amount of increment movement for any rotational movement is divided by at least 10. Turn the radio off and right back on filter tune works correctly until a matrix button is selected and the above happens again. Don¡¯t know if you saw my add on earlier about selecting CW and having the fine tune increment cycle with each CW selection and cancellation. Maybe you have already addressed that with the changes you just made. I will download the new bug fixes and let you know if it is still doing it.

Rick, KN4AIE

?

From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io
Sent: Tuesday, April 8, 2025 8:04 PM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] Freq Calibration

?

I've fixed this one too. Added a call to ResetTuning() at line 33 of MenuProc.cpp -- i.e., reset the tuning right before calling CalibrateFrequency(). See the changed line on GitHub here:

?

?

?

?

?

On Tuesday, April 8th, 2025 at 6:47 PM, Oliver KI3P via groups.io <oliver@...> wrote:

No reason for it, it's just another bug that needs to be squashed.

?

On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote:

¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡±

?

I didn¡¯t catch that either¡­ any reason for that. Seems a bit quirky¡­

?

?

Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ

?

Owner - Operator

Big Signal Ranch ¨C K9ZC

Staunton, Illinois

?

Owner ¨C Operator

Villa Grand Piton ¨C J68HZ

Soufriere, St. Lucia W.I.

Rent it:

?

Moderator: North American QRO Group at Groups.IO.

Moderator: Amateur Radio Builders Group at Groups.IO.

?

email:? bill@...

?

?

From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io
Sent: Tuesday, April 8, 2025 5:17 AM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] Freq Calibration

?

Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz?

?

A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help?

?

?

?

On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote:

Hey 'yall,

I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized.

190 Hz isn't that bad but I'd like it to be close to zero.

Any thoughts?

Thanks

Mark

KU3O

?

?

?


Join [email protected] to automatically receive all group messages.