I am working with AD7616 and interfacing with MC9s12xdp512 controller using spi. I am using the software serial mode. I am unable to write and read the registers properly. Please provide the code for accesing AD7616 using spi.

I am working with AD7616 and interfacing with MC9s12xdp512 controller using spi. I am using the software serial mode. I am unable to write and read the registers properly. Please provide the code for accesing AD7616 using spi.

Parents
  • 0
    •  Analog Employees 
    on May 17, 2017 12:29 AM

    Hi Vara,

       

       There is AD7616 wiki page that has information on software driver that can use as your reference. Figure 59 and 60 details the timing diagram when writing to and reading from AD7616. It is recommended to perform reset after AD7616 power up. This will ensure that the AD7616 is in a known state.  If you can share your scope plots of your signal it will help us have a better understanding of the problem.

    Regards,

    Jonathan

Reply
  • 0
    •  Analog Employees 
    on May 17, 2017 12:29 AM

    Hi Vara,

       

       There is AD7616 wiki page that has information on software driver that can use as your reference. Figure 59 and 60 details the timing diagram when writing to and reading from AD7616. It is recommended to perform reset after AD7616 power up. This will ensure that the AD7616 is in a known state.  If you can share your scope plots of your signal it will help us have a better understanding of the problem.

    Regards,

    Jonathan

Children
No Data