I'm really not advocating that because I don't know what can be thrown out of the loop. As I stated earlier, not everything in the loop is interrupt-driven and I explained why. I'm not sure threading would improve things much, either. Adding a second processor, to me anyway, simply adds another layer of complexity to the system no matter what (i.e., interrupts or threading).
I think the "...but then what?" is a valid point.
Jack, W8TEE
On Thursday, January 30, 2025 at 11:30:57 PM EST, K9HZ <bill@...> wrote:
¡°throw them out and assess their impact on the performance.¡±
?
Seems like the right thing to do¡ but then what?
?
?
?
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.
From:[email protected] <[email protected]> On Behalf Of jjpurdum via groups.io Sent: Thursday, January 30, 2025 9:08 PM To:[email protected] Subject: Re: [SoftwareControlledHamRadio] [AmateurRadioBuilders] New Display Driver
?
There has been a lot of code added in loop() that wasn't there to begin with, and all of that take time. If you want, perhaps there are things within that loop that you can live without. If that's the case, throw them out and assess their impact on the performance.
?
Jack, W8TEE
?
On Thursday, January 30, 2025 at 08:39:33 PM EST, jerry-KF6VB <jerry@...> wrote:
?
?
On 2025-01-30 14:04, K9HZ wrote: > The higher the frequency, the faster the display updates, but the > higher the SPI frequency is into the HF band causing harmonics.? That > is the wrong direction!
*** The problem with a slow display is that it slows down the whole system. Each swing of the main loop happens after the display updates.? When you are tuning around, the audio pauses between clicks.? Each pause lasts until the frequency display finishes updating.? So if you tune around, you get small bursts of audio, interspersed with periods of silence.? The shorter those silences are, the better!
? As it is, if you tune any faster than "glacially slow", you literally cannot hear what you're tuning past.
? ? ? ? ? ? ? ? ? - Jerry, KF6VB
? See how low you can go and still have a > decent display... > > > 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@... > > > -----Original Message----- > From: [email protected] > <[email protected]> On Behalf Of jerry-KF6VB > Sent: Thursday, January 30, 2025 3:58 PM > To: [email protected] > Subject: Re: [SoftwareControlledHamRadio] [AmateurRadioBuilders] New > Display Driver > > On 2025-01-30 13:55, K9HZ wrote: >> You should make that divisor as big as possible up to the point that >> the display still works.... makes the SPI as slow as possible and >> creates less noise. > > *** You sure?? Wouldn't a faster SPI give faster display updates?? And > therefore less chunky tuning? > >? ? ? ? ? ? ? ? ? ? ? - Jerry, KF6VB > > > >> >> >> 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@... >> >> >> -----Original Message----- >> From: [email protected] >> <[email protected]> On Behalf Of jerry-KF6VB >> Sent: Thursday, January 30, 2025 3:24 PM >> To: [email protected] >> Cc: K9HZ <bill@...> >> Subject: Re: [SoftwareControlledHamRadio] [AmateurRadioBuilders] New >> Display Driver >> >> On 2025-01-30 10:58, K9HZ wrote: >>> You can test that... >>> >> *** Indeed.? I just added the following line near the top of setup(): >> >>? ? SPI.setClockDivider( SPI_CLOCK_DIV2 ); >> >>? ? I'm not sure if it's faster or not.? It does compile, and the radio >> works. >> >>? ? ? ? ? ? ? ? ? ? ? - Jerry, KF6VB >> >> >>> >>> 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@... >>> >>> >>> -----Original Message----- >>> From: [email protected] >>> <[email protected]> On Behalf Of jerry-KF6VB >>> Sent: Thursday, January 30, 2025 11:39 AM >>> To: [email protected] >>> Cc: [email protected] >>> Subject: Re: [SoftwareControlledHamRadio] [AmateurRadioBuilders] New >>> Display Driver >>> >>> How fast will the display go?? I understand that the SPI clock is >>> generated from the Teensy. >>> >>>? ? ? ? ? ? ? ? ? ? ? ? - Jerry >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> >> >> >> >> > > > > > > > >