Interfacing external clock.
I want to use external reference clock of 40MHZ sine wave.I gave it to the ref_clk on the ad9361 chip.
in ad9361 default init parameters(in main.c) i changed the following quantitties:
1) xo_disable_use_ext_refclk_enable to 1.
Will the Mux in reference scaler will automatically selects the external ref clock because of above statement.
I want the LO frequencies to be generated using this reference clock
should i need to change (external_rx_lo_enable, external_tx_lo_enable)?
What are the other parameters i need to change? please help.
I set 400MHz as the lo frquency and BW of 10MHZ.
without ( xo_disable_use_ext_refclk_enable to 1.) iam able to see the output .
Once i keep the above statement i am getting calibration error
Calibration TIMEOUT (0x5E, 0x80)
Calibration TIMEOUT (0x244, 0x80)
ad9361_init : AD936x initialization error.
What are things i need to do for making it work with external ref clock