Other Parts Discussed in Thread: UCC27524, UCC27523, ADS1261
Tool/software:
I am trying to make very simple 2-wire measurement. I got 1kohm resistor between AIN0 and AINCOM, nothing extra connected.
I am doing following settings in console(apperantly GUI register map window, doesnt change these, so im running them in console)
// 1) REF
// REFENB=0 (disable internal 2.5 V ref, use 5V)
// RMUXP=INT reference P
// RMUXN=INT reference N
WREG 06 00
// 2) INPMUX
// MUXP=AIN0
// MUXN=AINCOM
WREG 11 10
// 3) PGA_GAIN
// PGA_GAIN=1 V/V (default)
WREG 10 00
// 4) MODE0
// FILTER=SINC4
// DR=100 SPS
WREG 02 3B
// 5) MODE1
// CHOP:normal mode
// CONVRT=Pulse (one-shot) mode
// DELAY 17.8ms
WREG 03 1D
// 6) IMAG
// IMAG1=1000 µA
WREG 0E 06
//7 IMUX)
// IMUX1=AIN0
WREG 0D F0
and then running RDATA command on console, gives me 0x00F5B4
That is 0.037491322 Volts.
meaning with my 1mA current it is 37.5ohms. Not 1kohm that i have connected between AIN0 and AINCOM
What i am doing wrong?