au-chrismor / vlf-sdr

Software-Defined VLF Radio
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Transmit can occur on receive frequency #7

Closed au-chrismor closed 1 year ago

au-chrismor commented 1 year ago

At present, the frequency is only set when a dial change occurs, and then it is based on the state of the TX input. The problem is that the TX input cold become active (LOW) at any time, so the DDS output might not match what the display says (in RX mode, we are 455KHz higher).

Action: Detect the state change for TX input, and then re-issue frequency set command.

au-chrismor commented 1 year ago

One possible solution is to move TX from D12 to D2, and use a CHANGE interrupt.

The ISR would then update the DDS frequency based on the input state. Also requires a wiring change on the prototype board.

au-chrismor commented 1 year ago

https://github.com/au-chrismor/vlf-sdr/pull/9

au-chrismor commented 1 year ago

Change now on master branch