
ADS7833
11
movep
movep
movep
;
movep
movep
movep
movep
movep
#>$0,x:$ffe4
#>$0,x:$ffe1
#>$0,x:$fff1
; Disable SAI transmit port
; Disable SAI receive port
; Disable SHI port
#>$dfff00,x:$ffe5
#>$101f00,x:$ffe6
#>$0,x:$ffe7
#>$10d,x:$ffe0
#>$3,x:$ffe1
; Convert command
; DAC to midscale, G=1V/V, Channel 1 all ADCs
; For SS pin—enables SHI at proper time
; Divide by 1 pre, divide by 13—96kHz conv @ 40MHz
; Enable SAI recv (rsng edge, MSB 1st, 16-bits, slave)
movep
movep
movep
;
btst
jcs
btst
jcc
movep
move
movep
move
move
movep
#>$2001,x:$fff0
#>$5,x:$fff1
#>$f,x:$ffe4
; Set narrow spike filter, CPOL=0, CPHA=1
; Enable SHI (slave, no fifo, 16-bits)
; Enable SAI trans (rsng edge, MSB 1st, 16-bits, mstr)
wait
#14,x:$ffe1
data
#15,x:$ffe1
wait
x:$ffe2,x0
x0,x:$00
x:$ffe3,x0
x0,x:$01
x:$fff3,x0
x0,x:$02
; Look for a receive flag (left or right)
data
; Get Sout1
; Save it
; Get Sout2
; Save it
; Get Sout3
; Save it
TABLE VIII. Sample Code for Motorola DSP56004/7.
FIGURE 4. Microprocessor Interface for Motorola
DSP56004/7.
While this is one of the most useful, the DSP56004/7 is
flexible enough to allow various other configurations. These
will free up the serial outputs for use with other serial
peripherals, such as DACs.
TYPICAL ISOLATED ANALOG INPUT
Figure 5 shows an ISO130 used to isolate the current
measurement in a motor speed control application. This
amplifier is well suited for this application because of its
high transient immunity (l0kV/
μ
s). Its differential output
feature is well suited to the differential input of the ADS7833.
Keeping the signal transmission differential helps to pre-
serve the high frequency noise rejection of the system.
A unique characteristic of the ISO130 is that it has a common
mode output voltage of approximately 2.39V. To accept this
level of CMV, the ADS7833 must be operated at a gain of
5V/V (
±
0.5V full scale differential input). (See Figure 3 and
Table VII). Since the ISO130 has a gain of 8V/V, the
maximum value of V
SENSE
is 62.5mV. Thus, the value of
R
SENSE
is chosen to scale V
SENSE
to this maximum value.
POWER-UP INITIALIZATION
When power is applied to the ADS7833, two conversion
cycles are required for initialization and valid digital data is
transmitted on the third cycle.
The first conversion after power is applied is performed with
indeterminate configuration values in the double buffer
output of the Input Setup Register. The second conversion
cycle loads the desired values into the register. The third
conversion uses those values to perform proper conversions
and output valid digital data from each of the ADCs.
MICROPROCESSOR INTERFACE
The internal logic of the ADS7833 is designed for easy
control and data interface with microprocessors. Figure 4
shows the interface for loading the input control word from
the microprocessor data bus into the serial input of the
ADS7833.
Table VIII provides a sample assembly code and Figure 4
shows the connection diagram for connecting an ADS7833
to the DSP56004N—or DSP56007 a Motorola Digital Sig-
nal Processor. This configuration allows for full control of
the ADS7833 as well as receiving all three conversion
results simultaneously. The start of conversion is generated
by the DSP56004 as well as the sample time of the asynchro-
nous sample/holds.
DSP56004/7
SDO0
SDO1
SOI0
SOI1
MOSI/HA0
MISO/NAU
SCKT
SCKR
SCK/SCL
WST
WSR
SS/HA2
SDO2
ADS7833
V
1-1
V
1-2
V
1-3
V
2-1
V
2-2
V
2-3
V
3-1
V
3-2
V
3-3
V
3-4
A
OUT
CONV
SER
IN
S
OUT1
S
OUT2
S
OUT3
ASH
CLK
(optional)