I am reading two AD7291 built-in temperature sensor but I obtain very high values that oscillates 4 Celsius.
I am reading the two AD7291 using python from a Raspberry. This is the code:
bus.write_word_data(addr_v, 0x00, 0x8000)
On my board there is no AD7291 and iio:device0 is the correct device.
To Lar's point, the AD7291 on the DAQ2 board should be monitoring most of the voltages on the board.
running 'osc' and going to the "DMM" tab, and reading all the voltages - might tell us what is going on.
Sorry -- wrong…
Ok, so what values are you reading with the AD7291 now?
Only the AD7291 should be powered and accessed by another MCU. What are the jumper configurations?
Can you please take a look in:
ad7291 baremetal example issue
Thank you for the assistance,
many thanks for your answer! I think the AD7291 is the ideal part here.
I do not get errors, but when I tip 'iio_attr -c' it does not return my iio device. Only get ad7291 and xadc devices.
Sorry, I need to fish through more datasheets, but quickly looking at diagrams of the FMCOMMS3-EBZ to FPGA reference builds, it looks like the A/D function is straight from the AD9361 to the FPGA for 12 bit samples. I don't see where/how the AD7291 comes…
The AD7291 is used as a diagnostic chip monitoring all the voltages on the board. It is used to detect faults and abnormal conditions. It is not required for normal operation of the AD9361.