Hi,
I am testing the AD-FMCLIDAR1-EBZ on Altera Arria 10 Soc Dev Kit by using the latest Linux image (2019_R1-2020_02_04.img).
The DK was able to boot up and detect the chips on the DAQ board (AD9094 and AD9528). However it is failed to detect the chips on the AFE board (AD5627 and AD7091).
Note:
1. 7 resistor are modified that mentioned the master branch of the hdl page.
2. The AFE board was connected to P1 and then P2 of the DAQ board. Still, nothing is detected.
3. I used a oscilloscope to probe the I2C and the SPI of the AFE board, no signal whatsoever.
So here are my questions
1. Is there any special settings on the Altera DK? I am using the default jumper/DIP settings
2. Is there any way to dump I2C/SPI message to the AD5627 or AD7091 using the serial console?
Below are the boot logs FYR.
Any help is appreciated. Thank you very much.
U-Boot 2014.10 (Oct 19 2019 - 02:38:15), Build: jenkins-2019_r1-hdl-projects-ad_fmclidar1_ebz,a10soc-2
CPU : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
I2C: ready
DRAM: WARNING: Caches not enabled
SOCFPGA DWMMC: 0
FPGA: writing socfpga_arria10_socdk.rbf ...
Full Configuration Succeeded.
DDRCAL: Success
INFO : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe386e8
DRAM : 1 GiB
WARNING: Caches not enabled
MMC: *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: SOCFPGA Arria10 Dev Kit
Net: dwmac.ff800000
Hit any key to stop autoboot: 0
FPGA must be in Early Release mode to program core.
fpga - loadable FPGA image support
** Unable to read file u-boot.scr **
5113184 bytes read in 236 ms (20.7 MiB/s)
31796 bytes read in 4 ms (7.6 MiB/s)
FPGA BRIDGES: enable
Kernel image @ 0x010000 [ 0x000000 - 0x4e0560 ]
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x000100
Loading Device Tree to 01ff5000, end 01fffc33 ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.73-ltsi-ge70c7af (jenkins@romlxbuild1.adlk.analog.com) (gcc version 7.3.1 20180314 (Linaro GCC 7.3-2018.04-rc3)) #14 SMP Thu Dec 19 16:21:13 GMT 2019
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Altera SOCFPGA Arria 10
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 128 MiB at 0x38000000
[ 0.000000] percpu: Embedded 16 pages/cpu @ef7c1000 s35916 r8192 d21428 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 892924K/1048576K available (7168K kernel code, 813K rwdata, 5208K rodata, 1024K init, 133K bss, 24580K reserved, 131072K cma-reserved, 131072K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc0f00000 (1024 kB)
[ 0.000000] .data : 0xc0f00000 - 0xc0fcb5c8 ( 814 kB)
[ 0.000000] .bss : 0xc0fd1ae4 - 0xc0ff3198 ( 134 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] ftrace: allocating 25177 entries in 74 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
[ 0.000000] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000005] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[ 0.000014] Switching to timer-based delay loop, resolution 10ns
[ 0.000214] Console: colour dummy device 80x30
[ 0.000236] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
[ 0.000248] pid_max: default: 32768 minimum: 301
[ 0.000333] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000342] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000769] CPU: Testing write buffer coherency: ok
[ 0.000963] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001300] Setting up static identity map for 0x100000 - 0x100060
[ 0.001404] Hierarchical SRCU implementation.
[ 0.001776] smp: Bringing up secondary CPUs ...
[ 0.002346] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.002438] smp: Brought up 1 node, 2 CPUs
[ 0.002450] SMP: Total of 2 processors activated (400.00 BogoMIPS).
[ 0.002455] CPU: All CPU(s) started in SVC mode.
[ 0.003229] devtmpfs: initialized
[ 0.007167] random: get_random_u32 called from bucket_table_alloc+0x108/0x234 with crng_init=0
[ 0.007394] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.007552] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.007568] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.011810] NET: Registered protocol family 16
[ 0.013475] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.014265] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.014278] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.032118] SCSI subsystem initialized
[ 0.032365] usbcore: registered new interface driver usbfs
[ 0.032415] usbcore: registered new interface driver hub
[ 0.032473] usbcore: registered new device driver usb
[ 0.032622] usb_phy_generic soc:usbphy: soc:usbphy supply vcc not found, using dummy regulator
[ 0.033653] lcd_load_custom_fonts: i2c_master_send returns -121
[ 0.033888] lcd_cmd_no_params: i2c_master_send returns -121
[ 0.034114] lcd_cmd_one_param: i2c_master_send returns -121
[ 0.040127] lcd_cmd_no_params: i2c_master_send returns -121
[ 0.040146] lcd-comm 0-0028: LCD driver initialized
[ 0.040761] pps_core: LinuxPPS API ver. 1 registered
[ 0.040772] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.040800] PTP clock support registered
[ 0.040975] FPGA manager framework
[ 0.042009] clocksource: Switched to clocksource timer1
[ 0.082628] NET: Registered protocol family 2
[ 0.083076] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.083139] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.083240] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.083330] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.083375] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.083521] NET: Registered protocol family 1
[ 0.083988] RPC: Registered named UNIX socket transport module.
[ 0.083997] RPC: Registered udp transport module.
[ 0.084003] RPC: Registered tcp transport module.
[ 0.084008] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.085510] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.090481] NFS: Registering the id_resolver key type
[ 0.090511] Key type id_resolver registered
[ 0.090517] Key type id_legacy registered
[ 0.090549] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.090744] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.091462] bounce: pool size: 64 pages
[ 0.091478] io scheduler noop registered (default)
[ 0.091485] io scheduler mq-deadline registered
[ 0.091490] io scheduler kyber registered
[ 0.095677] dma-pl330 ffda1000.pdma: Loaded driver for PL330 DMAC-341330
[ 0.095692] dma-pl330 ffda1000.pdma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
[ 0.099715] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.100654] console [ttyS0] disabled
[ 0.100700] ffc02100.serial1: ttyS0 at MMIO 0xffc02100 (irq = 37, base_baud = 6250000) is a 16550A
[ 0.722096] console [ttyS0] enabled
[ 0.726876] brd: module loaded
[ 0.753128] spi_altera ff200040.spi: base f0879040, irq 40
[ 0.759060] spi_altera ff200060.spi: base f087b060, irq 41
[ 0.765049] spi_altera ff200080.spi: base f087d080, irq 42
[ 0.770841] spi spi3.0: setup: unsupported mode bits 2
[ 0.775989] spi_altera ff2000a0.spi: can't setup spi3.0, status -22
[ 0.782246] spi_master spi3: spi_device register error /soc/bridge@ff200000/spi@a0/ad7091@0
[ 0.790563] spi_master spi3: Failed to create SPI device for /soc/bridge@ff200000/spi@a0/ad7091@0
[ 0.799404] spi_altera ff2000a0.spi: base f09160a0, irq 43
[ 0.805819] libphy: Fixed MDIO Bus: probed
[ 0.810531] CAN device driver interface
[ 0.814827] socfpga-dwmac ff800000.ethernet: PTP uses main clock
[ 0.820972] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 0.826040] socfpga-dwmac ff800000.ethernet: Ring mode enabled
[ 0.831848] socfpga-dwmac ff800000.ethernet: DMA HW capability register supported
[ 0.839306] socfpga-dwmac ff800000.ethernet: Enhanced/Alternate descriptors
[ 0.846243] socfpga-dwmac ff800000.ethernet: Enabled extended descriptors
[ 0.853005] socfpga-dwmac ff800000.ethernet: RX Checksum Offload Engine supported
[ 0.860452] socfpga-dwmac ff800000.ethernet: COE Type 2
[ 0.865660] socfpga-dwmac ff800000.ethernet: TX Checksum insertion supported
[ 0.872682] socfpga-dwmac ff800000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.887790] libphy: stmmac: probed
[ 0.891186] Micrel KSZ9031 Gigabit PHY stmmac-0:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[ 0.904763] dwc2 ffb00000.usb: ffb00000.usb supply vusb_d not found, using dummy regulator
[ 0.913069] dwc2 ffb00000.usb: ffb00000.usb supply vusb_a not found, using dummy regulator
[ 0.921430] dwc2 ffb00000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
[ 0.929243] dwc2 ffb00000.usb: DWC OTG Controller
[ 0.933976] dwc2 ffb00000.usb: new USB bus registered, assigned bus number 1
[ 0.941016] dwc2 ffb00000.usb: irq 38, io mem 0xffb00000
[ 0.946451] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.953228] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.960416] usb usb1: Product: DWC OTG Controller
[ 0.965122] usb usb1: Manufacturer: Linux 4.14.73-ltsi-ge70c7af dwc2_hsotg
[ 0.971964] usb usb1: SerialNumber: ffb00000.usb
[ 0.976990] hub 1-0:1.0: USB hub found
[ 0.980753] hub 1-0:1.0: 1 port detected
[ 0.985331] usbcore: registered new interface driver usb-storage
[ 0.991885] rtc-ds1307: probe of 0-0068 failed with error -121
[ 0.997788] i2c /dev entries driver
[ 1.001478] IR NEC protocol handler initialized
[ 1.006016] IR RC5(x/sz) protocol handler initialized
[ 1.011045] IR RC6 protocol handler initialized
[ 1.015571] IR JVC protocol handler initialized
[ 1.020079] IR Sony protocol handler initialized
[ 1.024681] IR SANYO protocol handler initialized
[ 1.029361] IR Sharp protocol handler initialized
[ 1.034049] IR MCE Keyboard/mouse protocol handler initialized
[ 1.039853] IR XMP protocol handler initialized
[ 1.047824] ltc2978: probe of 0-005c failed with error -121
[ 1.054106] Synopsys Designware Multimedia Card Interface Driver
[ 1.060194] dw_mmc ff808000.dwmmc0: 'num-slots' was deprecated.
[ 1.066231] dw_mmc ff808000.dwmmc0: IDMAC supports 32-bit address mode.
[ 1.072902] dw_mmc ff808000.dwmmc0: Using internal DMA controller.
[ 1.079060] dw_mmc ff808000.dwmmc0: Version ID is 270a
[ 1.084225] dw_mmc ff808000.dwmmc0: DW MMC controller at irq 31,32 bit host data width,1024 deep fifo
[ 1.093489] mmc_host mmc0: card is polling.
[ 1.122001] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 1.152441] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.158600] usbcore: registered new interface driver usbhid
[ 1.164180] usbhid: USB HID core driver
[ 1.169304] ltc2471 0-0014: Cannot read from device.
[ 1.174306] ltc2471: probe of 0-0014 failed with error -121
[ 1.203813] fpga_manager fpga0: SoCFPGA Arria10 FPGA Manager registered
[ 1.210902] oprofile: no performance counters
[ 1.215421] oprofile: using timer interrupt.
[ 1.220314] NET: Registered protocol family 10
[ 1.225465] Segment Routing with IPv6
[ 1.229160] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.235549] NET: Registered protocol family 17
[ 1.239988] NET: Registered protocol family 15
[ 1.244430] can: controller area network core (rev 20170425 abi 9)
[ 1.250634] NET: Registered protocol family 29
[ 1.255075] can: raw protocol (rev 20170425)
[ 1.259325] can: broadcast manager protocol (rev 20170425 t)
[ 1.264969] can: netlink gateway (rev 20170425) max_hops=1
[ 1.270587] 8021q: 802.1Q VLAN Support v1.8
[ 1.274806] Key type dns_resolver registered
[ 1.279117] ThumbEE CPU extension supported.
[ 1.283384] Registering SWP/SWPB emulation handler
[ 1.290772] ad9528 spi1.0: spi1.0 supply vcc not found, using dummy regulator
[ 1.308342] random: fast init done
[ 1.314290] altera-a10-fpll ff245000.altera-a10-fpll: FPLL PLL calibration OK (1400 us)
[ 1.326990] altera_adxcvr ff244000.axi-adxcvr-rx: Lane 0 CDR/CMU PLL & RX offset calibration OK (3000 us)
[ 1.340485] altera_adxcvr ff244000.axi-adxcvr-rx: Lane 1 CDR/CMU PLL & RX offset calibration OK (3800 us)
[ 1.353167] altera_adxcvr ff244000.axi-adxcvr-rx: Lane 2 CDR/CMU PLL & RX offset calibration OK (3000 us)
[ 1.365423] altera_adxcvr ff244000.axi-adxcvr-rx: Lane 3 CDR/CMU PLL & RX offset calibration OK (2600 us)
[ 1.375032] altera_adxcvr ff244000.axi-adxcvr-rx: Altera ADXCVR (17.01.a) probed
[ 1.383150] altera_adxcvr ff244000.axi-adxcvr-rx: Setting link rate to 250000000 (lane rate: 10000000)
[ 1.394122] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
[ 1.403315] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
[ 1.403359] axi-pulse-capture ff260000.axi-pulse-capture: Analog Devices axi_pulse_capture (1.00.a) at 0xFF260000 mapped to 0xf0980000
[ 1.404169] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.404228] mmc0: new high speed SDHC card at address aaaa
[ 1.404599] mmcblk0: mmc0:aaaa SB16G 14.8 GiB
[ 1.431479] ad9680 spi0.0: AD9094 PLL LOCKED
[ 1.448305] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
[ 1.457442] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
[ 1.466611] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
[ 1.475770] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
[ 1.484899] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
[ 1.485064] cf_axi_adc ff250000.axi-ad9094-hpc: ADI AIM (10.01.b) at 0xFF250000 mapped to 0xf09a0000, probed ADC AD9094 as MASTER
[ 1.485450] of_cfs_init
[ 1.485513] of_cfs_init: OK
[ 1.489414] mmcblk0: p1 p2 p3
[ 1.513912] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
[ 1.523086] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:0, saved_en:0
[ 1.532204] ttyS0 - failed to request DMA
[ 1.532207] axi-pulse-capture ff260000.axi-pulse-capture: IRQ enter, pending:0x06, otw:1, saved_en:0
[ 1.561887] EXT4-fs (mmcblk0p2): recovery complete
[ 1.566733] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.574878] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.591215] devtmpfs: mounted
[ 1.597248] Freeing unused kernel memory: 1024K
[ 1.684764] random: crng init done
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
[ 2.102751] init: hwclock main process (777) terminated with status 1
* Setting up X socket directories... [ OK ]
* STARTDISTCC is set to false in /etc/default/distcc
* /usr/bin/distccd not starting
* Starting IIO Daemon iiod mkdir: cannot create directory '/sys/kernel/config/usb_gadget/ffs': No such file or directory
/etc/rc2.d/S99iiod: 42: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/idVendor: Directory nonexistent
/etc/rc2.d/S99iiod: 43: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/idProduct: Directory nonexistent
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/ffs/strings/0x409': No such file or directory
/etc/rc2.d/S99iiod: 46: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/strings/0x409/manufacturer: Directory nonexistent
/etc/rc2.d/S99iiod: 47: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/strings/0x409/product: Directory nonexistent
/etc/rc2.d/S99iiod: 48: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/strings/0x409/serialnumber: Directory nonexistent
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/ffs/functions/ffs.iio_ffs': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/ffs/configs/c.1': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/ffs/configs/c.1/strings/0x409': No such file or directory
/etc/rc2.d/S99iiod: 53: /etc/rc2.d/S99iiod: cannot create /sys/kernel/config/usb_gadget/ffs/configs/c.1/strings/0x409/configuration: Directory nonexistent
mkdir: cannot create directory '/sys/kernel/config/usb_gadget': Operation not permitted
ln: failed to create symbolic link '/sys/kernel/config/usb_gadget/ffs/configs/c.1/ffs.iio_ffs': No such file or directory
ln: failed to create symbolic link '/sys/kernel/config/usb_gadget/ffs/configs/c.1': No such file or directory
mount: unknown filesystem type 'functionfs'
[ OK ]
Last login: Thu Jan 1 00:00:16 UTC 1970 on tty1
Welcome to Linaro 14.04 (GNU/Linux 4.14.73-ltsi-ge70c7af armv7l)
* Documentation: https://wiki.analog.com/ https://ez.analog.com/
New release '16.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
root@analog:~#
root@analog:~# iio_info
Library version: 0.18 (git tag: 8d6ad29)
Compiled with backends: local xml ip
IIO context created with local backend.
Backend version: 0.18 (git tag: 8d6ad29)
Backend description string: Linux analog 4.14.73-ltsi-ge70c7af #14 SMP Thu Dec 19 16:21:13 GMT 2019 armv7l
IIO context has 1 attributes:
local,kernel: 4.14.73-ltsi-ge70c7af
IIO context has 5 devices:
iio:device0: ad5627
2 channels found:
voltage1: (output)
5 channel-specific attributes found:
attr 0: powerdown value: 0
attr 1: powerdown_mode value: 1kohm_to_gnd
attr 2: powerdown_mode_available value: 1kohm_to_gnd 100kohm_to_gnd three_state
attr 3: raw value: 2048
attr 4: scale value: 1.220703125
voltage0: (output)
5 channel-specific attributes found:
attr 0: powerdown value: 0
attr 1: powerdown_mode value: 1kohm_to_gnd
attr 2: powerdown_mode_available value: 1kohm_to_gnd 100kohm_to_gnd three_state
attr 3: raw value: 2048
attr 4: scale value: 1.220703125
iio:device1: pll
1 channels found:
altvoltage0: (output)
10 channel-specific attributes found:
attr 0: frequency value: 1000000000
attr 1: mute_till_lock_detect value: 1
attr 2: muxout_mode value: lock-detect
attr 3: muxout_mode_available value: three-state lock-detect ndiv dvdd rdiv od-ld sdo gnd
attr 4: pfd_frequency value: 2500000
attr 5: power_down value: normal
attr 6: power_down_available value: normal soft-async ce soft-sync regulator
attr 7: power_level value: 5000-uA
attr 8: power_level_available value: 3500-uA 5000-uA 7500-uA 11000-uA
attr 9: refin_frequency value: 25000000
1 debug attributes found:
debug attr 0: direct_reg_access value: 0xB5920
iio:device2: ad9528
5 channels found:
altvoltage3: ADC_DEV_CLK (output)
3 channel-specific attributes found:
attr 0: frequency value: 250000000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage1: CLK_SYSREF_ADC (output)
3 channel-specific attributes found:
attr 0: frequency value: 7812500
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage4: EXT_REFCLK_TO_F (output)
3 channel-specific attributes found:
attr 0: frequency value: 250000000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage0: ADC_SAMPLE_CLK (output)
3 channel-specific attributes found:
attr 0: frequency value: 1000000000
attr 1: phase value: 0.000000
attr 2: raw value: 1
altvoltage2: SYSREF_TO_FPGA (output)
3 channel-specific attributes found:
attr 0: frequency value: 7812500
attr 1: phase value: 0.098174
attr 2: raw value: 1
9 device-specific attributes found:
attr 0: pll1_feedback_clk_present value: 1
attr 1: pll1_locked value: 0
attr 2: pll1_reference_clk_a_present value: 0
attr 3: pll1_reference_clk_ab_missing value: 1
attr 4: pll1_reference_clk_b_present value: 0
attr 5: pll2_feedback_clk_present value: 0
attr 6: pll2_locked value: 0
attr 7: sync_dividers ERROR: Input/output error (-5)
attr 8: vcxo_clk_present value: 1
1 debug attributes found:
debug attr 0: direct_reg_access value: 0x18
iio:device3: ff260000.axi-pulse-capture
1 channels found:
altvoltage0: (output)
3 channel-specific attributes found:
attr 0: en value: 1
attr 1: frequency value: 50000
attr 2: pulse_width_ns value: 20
6 device-specific attributes found:
attr 0: sequencer_auto_cfg value: 0 1 2 3
attr 1: sequencer_en value: 0
attr 2: sequencer_manual_chsel value: 0 0 0 0
attr 3: sequencer_mode value: auto
attr 4: sequencer_mode_available value: auto manual
attr 5: sequencer_pulse_delay_ns value: 0
1 debug attributes found:
debug attr 0: direct_reg_access value: 0x10061
iio:device4: axi-ad9094-hpc (buffer capable)
5 channels found:
voltage0: (input, index: 0, format: le:S8/8>>0)
5 channel-specific attributes found:
attr 0: sampling_frequency value: 1000000000
attr 1: scale value: 8.437500
attr 2: scale_available value: 5.625000 6.093750 6.562500 7.031250 7.500000 7.968750 8.437500
attr 3: test_mode value: off
attr 4: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle user ramp
voltage1: (input, index: 1, format: le:S8/8>>0)
5 channel-specific attributes found:
attr 0: sampling_frequency value: 1000000000
attr 1: scale value: 8.437500
attr 2: scale_available value: 5.625000 6.093750 6.562500 7.031250 7.500000 7.968750 8.437500
attr 3: test_mode value: off
attr 4: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle user ramp
voltage2: (input, index: 2, format: le:S8/8>>0)
5 channel-specific attributes found:
attr 0: sampling_frequency value: 1000000000
attr 1: scale value: 8.437500
attr 2: scale_available value: 5.625000 6.093750 6.562500 7.031250 7.500000 7.968750 8.437500
attr 3: test_mode value: off
attr 4: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle user ramp
voltage3: (input, index: 3, format: le:S8/8>>0)
5 channel-specific attributes found:
attr 0: sampling_frequency value: 1000000000
attr 1: scale value: 8.437500
attr 2: scale_available value: 5.625000 6.093750 6.562500 7.031250 7.500000 7.968750 8.437500
attr 3: test_mode value: off
attr 4: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle user ramp
voltage4: (input, index: 4, format: le:S8/8>>0)
5 channel-specific attributes found:
attr 0: sampling_frequency value: 1000000000
attr 1: scale value: 8.437500
attr 2: scale_available value: 5.625000 6.093750 6.562500 7.031250 7.500000 7.968750 8.437500
attr 3: test_mode value: off
attr 4: test_mode_available value: off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle user ramp
3 buffer-specific attributes found:
attr 0: data_available value: 0
attr 1: length_align_bytes value: 8
attr 2: watermark value: 2048
2 debug attributes found:
debug attr 0: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error
CH1 : PN9 : Out of Sync : PN Error
CH2 : PN9 : Out of Sync : PN Error
CH3 : PN9 : Out of Sync : PN Error
debug attr 1: direct_reg_access value: 0x0
root@analog:~#
----Try to read the registers of different devices----
root@analog:~# iio_reg iio:device0 0
Unable to read register: No such file or directory
root@analog:~# iio_reg iio:device1 0
0xb5920
root@analog:~# iio_reg iio:device2 0
0x18
root@analog:~# iio_reg iio:device3 0
0x10061
root@analog:~# iio_reg iio:device4 0
0x0