AD7091R-8

Hello
I'm trying to set up communication with AD7091R-8. In setup I send following SPI command: 0X0CFF, 0X08FF, 0XFFFF, 0XFFFF, 0X00FF. Then I periodically send 0X0020 and I'm trying to read channel 5. I'd like to read one channeland them sequential readings. I inserted pictures from the logic analyzer into the attachment. I guess I'm getting bad data. Could you help me.

Thank you

Lukáš Mistr

attachments.zip
Parents
  • 0
    •  Analog Employees 
    on Mar 3, 2018 5:29 AM

    Hi Lukas,

       On your application, please correct me if I understand it correctly, you wanted to read Ch5 only? The AD7091R-8 has channel register. This register determines what channel you want to include in the conversion. The sequence is from the lowest channel number to the highest. The conversion result then will be read by sending a read command. The SDO will clock out the results. The conversion result will include the Channel ID of the converted channel.

      In your commands, it is okay to send write command to convert ch5 which will be 0x0820. Then a read command. The output should include if it is ch5 result in binary [101+alert+Conv result].

    Regards,

    Jonathan

Reply
  • 0
    •  Analog Employees 
    on Mar 3, 2018 5:29 AM

    Hi Lukas,

       On your application, please correct me if I understand it correctly, you wanted to read Ch5 only? The AD7091R-8 has channel register. This register determines what channel you want to include in the conversion. The sequence is from the lowest channel number to the highest. The conversion result then will be read by sending a read command. The SDO will clock out the results. The conversion result will include the Channel ID of the converted channel.

      In your commands, it is okay to send write command to convert ch5 which will be 0x0820. Then a read command. The output should include if it is ch5 result in binary [101+alert+Conv result].

    Regards,

    Jonathan

Children
No Data