Si5351Arduino icon indicating copy to clipboard operation
Si5351Arduino copied to clipboard

Handle missing external clock, either fallback to internal oscillator or switching off output

Open pignoniG opened this issue 2 years ago • 2 comments

Hi, is there any recommendation or plan on implementing automatic switch between external and internal reference? It would be nice to be able to turn off the output if no reference is connected or switch to the internal one. Thanks

pignoniG avatar Jul 07 '23 14:07 pignoniG

This will require external circuitry. Easiest approach is a diode detector on the external input, and if the level is satisfactory you put a pin on the microcontroller high. Then the program needs to take into account this and switch. Has been done and works ok.

BR Thomas

fre. 7. juli 2023 kl. 16:31 skrev Giovanni @.***>:

Hi, is there any recommendation or plan on implementing automatic switch between external and internal reference? It would be nice to be able to turn off the output if no reference is connected or switch to the internal one. Thanks

— Reply to this email directly, view it on GitHub https://github.com/etherkit/Si5351Arduino/issues/93, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBYNPDS46LJIT5U7Y6KG6TXPAMSLANCNFSM6AAAAAA2B4V44I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- With Best regards, Thomas S. Knutsen.

Please avoid sending me Word or PowerPoint attachments.

la3pna avatar Jul 07 '23 15:07 la3pna

Hi Thomas, I can reliably “sense” the ext reference but didn’t manage to reliably reconfigure the ic wile it’s running. Do you have any example code? Thanks

On Fri, 7 Jul 2023 at 17:24, Thomas S. Knutsen @.***> wrote:

This will require external circuitry. Easiest approach is a diode detector on the external input, and if the level is satisfactory you put a pin on the microcontroller high. Then the program needs to take into account this and switch. Has been done and works ok.

BR Thomas

fre. 7. juli 2023 kl. 16:31 skrev Giovanni @.***>:

Hi, is there any recommendation or plan on implementing automatic switch between external and internal reference? It would be nice to be able to turn off the output if no reference is connected or switch to the internal one. Thanks

— Reply to this email directly, view it on GitHub https://github.com/etherkit/Si5351Arduino/issues/93, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABBYNPDS46LJIT5U7Y6KG6TXPAMSLANCNFSM6AAAAAA2B4V44I>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- With Best regards, Thomas S. Knutsen.

Please avoid sending me Word or PowerPoint attachments.

— Reply to this email directly, view it on GitHub https://github.com/etherkit/Si5351Arduino/issues/93#issuecomment-1625577546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIIQP3S5BOYBUQGZHNAQHTXPASZPANCNFSM6AAAAAA2B4V44I . You are receiving this because you authored the thread.Message ID: @.***>

pignoniG avatar Jul 07 '23 16:07 pignoniG