Post Go back to editing

How to get access to AD9361 registers

Dear ADI Technical Support:

I bought AD-FMCOMMS5-EBZ and ZC706 eval boards. I downloaded Xilinx tool and was able to use its self test feature to test the ZC706 board. I surfed around ADI website but am not sure how to use these two boards to bet access to the AD9361 registers; and I am not familiar with Linux either. Is there any tutorial to demonstrate how to use them, and step by step document for Linux beginner? Thank you very much.

Ming 

Parents
  • Could anyone give an example to set the  FORMAT_SIGNEXT bit in the REG_CHAN_CNTRL register using the direct_reg_access?  should I use ad9631-phy or cf-ad9631-lpc? Thanks. Is the following correct?

    >cd /sys/kernel/debug/iio/iio\:device4  # device4 is the cf-ad9631-lpc

    >echo 0x80000400 0x40 > direct_reg_access

     

Reply
  • Could anyone give an example to set the  FORMAT_SIGNEXT bit in the REG_CHAN_CNTRL register using the direct_reg_access?  should I use ad9631-phy or cf-ad9631-lpc? Thanks. Is the following correct?

    >cd /sys/kernel/debug/iio/iio\:device4  # device4 is the cf-ad9631-lpc

    >echo 0x80000400 0x40 > direct_reg_access

     

Children