mismatching between device driver and HDL code for ad7606b. kindly share updated device driver.

Hi    , we are trying to build hdl as well as linux build for ad7606b , for that we refer HDL design of ad7616 from ADi git repo (branch 2019_r2).Hdl design uses s[i engine or serial interface with busy signal connected to offload engine. and there is control logic block to generate  CNVST signal. But Linux device driver code for ad7606 from ADI git repo (branch: altera_4.19 /2021_r1) is based on Busy signal on interrupt line and interrupt handler. Cnvst signal assigned to GPIO pin and so rest of driver is as per that. so there is mismatch between device driver code logic and HDL logic for ad7606b. Request you to share updated or matching/ suitable device driver for ad7606b and also updated device tree file (dts file). Or pls suggest other method.

https://github.com/analogdevicesinc/hdl/tree/hdl_2019_r2/projects/ad7616_sdz/common

https://github.com/analogdevicesinc/hdl/tree/hdl_2019_r2/library/axi_ad7616

https://github.com/analogdevicesinc/linux/tree/2019_R2/drivers/iio/adc

regards,

shivshankar



added tags
[edited by: Shivashankar at 10:41 AM (GMT -4) on 1 Jun 2021]
  • 0
    •  Analog Employees 
    on Jun 3, 2021 2:54 PM

    Hello,

    We are currently trying to establish if the hdl is compatible and we will get back to you.

    ~Sergiu

  • hi , we are arrow offshore team trying to port  design for AD7606b on intel altera cyclone v board. we are facing problem porting drivers on linux as HDL reference code from ADI repo is different wrt device drivers for ad7606b as per driver it uses GPIO interrupt based ADC data reading . we request you to help us and share reference code to enable  and use offload engine for ADC data read (4 SDI lines) external trigger signal (BUSY from ad7606b) .

    regards, 

    shivshankar 

  • 0
    •  Analog Employees 
    on Jun 14, 2021 12:37 PM in reply to Shivashankar

    hi. at this moment we do not have hdl support specifically for the AD7606b. from my understanding the AD7616_SDZ hdl was recommended to you since it has some similarities. unfortunately there is some problem with the AD7616 hdl at the moment. we are currently working to fix the project. another aspect to keep in mind is that we do not have intel support for this project at this time.

    ~Sergiu

  • hi we are arrow offshore team working on intel fpga support for ad7606b , yes we  refer AD7616HDL and done modification for ad7606b, now we want to modify driver for ad7606b, but we are getting issue. here iio_trigger is allocated in ADi reference drivers and we tried with iio_dmaengine  allocation in driver also but getting same issue. issue is when we click play button in IIOscope for adc data read postenable function is called followed by predisable function even if stop button in not pressed in IIoscope. this auto calling of predisable function is after some specific time whenever postenable function is called.

    request you to kindly guide us or help us to solve this issue. predisable function should not be called unless until stop button is pressed. which other event/function is calling predisable function.

    regards, 

    shivashankar Thati

  • 0
    •  Analog Employees 
    on Jun 14, 2021 1:27 PM in reply to Shivashankar

    it's possible that you are dealing with an hdl issue