
VMX51C1020
_________________________________________________________________________________________________
www.ramtron.com
page 63 of 80
Programmable Current Source
The VMX51C1020 includes a programmable
current source used to drive external devices
such as resistive sensors connected between
the ISRCOUT and ISRCIN pins
To ensure current output stability, the current
source provides a feedback input, ISRCIN. The
feedback is voltage controlled and can be
dynamically set to either 200mV or 800mV.
Placing a resistor between the ISRC pin and the
ground defines the output current of the current
source.
The VMX51C1020 current Source can drive
currents up to 500μA when the reference is set
to 800mV.
F
IGURE
40:
P
ROGRAMMABLE CURRENT SOURCE TO EXCITE SENSOR
200 mV
800 mV
ISRCOUT
ISRCIN
Sensor
Rref
To A/D
As shown above, a resistive device (sensor)
must be connected between the ISRCOUT and
the ISRCIN.
In order to perform A/D conversion of the
voltage present at the terminal of the current
source, there is an internal link between each of
the ISRCOUT and ISRCIN pins as well as the
Input multiplexer of the A/D converter.
T
ABLE
107:
(ISRCCAL1)
C
URRENT SOURCE
C
ALIBRATION
V
ECTOR FOR
200
M
V
FEEDBACK VALUE
-
SFR
BC
H
7
6
5
4
PGACAL0
ISRCCAL1 [6:0]
Bit
Mnemonic
Function
7
PGACAL0
Bit 0 of PGACAL
Calibration Value for ISRC
feedback of 200mV
3
2
1
0
6:0
ISRCCAL1[6:0]
T
ABLE
108:
(ISRCCAL2)
C
URRENT SOURCE
C
ALIBRATION
V
ECTOR FOR
800
M
V
FEEDBACK VALUE
-
SFR
BD
H
7
6
5
4
-
ISRCCAL2 [6:0]
Bit
Mnemonic
Function
7
-
-
Calibration Value for ISRC
feedback of 800mV
Current Source Setup Example
3
2
1
0
6:0
ISRCCAL2[6:0]
The following provides setup examples for the
current source.
Enabling the Current Source using the 200mV
reference:
MOV
ANALOGPWREN,#00110011B
;Enable Analog peripherals
;Bit 7: OPAMPEN = 0 Op-Amp OFF
;Bit 6: DIGPOTEN= 0 Dig Pot OFF
;Bit 5: ISRCSEL = 1 ISRC 800mV
;Bit 4: ISRCEN = 1 ISRC ON
;Bit 3: TAEN = 0 TA output OFF
;Bit 2: ADCEN = 0 ADC OFF
;Bit 1: PGAEN = 1 PGA ON
;Bit 0: BGAPEN = 1 BandGap ON
Enabling the Current Source using the 200mV
reference:
;MOV
ANALOGPWREN,#00010011B
;Enable Analog peripherals
;Bit 7: OPAMPEN = 0 Op-Amp OFF
;Bit 6: DIGPOTEN= 0 Dig Pot OFF
;Bit 5: ISRCSEL = 0 ISRC 200mV
;Bit 4: ISRCEN = 1 ISRC ON
;Bit 3: TAEN = 0 TA output OFF
;Bit 2: ADCEN = 0 ADC OFF
;Bit 1: PGAEN = 1 PGA ON
;Bit 0: BGAPEN = 1 BandGap ON