¿ªÔÆÌåÓý

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

I/O Weirdness


 

Working with the Version 66.9 T41 software.

This particular weirdness affects nobody but me....

I use four unused i/o bits to control my homebrew linear amplifier. They tell the amplifier what band the transceiver
is on.

These bits ( 28,29,30,31 ) were used in the V11 system to control its four-band LPF. There was an 80M pin, a 40M pin etc.

They are not used at all in the V12 system.

So I hooked them up to some transistor buffers and hence out to the linear.

V12 does have internal Yaesu codes in the LPF control card, but they are the wrong polarity. Instead of adding hardware
inverters, I just used those other four pins.

Now - with the V66.9 software, I am unable to write to those pins! The linear stays at its default - 6M. The reason
for that particular default is that it minimizes the risk of transmitting on the wrong band. If you use an LPF that is
too high, you run the risk of annoying the FCC. If OTOH you transmit through an LPF that's too low, you run the risk of
frying the expensive LDMOS final. I do have protection against that in the linear, but I am a "belt & suspenders" guy...

Back to the problem: I have verified that the code to write to those pins is being executed. ALSO, I wrote separate code at the top of loop() to write to them. No joy, no output.

BUT - I wrote a throwaway sketch - not a radio at all - to just write to those pins - actually an incrementing count. Yup, they work fine. And the linear cycles through its bands.

SO; Something in the code is preventing me from writing those pins. Gotta be one of two things: 1. Something else is writing to them. or 2) Something is pinMode-ing them to INPUTs.

Darned if I can find it though. There are some legacy places where those pins are written, but I'm pretty sure I found them all. It has worked on other versions, just not this one.

- Jerry, KF6VB


 

search on bandswitchPins


 

On 2025-03-24 18:30, Terrance Robertson, KN6ZDE via groups.io wrote:
search on bandswitchPins
Did that. #ifdef'd them all out. Then commented them out for good measure.
I commented out the actual definition in SDT.h, and let the compiler find all the occurrences for me.
Also excised the #defines for FILTERPIN80M, FILTERPIN40M, FILTERPIN20M, and FILTERPIN15M.

- Jerry, KF6VB




Links:
------
[1] /g/SoftwareControlledHamRadio/message/33217
[2] /mt/111888406/243852
[3] /g/SoftwareControlledHamRadio/post
[4] /g/SoftwareControlledHamRadio/editsub/243852
[5]
/g/SoftwareControlledHamRadio/leave/10484476/243852/1943518115/xyzzy


 

¿ªÔÆÌåÓý

Might consult Al. ?He may have stuck some code back in to work with the legacy V11 LPF. ?I recall there was some discussion of that several months ago. ?


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

?

Owner - Operator

Big Signal Ranch ¨C K9ZC

Staunton, Illinois

?

Owner ¨C Operator

Villa Grand Piton - J68HZ

Soufriere, St. Lucia W.I.

Rent it: www.VillaGrandPiton.com


email:??bill@...

?


On Mar 24, 2025, at 7:32?PM, jerry-KF6VB <jerry@...> wrote:

?Working with the Version 66.9 T41 software.

This particular weirdness affects nobody but me....

I use four unused i/o bits to control my homebrew linear amplifier. ?They tell the amplifier what band the transceiver
is on.

These bits ( 28,29,30,31 ) were used in the V11 system to control its four-band LPF. ?There was an 80M pin, a 40M pin etc.

They are not used at all in the V12 system.

So I hooked them up to some transistor buffers and hence out to the linear.

V12 does have internal Yaesu codes in the LPF control card, but they are the wrong polarity. ?Instead of adding hardware
inverters, I just used those other four pins.

Now - with the V66.9 software, I am unable to write to those pins! ?The linear stays at its default - 6M. ?The reason
for that particular default is that it minimizes the risk of transmitting on the wrong band. ?If you use an LPF that is
too high, you run the risk of annoying the FCC. ?If OTOH you transmit through an LPF that's too low, you run the risk of
frying the expensive LDMOS final. ?I do have protection against that in the linear, but I am a "belt & suspenders" guy...

Back to the problem: ?I have verified that the code to write to those pins is being executed. ?ALSO, I wrote separate code at the top of loop() to write to them. ?No joy, no output.

BUT - I wrote a throwaway sketch - not a radio at all - to just write to those pins - actually an incrementing count. ?Yup, they work fine. ?And the linear cycles through its bands.

SO; ?Something in the code is preventing me from writing those pins. ?Gotta be one of two things: 1. ?Something else is writing to them. ?or 2) ?Something is pinMode-ing them to INPUTs.

Darned if I can find it though. ?There are some legacy places where those pins are written, but I'm pretty sure I found them all. ?It has worked on other versions, just not this one.

????????????????- Jerry, KF6VB