I am using AD9209 in the following configuration
I am getting a Pre Clock Boot Sequence Error.
With the oscilloscope, I can see the 250MHz for the ADC on my custom board.
I am not able to find any description for the 0x3740 to 0x3743 registers.
LOG:
Hello World
ads9_hw_open: SPI (AD9209@0x44A70000, HMC7044@0x44A00000) GPIO ch2: rstb=1 rxen=1 hmc_sync=0
Found connected device board: AD9209-FMCA-EBZ RevA
On board crystal select: 100000000Hz
adi_ad9209_device_api_revision_get(...)
AD9209 API v1.7.0
FPGA Image v0 sv0
APP: Configure Usecase:42, Tx Path: DAC Clk: 6000000000, JESD Rx Mode: 0 & Rx Path: ADC CLK: 20000000
adi_ad9209_device_reset(...)
APP: Tx Lane Rate : 0 Rx0 Lane Rate: 10000000000 Rx1 Lane Rate : 0
APP: Configure Platform Reference Clocks
APP: Reference Clocks Configured
APP: Configure FPGA JESD Interfaces
APP: FPGA JESD Interfaces Configured
APP: Configure ad9209 Device
adi_ad9209_device_reset(...)
ad9209: w@0000 = 81
ad9209: w@0000 = 00
adi_ad9209_device_init(...)
api v1.7.0 commit 5fc9176 for ad9209
host is using little endian mode.
adi_ad9209_device_spi_config(...)
ad9209: w@0000 = 3c
adi_ad9209_device_reg8_access_check(...)
ad9209: r@801c = ff
ad9209: w@001c = 5a
ad9209: r@801c = 5a
ad9209: w@001c = a5
ad9209: r@801c = a5
ad9209: w@001c = ff
adi_ad9209_device_power_status_check(...)
ad9209: r@8210 = 3f
ad9209: r@8211 = 0f
ad9209: r@8212 = 3f
ad9209: r@8213 = 3f
adi_ad9209_device_clk_config_set(...)
adi_ad9209_device_boot_pre_clock(...)
ad9209: r@b742 = 33 (100 TIMES)
Pre Clock Boot Sequence Error
Please check power supplies (no open, no short, no big glitches)
Ensure Clocks are available
ad9209: r@b740 = 02
ad9209: r@b741 = 60
ad9209: r@b742 = 33
ad9209: r@b743 = 00
adi_ad9209_device_clk_pll_lock_status_get(...)
ad9209: w@00d0 = 0a
ad9209: r@80d0 = 0a
ad9209: w@00ec = 22
ad9209: r@80ec = 26
ad9209: r@a008 = 02
APP: Clock Configuration error