Post Go back to editing

10 MHz external clock and ad9361_txrx_synth_cp_calib error

Hello!

I have some problem with 10Mhz external clock(I`m attaching 1 scope - XTALN(on the other side of the cap)). And I have error on step ad9361_txrx_synth_cp_calib error(TX),but RX is OK.

What could be wrong? 

I use last No-OS driver.

This is my InitParam.

AD9361_InitParam default_init_param = {
/* Device selection */
ID_AD9361, // dev_sel
/* Identification number */
0, //id_no
/* Reference Clock */
10000000UL, //reference_clk_rate
/* Base Configuration */
1, //two_rx_two_tx_mode_enable *** adi,2rx-2tx-mode-enable
1, //one_rx_one_tx_mode_use_rx_num *** adi,1rx-1tx-mode-use-rx-num
1, //one_rx_one_tx_mode_use_tx_num *** adi,1rx-1tx-mode-use-tx-num
1, //frequency_division_duplex_mode_enable *** adi,frequency-division-duplex-mode-enable
0, //frequency_division_duplex_independent_mode_enable *** adi,frequency-division-duplex-independent-mode-enable
1, //tdd_use_dual_synth_mode_enable *** adi,tdd-use-dual-synth-mode-enable
0, //tdd_skip_vco_cal_enable *** adi,tdd-skip-vco-cal-enable
0, //tx_fastlock_delay_ns *** adi,tx-fastlock-delay-ns
0, //rx_fastlock_delay_ns *** adi,rx-fastlock-delay-ns
0, //rx_fastlock_pincontrol_enable *** adi,rx-fastlock-pincontrol-enable
0, //tx_fastlock_pincontrol_enable *** adi,tx-fastlock-pincontrol-enable
0, //external_rx_lo_enable *** adi,external-rx-lo-enable
0, //external_tx_lo_enable *** adi,external-tx-lo-enable
5, //dc_offset_tracking_update_event_mask *** adi,dc-offset-tracking-update-event-mask
6, //dc_offset_attenuation_high_range *** adi,dc-offset-attenuation-high-range
5, //dc_offset_attenuation_low_range *** adi,dc-offset-attenuation-low-range
0x28, //dc_offset_count_high_range *** adi,dc-offset-count-high-range
0x32, //dc_offset_count_low_range *** adi,dc-offset-count-low-range
0, //split_gain_table_mode_enable *** adi,split-gain-table-mode-enable
MAX_SYNTH_FREF, //trx_synthesizer_target_fref_overwrite_hz *** adi,trx-synthesizer-target-fref-overwrite-hz 10000000ULMAX_SYNTH_FREF
0, // qec_tracking_slow_mode_enable *** adi,qec-tracking-slow-mode-enable
/* ENSM Control */
0, //ensm_enable_pin_pulse_mode_enable *** adi,ensm-enable-pin-pulse-mode-enable
0, //ensm_enable_txnrx_control_enable *** adi,ensm-enable-txnrx-control-enable
/* LO Control */
1900000000UL, //rx_synthesizer_frequency_hz *** adi,rx-synthesizer-frequency-hz
1900000000UL, //tx_synthesizer_frequency_hz *** adi,tx-synthesizer-frequency-hz
/* Rate & BW Control */
// BBPLL_FREQ, ADC_FREQ, R2_FREQ, R1_FREQ, CLKRF_FREQ, RX_SAMPL_FREQ
//{983040000, 245760000 , 122880000, 61440000, 30720000 , 30720000 },//uint32_t rx_path_clock_frequencies[6] *** adi,rx-path-clock-frequencies
//{983040000, 122880000 , 122880000, 61440000, 30720000 , 30720000 },//uint32_t tx_path_clock_frequencies[6] *** adi,tx-path-clock-frequencies
{1228800000, 245760000, 122880000, 61440000, 61440000, 61440000},//uint32_t rx_path_clock_frequencies[6] *** adi,rx-path-clock-frequencies
{1228800000, 245760000, 122880000, 61440000, 61440000, 61440000},//uint32_t tx_path_clock_frequencies[6] *** adi,tx-path-clock-frequencies
18000000,//rf_rx_bandwidth_hz *** adi,rf-rx-bandwidth-hz
18000000,//rf_tx_bandwidth_hz *** adi,rf-tx-bandwidth-hz
/* RF Port Control */
0, //rx_rf_port_input_select *** adi,rx-rf-port-input-select
0, //tx_rf_port_input_select *** adi,tx-rf-port-input-select
/* TX Attenuation Control */
10000, //tx_attenuation_mdB *** adi,tx-attenuation-mdB
0, //update_tx_gain_in_alert_enable *** adi,update-tx-gain-in-alert-enable
/* Reference Clock Control */
1, //xo_disable_use_ext_refclk_enable *** adi,xo-disable-use-ext-refclk-enable
{8, 5920}, //dcxo_coarse_and_fine_tune[2] *** adi,dcxo-coarse-and-fine-tune
1, //clk_output_mode_select *** adi,clk-output-mode-select BUFFERED_XTALN_DCXO
/* Gain Control */
2, //gc_rx1_mode *** adi,gc-rx1-mode
2, //gc_rx2_mode *** adi,gc-rx2-mode
58, //gc_adc_large_overload_thresh *** adi,gc-adc-large-overload-thresh
4, //gc_adc_ovr_sample_size *** adi,gc-adc-ovr-sample-size
47, //gc_adc_small_overload_thresh *** adi,gc-adc-small-overload-thresh
8192, //gc_dec_pow_measurement_duration *** adi,gc-dec-pow-measurement-duration
0, //gc_dig_gain_enable *** adi,gc-dig-gain-enable
800, //gc_lmt_overload_high_thresh *** adi,gc-lmt-overload-high-thresh
704, //gc_lmt_overload_low_thresh *** adi,gc-lmt-overload-low-thresh
24, //gc_low_power_thresh *** adi,gc-low-power-thresh
15, //gc_max_dig_gain *** adi,gc-max-dig-gain
/* Gain MGC Control */
2, //mgc_dec_gain_step *** adi,mgc-dec-gain-step
2, //mgc_inc_gain_step *** adi,mgc-inc-gain-step
0, //mgc_rx1_ctrl_inp_enable *** adi,mgc-rx1-ctrl-inp-enable
0, //mgc_rx2_ctrl_inp_enable *** adi,mgc-rx2-ctrl-inp-enable
0, //mgc_split_table_ctrl_inp_gain_mode *** adi,mgc-split-table-ctrl-inp-gain-mode
/* Gain AGC Control */
10, //agc_adc_large_overload_exceed_counter *** adi,agc-adc-large-overload-exceed-counter
2, //agc_adc_large_overload_inc_steps *** adi,agc-adc-large-overload-inc-steps
0, //agc_adc_lmt_small_overload_prevent_gain_inc_enable *** adi,agc-adc-lmt-small-overload-prevent-gain-inc-enable
10, //agc_adc_small_overload_exceed_counter *** adi,agc-adc-small-overload-exceed-counter
4, //agc_dig_gain_step_size *** adi,agc-dig-gain-step-size
3, //agc_dig_saturation_exceed_counter *** adi,agc-dig-saturation-exceed-counter
1000, // agc_gain_update_interval_us *** adi,agc-gain-update-interval-us
0, //agc_immed_gain_change_if_large_adc_overload_enable *** adi,agc-immed-gain-change-if-large-adc-overload-enable
0, //agc_immed_gain_change_if_large_lmt_overload_enable *** adi,agc-immed-gain-change-if-large-lmt-overload-enable
10, //agc_inner_thresh_high *** adi,agc-inner-thresh-high
1, //agc_inner_thresh_high_dec_steps *** adi,agc-inner-thresh-high-dec-steps
12, //agc_inner_thresh_low *** adi,agc-inner-thresh-low
1, //agc_inner_thresh_low_inc_steps *** adi,agc-inner-thresh-low-inc-steps
10, //agc_lmt_overload_large_exceed_counter *** adi,agc-lmt-overload-large-exceed-counter
2, //agc_lmt_overload_large_inc_steps *** adi,agc-lmt-overload-large-inc-steps
10, //agc_lmt_overload_small_exceed_counter *** adi,agc-lmt-overload-small-exceed-counter
5, //agc_outer_thresh_high *** adi,agc-outer-thresh-high
2, //agc_outer_thresh_high_dec_steps *** adi,agc-outer-thresh-high-dec-steps
18, //agc_outer_thresh_low *** adi,agc-outer-thresh-low
2, //agc_outer_thresh_low_inc_steps *** adi,agc-outer-thresh-low-inc-steps
1, //agc_attack_delay_extra_margin_us; *** adi,agc-attack-delay-extra-margin-us
0, //agc_sync_for_gain_counter_enable *** adi,agc-sync-for-gain-counter-enable
/* Fast AGC */
64, //fagc_dec_pow_measuremnt_duration *** adi,fagc-dec-pow-measurement-duration
260, //fagc_state_wait_time_ns *** adi,fagc-state-wait-time-ns
/* Fast AGC - Low Power */
0, //fagc_allow_agc_gain_increase *** adi,fagc-allow-agc-gain-increase-enable
5, //fagc_lp_thresh_increment_time *** adi,fagc-lp-thresh-increment-time
1, //fagc_lp_thresh_increment_steps *** adi,fagc-lp-thresh-increment-steps
/* Fast AGC - Lock Level */
10, //fagc_lock_level *** adi,fagc-lock-level
1, //fagc_lock_level_lmt_gain_increase_en *** adi,fagc-lock-level-lmt-gain-increase-enable
5, //fagc_lock_level_gain_increase_upper_limit *** adi,fagc-lock-level-gain-increase-upper-limit
/* Fast AGC - Peak Detectors and Final Settling */
1, //fagc_lpf_final_settling_steps *** adi,fagc-lpf-final-settling-steps
1, //fagc_lmt_final_settling_steps *** adi,fagc-lmt-final-settling-steps
3, //fagc_final_overrange_count *** adi,fagc-final-overrange-count
/* Fast AGC - Final Power Test */
0, //fagc_gain_increase_after_gain_lock_en *** adi,fagc-gain-increase-after-gain-lock-enable
/* Fast AGC - Unlocking the Gain */
0, //fagc_gain_index_type_after_exit_rx_mode *** adi,fagc-gain-index-type-after-exit-rx-mode
1, //fagc_use_last_lock_level_for_set_gain_en *** adi,fagc-use-last-lock-level-for-set-gain-enable
1, //fagc_rst_gla_stronger_sig_thresh_exceeded_en *** adi,fagc-rst-gla-stronger-sig-thresh-exceeded-enable
5, //fagc_optimized_gain_offset *** adi,fagc-optimized-gain-offset
10, //fagc_rst_gla_stronger_sig_thresh_above_ll *** adi,fagc-rst-gla-stronger-sig-thresh-above-ll
1, //fagc_rst_gla_engergy_lost_sig_thresh_exceeded_en *** adi,fagc-rst-gla-engergy-lost-sig-thresh-exceeded-enable
1, //fagc_rst_gla_engergy_lost_goto_optim_gain_en *** adi,fagc-rst-gla-engergy-lost-goto-optim-gain-enable
10, //fagc_rst_gla_engergy_lost_sig_thresh_below_ll *** adi,fagc-rst-gla-engergy-lost-sig-thresh-below-ll
8, //fagc_energy_lost_stronger_sig_gain_lock_exit_cnt *** adi,fagc-energy-lost-stronger-sig-gain-lock-exit-cnt
1, //fagc_rst_gla_large_adc_overload_en *** adi,fagc-rst-gla-large-adc-overload-enable
1, //fagc_rst_gla_large_lmt_overload_en *** adi,fagc-rst-gla-large-lmt-overload-enable
0, //fagc_rst_gla_en_agc_pulled_high_en *** adi,fagc-rst-gla-en-agc-pulled-high-enable
0, //fagc_rst_gla_if_en_agc_pulled_high_mode *** adi,fagc-rst-gla-if-en-agc-pulled-high-mode
64, //fagc_power_measurement_duration_in_state5 *** adi,fagc-power-measurement-duration-in-state5
/* RSSI Control */
1, //rssi_delay *** adi,rssi-delay
1000, //rssi_duration *** adi,rssi-duration
3, //rssi_restart_mode *** adi,rssi-restart-mode
0, //rssi_unit_is_rx_samples_enable *** adi,rssi-unit-is-rx-samples-enable
1, //rssi_wait *** adi,rssi-wait
/* Aux ADC Control */
256, //aux_adc_decimation *** adi,aux-adc-decimation
40000000UL, //aux_adc_rate *** adi,aux-adc-rate
/* AuxDAC Control */
1, //aux_dac_manual_mode_enable *** adi,aux-dac-manual-mode-enable
0, //aux_dac1_default_value_mV *** adi,aux-dac1-default-value-mV
0, //aux_dac1_active_in_rx_enable *** adi,aux-dac1-active-in-rx-enable
0, //aux_dac1_active_in_tx_enable *** adi,aux-dac1-active-in-tx-enable
0, //aux_dac1_active_in_alert_enable *** adi,aux-dac1-active-in-alert-enable
0, //aux_dac1_rx_delay_us *** adi,aux-dac1-rx-delay-us
0, //aux_dac1_tx_delay_us *** adi,aux-dac1-tx-delay-us
0, //aux_dac2_default_value_mV *** adi,aux-dac2-default-value-mV
0, //aux_dac2_active_in_rx_enable *** adi,aux-dac2-active-in-rx-enable
0, //aux_dac2_active_in_tx_enable *** adi,aux-dac2-active-in-tx-enable
0, //aux_dac2_active_in_alert_enable *** adi,aux-dac2-active-in-alert-enable
0, //aux_dac2_rx_delay_us *** adi,aux-dac2-rx-delay-us
0, //aux_dac2_tx_delay_us *** adi,aux-dac2-tx-delay-us
/* Temperature Sensor Control */
256, //temp_sense_decimation *** adi,temp-sense-decimation
1000, //temp_sense_measurement_interval_ms *** adi,temp-sense-measurement-interval-ms
0xCE, //temp_sense_offset_signed *** adi,temp-sense-offset-signed
1, //temp_sense_periodic_measurement_enable *** adi,temp-sense-periodic-measurement-enable
/* Control Out Setup */
0xFF, //ctrl_outs_enable_mask *** adi,ctrl-outs-enable-mask
0, //ctrl_outs_index *** adi,ctrl-outs-index
/* External LNA Control */
0, //elna_settling_delay_ns *** adi,elna-settling-delay-ns
0, //elna_gain_mdB *** adi,elna-gain-mdB
0, //elna_bypass_loss_mdB *** adi,elna-bypass-loss-mdB
0, //elna_rx1_gpo0_control_enable *** adi,elna-rx1-gpo0-control-enable
0, //elna_rx2_gpo1_control_enable *** adi,elna-rx2-gpo1-control-enable
0, //elna_gaintable_all_index_enable *** adi,elna-gaintable-all-index-enable
/* Digital Interface Control */
0, //digital_interface_tune_skip_mode *** adi,digital-interface-tune-skip-mode
0, //digital_interface_tune_fir_disable *** adi,digital-interface-tune-fir-disable
1, //pp_tx_swap_enable *** adi,pp-tx-swap-enable
1, //pp_rx_swap_enable *** adi,pp-rx-swap-enable
0, //tx_channel_swap_enable *** adi,tx-channel-swap-enable
0, //rx_channel_swap_enable *** adi,rx-channel-swap-enable
1, //rx_frame_pulse_mode_enable *** adi,rx-frame-pulse-mode-enable
0, //two_t_two_r_timing_enable *** adi,2t2r-timing-enable
0, //invert_data_bus_enable *** adi,invert-data-bus-enable
0, //invert_data_clk_enable *** adi,invert-data-clk-enable
0, //fdd_alt_word_order_enable *** adi,fdd-alt-word-order-enable
0, //invert_rx_frame_enable *** adi,invert-rx-frame-enable
0, //fdd_rx_rate_2tx_enable *** adi,fdd-rx-rate-2tx-enable
0, //swap_ports_enable *** adi,swap-ports-enable
0, //single_data_rate_enable *** adi,single-data-rate-enable
1, //lvds_mode_enable *** adi,lvds-mode-enable
0, //half_duplex_mode_enable *** adi,half-duplex-mode-enable
0, //single_port_mode_enable *** adi,single-port-mode-enable
0, //full_port_enable *** adi,full-port-enable
0, //full_duplex_swap_bits_enable *** adi,full-duplex-swap-bits-enable
0, //delay_rx_data *** adi,delay-rx-data
0, //rx_data_clock_delay *** adi,rx-data-clock-delay
4, //rx_data_delay *** adi,rx-data-delay
7, //tx_fb_clock_delay *** adi,tx-fb-clock-delay
0, //tx_data_delay *** adi,tx-data-delay
150, //lvds_bias_mV *** adi,lvds-bias-mV
1, //lvds_rx_onchip_termination_enable *** adi,lvds-rx-onchip-termination-enable
0, //rx1rx2_phase_inversion_en *** adi,rx1-rx2-phase-inversion-enable
0xFF, //lvds_invert1_control *** adi,lvds-invert1-control
0x0F, //lvds_invert2_control *** adi,lvds-invert2-control
/* GPO Control */
0, //gpo0_inactive_state_high_enable *** adi,gpo0-inactive-state-high-enable
0, //gpo1_inactive_state_high_enable *** adi,gpo1-inactive-state-high-enable
0, //gpo2_inactive_state_high_enable *** adi,gpo2-inactive-state-high-enable
0, //gpo3_inactive_state_high_enable *** adi,gpo3-inactive-state-high-enable
0, //gpo0_slave_rx_enable *** adi,gpo0-slave-rx-enable
0, //gpo0_slave_tx_enable *** adi,gpo0-slave-tx-enable
0, //gpo1_slave_rx_enable *** adi,gpo1-slave-rx-enable
0, //gpo1_slave_tx_enable *** adi,gpo1-slave-tx-enable
0, //gpo2_slave_rx_enable *** adi,gpo2-slave-rx-enable
0, //gpo2_slave_tx_enable *** adi,gpo2-slave-tx-enable
0, //gpo3_slave_rx_enable *** adi,gpo3-slave-rx-enable
0, //gpo3_slave_tx_enable *** adi,gpo3-slave-tx-enable
0, //gpo0_rx_delay_us *** adi,gpo0-rx-delay-us
0, //gpo0_tx_delay_us *** adi,gpo0-tx-delay-us
0, //gpo1_rx_delay_us *** adi,gpo1-rx-delay-us
0, //gpo1_tx_delay_us *** adi,gpo1-tx-delay-us
0, //gpo2_rx_delay_us *** adi,gpo2-rx-delay-us
0, //gpo2_tx_delay_us *** adi,gpo2-tx-delay-us
0, //gpo3_rx_delay_us *** adi,gpo3-rx-delay-us
0, //gpo3_tx_delay_us *** adi,gpo3-tx-delay-us
/* Tx Monitor Control */
37000, //low_high_gain_threshold_mdB *** adi,txmon-low-high-thresh
0, //low_gain_dB *** adi,txmon-low-gain
24, //high_gain_dB *** adi,txmon-high-gain
0, //tx_mon_track_en *** adi,txmon-dc-tracking-enable
0, //one_shot_mode_en *** adi,txmon-one-shot-mode-enable
511, //tx_mon_delay *** adi,txmon-delay
8192, //tx_mon_duration *** adi,txmon-duration
2, //tx1_mon_front_end_gain *** adi,txmon-1-front-end-gain
2, //tx2_mon_front_end_gain *** adi,txmon-2-front-end-gain
48, //tx1_mon_lo_cm *** adi,txmon-1-lo-cm
48, //tx2_mon_lo_cm *** adi,txmon-2-lo-cm
/* GPIO definitions */
-1, //gpio_resetb *** reset-gpios
/* MCS Sync */
-1, //gpio_sync *** sync-gpios
-1, //gpio_cal_sw1 *** cal-sw1-gpios
-1, //gpio_cal_sw2 *** cal-sw2-gpios
/* External LO clocks */
NULL, //(*ad9361_rfpll_ext_recalc_rate)()
NULL, //(*ad9361_rfpll_ext_round_rate)()
NULL //(*ad9361_rfpll_ext_set_rate)()
};

  • Hi,

    This is something that was discussed on many other threads. Two examples:

    AD9361 Charge Pump Cal Timeout / ad9361_txrx_synth_cp_calib() 

    Problem with 10MHz External Reference 

    Most likely, your reference clock doesn't meet the recommended specifications.

    Thanks,

    Dragos

  • I have moved for the moment the thread to the AD9361 Design Support community.

    You should get better answers regarding the hardware questions here.

    Thanks,

    Dragos

  • Thanks, DragosB for the answer.

    1. What is wrong with ref clk(Vpp = 0.8V)?

    2. Should there be a bias on the XTALN?

    3. And I have 0V on  TX(RX)_VCO_LDO_OUT (B11,G2) pin, is it normal?

    Or AD9361 on my custom board is broken? 

    Driver is stuck on this point: 
    ret = ad9361_txrx_synth_cp_calib(phy, ref_freq, true); /* TXCP */
       if (ret < 0)
       return ret;

    Thanks,

    Sergey

  • 1. It is fine but with lower swing some performance degradation may happen.

    2. Yes 0.625V

    3. you should get 1.1 V out from TX(RX)_VCO_LDO_OUT pin.

    Take out 1.3V main supply and give it from standalone supply to check current consumption of chip. 

  • Hi, sripad.

    Power consumer of 1.3V is about 0.190A from standalone supply. Is it normal power consumer or not?

    After power-up I don't see 1.1V out from TX(RX)_VCO_LDO_OUT pin.

    Thanks,

    Sergey.

  • Current consumption depends on configuration, looks to be ok.

    Please skip this calibrations and let the initialization done, then take a register dump.

     

    Can you share the schematics?

    Make sure 1 Ω resistor in series to the bypass capacitor on theTX_VCO_LDO_OUT (B11) and RX_VCO_LDO_OUT(G2) as explained in UG-570 power supply section.

  • I skip a calibration step and after this function - "ad9361_tx_quad_calib(phy, real_rx_bandwidth, real_tx_bandwidth, -1);" power consumer of 1.3V is about 0.001A.

    I attach part of schematic for TX_VCO_LDO_OUT, for RX is same.

    The register dump:

    0 0x00
    1 0x00
    2 0xdf
    3 0x5f
    4 0x00
    5 0x00
    6 0x00
    7 0x00
    8 0x00
    9 0x10
    10 0x03
    11 0xdb
    12 0x83
    13 0xe6
    14 0x00
    15 0xe6
    16 0x11
    17 0xec
    18 0x04
    19 0x01
    20 0x29
    21 0x08
    22 0x00
    23 0x00
    24 0x00
    25 0x00
    26 0x00
    27 0x00
    28 0x10
    29 0x01
    30 0x00
    31 0x00
    32 0x33
    33 0x0a
    34 0x0a
    35 0x3f
    36 0x02
    37 0x02
    38 0x00
    39 0x03
    40 0x00
    41 0x00
    42 0x00
    43 0x00
    44 0x00
    45 0x00
    46 0x00
    47 0x00
    48 0x00
    49 0x00
    50 0x00
    51 0x00
    52 0x00
    53 0x00
    54 0xff
    55 0x0a
    56 0x80
    57 0x34
    58 0x00
    59 0x00
    60 0x03
    61 0x00
    62 0x00
    63 0x01
    64 0x00
    65 0x00
    66 0x00
    67 0x00
    68 0x10
    69 0x00
    70 0x09
    71 0x00
    72 0xc5
    73 0xb8
    74 0x2e
    75 0xc2
    76 0x00
    77 0x00
    78 0x00
    79 0x00
    80 0x00
    81 0x00
    82 0x03
    83 0x00
    84 0x00
    85 0x00
    86 0x00
    87 0x3c
    88 0x30
    89 0x00
    90 0x00
    91 0x00
    92 0x00
    93 0x00
    94 0x00
    95 0x00
    96 0x80
    97 0xcd
    98 0x34
    99 0x00
    100 0x00
    101 0x00
    102 0x00
    103 0x13
    104 0x18
    105 0x00
    106 0x00
    107 0x00
    108 0x00
    109 0x00
    110 0x08
    111 0x00
    112 0xc1
    113 0xc1
    114 0x00
    115 0x00
    116 0x00
    117 0x00
    118 0x00
    119 0x00
    120 0x3c
    121 0x00
    122 0x00
    123 0x00
    124 0x00
    125 0x00
    126 0x00
    127 0x00
    128 0x00
    129 0x0f
    130 0x00
    131 0x00
    132 0x00
    133 0x00
    134 0x00
    135 0x00
    136 0x00
    137 0x00
    138 0x00
    139 0x00
    140 0x00
    141 0x00
    142 0x00
    143 0x00
    144 0x00
    145 0x00
    146 0x00
    147 0x00
    148 0x00
    149 0x00
    150 0x00
    151 0x00
    152 0x00
    153 0x00
    154 0x00
    155 0x00
    156 0x00
    157 0x00
    158 0xdf
    159 0x00
    160 0x0c
    161 0x78
    162 0x1f
    163 0x00
    164 0x10
    165 0x06
    166 0x06
    167 0x00
    168 0x00
    169 0x20
    170 0x0a
    171 0x00
    172 0x00
    173 0x00
    174 0x18
    175 0x00
    176 0x00
    177 0x00
    178 0x00
    179 0x00
    180 0x00
    181 0x00
    182 0x00
    183 0x00
    184 0x00
    185 0x00
    186 0x00
    187 0x00
    188 0x00
    189 0x00
    190 0x00
    191 0x00
    192 0x6f
    193 0xef
    194 0x1f
    195 0x1f
    196 0x1f
    197 0x1f
    198 0x1f
    199 0x2a
    200 0x2a
    201 0x2a
    202 0x20
    203 0x00
    204 0x09
    205 0x00
    206 0x00
    207 0x00
    208 0x56
    209 0x0c
    210 0x17
    211 0x60
    212 0x00
    213 0x00
    214 0x01
    215 0x1e
    216 0x05
    217 0x00
    218 0x00
    219 0x00
    220 0x00
    221 0x00
    222 0x00
    223 0x00
    224 0x00
    225 0x00
    226 0x00
    227 0x00
    228 0x00
    229 0x00
    230 0x00
    231 0x00
    232 0x00
    233 0x00
    234 0x00
    235 0x00
    236 0x00
    237 0x00
    238 0x00
    239 0x00
    240 0x6d
    241 0x75
    242 0xe5
    243 0x00
    244 0x00
    245 0x00
    246 0x00
    247 0x00
    248 0x00
    249 0x00
    250 0xe0
    251 0x08
    252 0x03
    253 0x4c
    254 0x44
    255 0xde
    256 0x6f
    257 0x0a
    258 0x29
    259 0x08
    260 0x2f
    261 0x3a
    262 0x25
    263 0x3f
    264 0x1f
    265 0x4c
    266 0x40
    267 0x00
    268 0x4c
    269 0x00
    270 0x00
    271 0x00
    272 0x02
    273 0xca
    274 0x4a
    275 0x4a
    276 0x80
    277 0x00
    278 0x65
    279 0x08
    280 0x3f
    281 0x08
    282 0x1c
    283 0x0a
    284 0x00
    285 0x00
    286 0x00
    287 0x00
    288 0x81
    289 0x0e
    290 0x6b
    291 0xa7
    292 0x4c
    293 0xf9
    294 0x00
    295 0x00
    296 0x0a
    297 0xd7
    298 0xb7
    299 0x00
    300 0x5c
    301 0x00
    302 0x00
    303 0x00
    304 0x80
    305 0x6f
    306 0x38
    307 0x20
    308 0x00
    309 0x00
    310 0x20
    311 0x08
    312 0x00
    313 0x00
    314 0x00
    315 0x3e
    316 0x00
    317 0x00
    318 0x00
    319 0x00
    320 0x76
    321 0x37
    322 0x00
    323 0x00
    324 0x00
    325 0x0b
    326 0x00
    327 0x10
    328 0x04
    329 0x00
    330 0x00
    331 0x00
    332 0x00
    333 0x00
    334 0x00
    335 0x00
    336 0x08
    337 0xee
    338 0x40
    339 0x40
    340 0x40
    341 0x3f
    342 0x1f
    343 0x3f
    344 0x0c
    345 0x22
    346 0x00
    347 0x00
    348 0x15
    349 0xb1
    350 0x00
    351 0x00
    352 0x00
    353 0x00
    354 0x00
    355 0x00
    356 0x00
    357 0x00
    358 0x00
    359 0x00
    360 0x00
    361 0xc0
    362 0x75
    363 0x95
    364 0xff
    365 0x00
    366 0x0b
    367 0x18
    368 0x00
    369 0x00
    370 0x00
    371 0x00
    372 0x1e
    373 0x3b
    374 0x4b
    375 0x6f
    376 0x20
    377 0x00
    378 0x00
    379 0x00
    380 0x00
    381 0x1e
    382 0x3b
    383 0x4b
    384 0x6f
    385 0x20
    386 0x00
    387 0x00
    388 0x00
    389 0x10
    390 0xb4
    391 0x1c
    392 0x05
    393 0x00
    394 0xff
    395 0xad
    396 0x00
    397 0x64
    398 0x00
    399 0x00
    400 0x0d
    401 0x05
    402 0x03
    403 0x3f
    404 0x01
    405 0x00
    406 0x00
    407 0x00
    408 0x00
    409 0x00
    410 0x00
    411 0x00
    412 0x00
    413 0x00
    414 0x00
    415 0x00
    416 0x00
    417 0x00
    418 0x00
    419 0x00
    420 0x00
    421 0x00
    422 0x00
    423 0x00
    424 0x00
    425 0x00
    426 0x00
    427 0x00
    428 0x00
    429 0x00
    430 0x00
    431 0x00
    432 0x77
    433 0x07
    434 0xc0
    435 0x03
    436 0x00
    437 0x00
    438 0x00
    439 0x00
    440 0x08
    441 0x07
    442 0xc0
    443 0x03
    444 0x08
    445 0x07
    446 0xc0
    447 0x03
    448 0x43
    449 0x00
    450 0x00
    451 0x00
    452 0x00
    453 0x00
    454 0x00
    455 0x00
    456 0x59
    457 0x11
    458 0x6d
    459 0xd3
    460 0x50
    461 0x11
    462 0x6d
    463 0xd3
    464 0x50
    465 0x59
    466 0x00
    467 0x00
    468 0x00
    469 0x28
    470 0x4f
    471 0x13
    472 0x00
    473 0x00
    474 0x00
    475 0x60
    476 0xd0
    477 0x16
    478 0xd0
    479 0x16
    480 0x08
    481 0x08
    482 0x03
    483 0x03
    484 0x98
    485 0x98
    486 0x01
    487 0x00
    488 0x60
    489 0x00
    490 0x60
    491 0x00
    492 0x60
    493 0x0e
    494 0x68
    495 0x0e
    496 0xdd
    497 0x0e
    498 0x00
    499 0x21
    500 0x00
    501 0x00
    502 0x00
    503 0x00
    504 0x14
    505 0x1e
    506 0x01
    507 0x05
    508 0x00
    509 0x00
    510 0x00
    511 0x00
    512 0x00
    513 0x00
    514 0x00
    515 0x24
    516 0x24
    517 0x00
    518 0x00
    519 0x3d
    520 0xfb
    521 0x1d
    522 0x25
    523 0x9d
    524 0x26
    525 0x9a
    526 0x00
    527 0x3f
    528 0x3f
    529 0x3f
    530 0x24
    531 0x24
    532 0x24
    533 0x25
    534 0x25
    535 0x25
    536 0x2e
    537 0x8c
    538 0x0f
    539 0x0e
    540 0x8c
    541 0x0f
    542 0x0e
    543 0x8c
    544 0x0f
    545 0x1c
    546 0x1c
    547 0x40
    548 0x40
    549 0x2c
    550 0x00
    551 0x00
    552 0x00
    553 0x00
    554 0x00
    555 0x00
    556 0x00
    557 0x00
    558 0x00
    559 0x00
    560 0x54
    561 0x00
    562 0x00
    563 0x00
    564 0x00
    565 0x00
    566 0x00
    567 0x00
    568 0x00
    569 0x82
    570 0x0a
    571 0x00
    572 0x00
    573 0x80
    574 0x00
    575 0x00
    576 0x00
    577 0x00
    578 0x04
    579 0x0d
    580 0x08
    581 0x00
    582 0x00
    583 0x00
    584 0x07
    585 0x02
    586 0x02
    587 0x40
    588 0x00
    589 0x80
    590 0x00
    591 0x00
    592 0x63
    593 0x08
    594 0x00
    595 0x00
    596 0x00
    597 0x00
    598 0x00
    599 0x00
    600 0x00
    601 0x00
    602 0x00
    603 0x00
    604 0x3b
    605 0x32
    606 0x32
    607 0x00
    608 0x00
    609 0x00
    610 0x00
    611 0x00
    612 0x00
    613 0x00
    614 0x00
    615 0x00
    616 0x00
    617 0x00
    618 0x00
    619 0x00
    620 0x00
    621 0x00
    622 0x00
    623 0x00
    624 0x54
    625 0x00
    626 0x00
    627 0x00
    628 0x00
    629 0x00
    630 0x00
    631 0x00
    632 0x00
    633 0x82
    634 0x0a
    635 0x00
    636 0x00
    637 0x80
    638 0x00
    639 0x00
    640 0x00
    641 0x00
    642 0x04
    643 0x0d
    644 0x08
    645 0x00
    646 0x00
    647 0x00
    648 0x07
    649 0x02
    650 0x02
    651 0x40
    652 0x00
    653 0x80
    654 0x00
    655 0x00
    656 0x63
    657 0x08
    658 0x00
    659 0x00
    660 0x00
    661 0x14
    662 0x00
    663 0x00
    664 0x00
    665 0x80
    666 0x00
    667 0x00
    668 0xff
    669 0xa0
    670 0x00
    671 0x00
    672 0x00
    673 0x00
    674 0x00
    675 0x00
    676 0x00
    677 0x00
    678 0x04
    679 0x00
    680 0x00
    681 0x00
    682 0x00
    683 0x04
    684 0x00
    685 0x00
    686 0x00
    687 0x00
    688 0x4c
    689 0x18
    690 0x00
    691 0x00
    692 0x00
    693 0x4c
    694 0x18
    695 0x00
    696 0x18
    697 0x08
    698 0x00
    699 0x00
    700 0x00
    701 0x00
    702 0x00
    703 0x00
    704 0x00
    705 0x00
    706 0x00
    707 0x00
    708 0x00
    709 0x00
    710 0x00
    711 0x00
    712 0x00
    713 0x00
    714 0x00
    715 0x00
    716 0x00
    717 0x00
    718 0x00
    719 0x00
    720 0x00
    721 0x00
    722 0x00
    723 0x00
    724 0x00
    725 0x00
    726 0x00
    727 0x00
    728 0x00
    729 0x00
    730 0x00
    731 0x00
    732 0x00
    733 0x00
    734 0x00
    735 0x00
    736 0x00
    737 0x00
    738 0x00
    739 0x00
    740 0x00
    741 0x00
    742 0x00
    743 0x00
    744 0x00
    745 0x00
    746 0x00
    747 0x00
    748 0x00
    749 0x00
    750 0x00
    751 0x00
    752 0x00
    753 0x00
    754 0x00
    755 0x00
    756 0x00
    757 0x00
    758 0x00
    759 0x00
    760 0x00
    761 0x00
    762 0x00
    763 0x00
    764 0x00
    765 0x00
    766 0x00
    767 0x00
    768 0x00
    769 0x00
    770 0x00
    771 0x00
    772 0x00
    773 0x00
    774 0x00
    775 0x00
    776 0x00
    777 0x00
    778 0x00
    779 0x00
    780 0x00
    781 0x00
    782 0x00
    783 0x00
    784 0x00
    785 0x00
    786 0x00
    787 0x00
    788 0x00
    789 0x00
    790 0x00
    791 0x00
    792 0x00
    793 0x00
    794 0x00
    795 0x00
    796 0x00
    797 0x00
    798 0x00
    799 0x00
    800 0x00
    801 0x00
    802 0x00
    803 0x00
    804 0x00
    805 0x00
    806 0x00
    807 0x00
    808 0x00
    809 0x00
    810 0x00
    811 0x00
    812 0x00
    813 0x00
    814 0x00
    815 0x00
    816 0x00
    817 0x00
    818 0x00
    819 0x00
    820 0x00
    821 0x00
    822 0x00
    823 0x00
    824 0x00
    825 0x00
    826 0x00
    827 0x00
    828 0x00
    829 0x00
    830 0x00
    831 0x00
    832 0x00
    833 0x00
    834 0x00
    835 0x00
    836 0x00
    837 0x00
    838 0x00
    839 0x00
    840 0x00
    841 0x00
    842 0x00
    843 0x00
    844 0x00
    845 0x00
    846 0x00
    847 0x00
    848 0x00
    849 0x00
    850 0x00
    851 0x00
    852 0x00
    853 0x00
    854 0x00
    855 0x00
    856 0x00
    857 0x00
    858 0x00
    859 0x00
    860 0x00
    861 0x00
    862 0x00
    863 0x00
    864 0x00
    865 0x00
    866 0x00
    867 0x00
    868 0x00
    869 0x00
    870 0x00
    871 0x00
    872 0x00
    873 0x00
    874 0x00
    875 0x00
    876 0x00
    877 0x00
    878 0x00
    879 0x00
    880 0x00
    881 0x00
    882 0x00
    883 0x00
    884 0x00
    885 0x00
    886 0x00
    887 0x00
    888 0x00
    889 0x00
    890 0x00
    891 0x00
    892 0x00
    893 0x00
    894 0x00
    895 0x00
    896 0x00
    897 0x00
    898 0x00
    899 0x00
    900 0x00
    901 0x00
    902 0x00
    903 0x00
    904 0x00
    905 0x00
    906 0x00
    907 0x00
    908 0x00
    909 0x00
    910 0x00
    911 0x00
    912 0x00
    913 0x00
    914 0x00
    915 0x00
    916 0x00
    917 0x00
    918 0x00
    919 0x00
    920 0x00
    921 0x00
    922 0x00
    923 0x00
    924 0x00
    925 0x00
    926 0x00
    927 0x00
    928 0x00
    929 0x00
    930 0x00
    931 0x00
    932 0x00
    933 0x00
    934 0x00
    935 0x00
    936 0x00
    937 0x00
    938 0x00
    939 0x00
    940 0x00
    941 0x00
    942 0x00
    943 0x00
    944 0x00
    945 0x00
    946 0x00
    947 0x00
    948 0x00
    949 0x00
    950 0x00
    951 0x00
    952 0x00
    953 0x00
    954 0x00
    955 0x00
    956 0x00
    957 0x00
    958 0x00
    959 0x00
    960 0x00
    961 0x00
    962 0x00
    963 0x00
    964 0x00
    965 0x00
    966 0x00
    967 0x00
    968 0x00
    969 0x00
    970 0x00
    971 0x00
    972 0x00
    973 0x00
    974 0x00
    975 0x00
    976 0x00
    977 0x00
    978 0x00
    979 0x00
    980 0x00
    981 0x00
    982 0x00
    983 0x00
    984 0x00
    985 0x00
    986 0x00
    987 0x00
    988 0x00
    989 0x00
    990 0x00
    991 0x01
    992 0x00
    993 0x00
    994 0x00
    995 0x00
    996 0x00
    997 0x00
    998 0x00
    999 0x00
    1000 0x00
    1001 0x00
    1002 0x00
    1003 0x00
    1004 0x00
    1005 0x00
    1006 0x00
    1007 0x00
    1008 0x00
    1009 0x00
    1010 0x00
    1011 0x00
    1012 0x00
    1013 0x00
    1014 0x00
    1015 0x00
    1016 0x00
    1017 0x00
    1018 0x00
    1019 0x00
    1020 0xff
    1021 0xff

  • Chip is not configured as you already mentioned the current consumption is so less.

    Try changing the level of reference to 1.2Vp-p.

    Can you change the reference clk to 20,40 and try if every thing works fine? 

  • Oh, I see that... 

    After 2 days I found the bug in phy SPI readf/writef functions. And now I see "succes" status of ad9361_setup() and power consumer of 1.3V is about 0.670A, but I saw interesting moment - without ref_clk I have ret = 0 in ad9361_txrx_synth_cp_calib(), is it normal?

    upd: ref_clk - 10MHz and 0.8Vpp