DS1852B-000/C Maxim Integrated, DS1852B-000/C Datasheet - Page 25

no-image

DS1852B-000/C

Manufacturer Part Number
DS1852B-000/C
Description
Analog to Digital Converters - ADC
Manufacturer
Maxim Integrated
Datasheet

Specifications of DS1852B-000/C

Part # Aliases
90-1852B-00C
(* The upper 4 bits of bestTrim contains the answer for the course adjustment.*)
(* It is the smallest value that allows full scale trim with the lower 12 bits*)
(* zero out the lower 12 bits of bestTrim *)
(*Use SAR approach to trim resolution on VAD scale bits 11-0*)
(* bestTrim now contains the trim that gives the lowest delta*)
end;
end;
trim := land(bestTrim,61440(*F000h*)); (*land() is logical AND function*)
for Bit := 11 downto -1 do (* must go 1 bit too far so that zero is
possible solution *)
begin
end;
ProgramTrim(bestTrim);
begin
end;
if (Bit > 0) then
begin
end;
writeTrimValue(trim);
waitForNewConversion;
Dec_out := readVoltage;
delta := Dec_out - Dec_in;
if ( abs(delta) <= abs(bestDelta) ) then
begin
end;
if ( delta > 0 ) then
begin
end;
bestTrim := trim;
if (Bit > 11) then
Begin
end;
trim := trim + lshft(1,Bit);
bestTrim := trim;
bestDelta := delta;
if (Bit > 0) then
Begin
end;
trim := trim - lshft(1,trimBit);
trim := trim - lshft(1,trimBit);
25 of 26

Related parts for DS1852B-000/C