![Linear Analog Devices DC2732A Demo Manual Download Page 56](http://html1.mh-extra.com/html/linear/analog-devices-dc2732a/analog-devices-dc2732a_demo-manual_1921771056.webp)
56
Rev. 0
APPENDIX D: MEASURE HALL SENSOR WITH DC2732A_BASIC
For easy evaluation without changing the Linduino sketch, the external sensor (e.g., hall sensor) could be connected
to the BAT (BATP-BATM) input of the demoboard.
tDut,I1,P1,BAT,Tntc,TIC,fI2,fBAT,fifoCnt,fifoI2Avg,fifoBATAvg,OK/ERR
Measurements of BAT are reported twice by DC2732A_BASIC. BAT is from the slow channel, f
BAT
is from the fast
channel (average of 128 samples). As also the current is reported from the fast channel as average of 128 samples,
it is reasonable to compare f
BAT
and fI2 for evaluation of LTC2949’s current channel and compare it to a hall sensor.
Alternatively, the Sketch can be changed to measure also SLOT2 and configure this slot to measure the hall sensor volt-
age output e.g., on V3(hall+)-V4(hall-). Within DC2732A_BASIC.ino search for following code and comment “
#undef
ADD_SLOT2_MEASUREMENT
” as shown here.
// enable measurement of Vx-Vy via SLOT2
#define ADD_SLOT2_MEASUREMENT
// disable measurement of Vx-Vy via SLOT2
//#undef ADD_SLOT2_MEASUREMENT
#define SLOT2_MEAS_POS 3
#define SLOT2_MEAS_NEG 4
As default now also SLOT2 measurement is reported. See also CSV header:
tDut,I1,P1,BAT,Tntc,S2,TIC,fI2,fBAT,fifoCnt,fifoI2Avg,fifoBATAvg,OK/ERR
S2 is the report of slot2 in volts.
Example output:
tDut,I1,P1,BAT,Tntc,S2,TIC,fI2,fBAT,fifoCnt,fifoI2Avg,fifoBATAvg,OK/ERR
STAT:0x10000000000000000000,OK
STAT:0x10000000000000000000,OK
6499,0.010881,0.013448,1.236,26.2,0.5966,27.6,0.00336,1.235,132,0.008124,1.236,OK
99,0.002108,0.002609,1.234,26.2,0.1725,27.6,0.00014,1.233,126,0.000994,1.234,OK
99,0.001046,0.001296,1.233,26.2,0.0030,27.6,0.00526,1.232,127,0.002169,1.233,OK
99,0.008098,0.009969,1.231,26.2,0.1714,27.6,0.01690,1.230,126,0.010967,1.231,OK
99,0.020582,0.025308,1.229,26.2,0.6131,27.6,0.03084,1.228,129,0.024189,1.229,OK
99,0.033752,0.041447,1.228,26.2,1.1603,27.6,0.04123,1.227,126,0.036727,1.228,OK
99,0.042602,0.052245,1.226,26.2,1.6050,27.6,0.04466,1.225,129,0.043759,1.226,OK