External Clocks
These functions require firmware version 1.32.52 or higher. You can check your firmware version with the Arduino example "Device Info" under the "Testing" category. If you have an earlier firmware revision, please contact qNimble to get upgrade instructions.
The following functions are available for configuring the clocking inside the Quarto
useExtClock
bool useExtClock(bool active, uint8_t trigger_pin);
bool useExtClock(bool active);
This function enables or disables using an external 10 MHz clock to generate all the clocks inside the Quarto. The external clock input must be on either trigger 1 or trigger 2 and must be at a frequency of 10 MHz (within a few kHz). If the clock input is not present or the frequency not correct, the Quarto will use its internal 10 MHz reference to generating all timing. The function returns readExtClockEnabled
function. The function takes the following arguments:
active
Set totrue
to activate external clock, set tofalse
to disable.trigger_pin
Optional argument, default is to use trigger 1. Set to1
to use trigger 1 and2
to use trigger 2.