datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

AD7262 Ver la hoja de datos (PDF) - Analog Devices

Número de pieza
componentes Descripción
fabricante
AD7262 Datasheet PDF : 33 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
AD7262
ON-CHIP REGISTERS
The AD7262/AD7262-5 contain a control register, two offset
registers for storing the offsets for each ADC, and two external
gain registers for storing the gain error. The control register and
the offset and gain registers are read and write registers. On
power-up, all registers in the AD7262/AD7262-5 are set to 0.
Addressing the On-Chip Registers
Writing to a Register
Data is loaded from the PD0/DIN pin of the AD7262/AD7262-5
on the falling edge of SCLK when CS is in a logic low state. Four
address bits and 12 data bits must be clocked into the device.
Thus, on the 16th falling SCLK edge, the LSB is clocked into the
AD7262/AD7262-5. One more SCLK cycle is then required to
write to the internal device registers. In total, 17 SCLK cycles
are required to successfully write to the AD7262/AD7262-5.
The control and offset registers are 12-bits registers; the gain
registers are 7-bit registers.
When writing to a register, the user must first write the address
bits corresponding to the selected register. Table 11 shows the
decoding of the address bits. The four RD bits are written MSB
first, that is, RD3 followed by RD2, RD1, and RD0. The AD7262/
AD7262-5 decodes these bits to determine which register is
being addressed. The subsequent 12 bits of data are written to
the addressed register.
When writing to the external gain registers, the seven bits of
data immediately after the four address bits are written to the
register. However, 17 SCLK cycles are still required, and the
PD0/DIN pin of the AD7262/AD7262-5 should be tied low for
the five additional clock cycles.
Data Sheet
Table 11. Read and Write Register Addresses
RD3 RD2 RD1 RD0 Comment
0
0
0
0
ADC result (default)
0
0
0
1
Control register
0
0
1
0
Offset ADC A internal
0
0
1
1
Offset ADC B internal
0
1
0
0
Gain ADC A external
0
1
0
1
Gain ADC B external
Reading from a Register
The internal offset of the device, which has been measured by
the AD7262/AD7262-5 and stored in the on-chip registers during
the calibration, can be read back by the user. The content of the
external gain registers can also be read. To read the content of
any register, the user must first write to the control register by
writing 0001 to the WR3 to WR0 bits via the PD0/DIN pin, as
outlined in Table 10. The next four bits in the control register
are the RD bits, which are used to select the desired register
from which to read. The appropriate 4-bit address for each of the
offset and gain registers is outlined in Table 11. The remaining
eight SCLK cycles bits are used to set the remaining bits in the
control register to thedesired statefor the next ADCconversion.
The 19th SCLK falling edge clocks out the first data bit of the
digital code corresponding to the value stored in the selected
internal device register on the DOUTA pin. DOUTB outputs the
conversion result from ADC B. Once the selected register has
been read, the control register must be reset to output the ADC
results for future conversions. This is achieved by writing 0001
to the WR3 to WR0 bits, followed by 0000 to the RD bits. The
remaining eight bits in the control register should then be set to
the required configuration for the next ADC conversion.
CS
SCLK
DOUTA
PD0/DIN
t2
t8
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20
30 31
THREE-STATE
t13
RD3 RD2 RD1 RD0 MSB DB10 DB9
t14
DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
DB11A DB10A
THREE-STATE
tQUIET
DB0A
THREE-
STATE
Figure 31. Timing Diagram for Writing to a Register
CS
SCLK
DOUTA
PD0/DIN
t2
t8
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20
30 31
THREE-STATE
t13
t14
0
0
0
1 RD3 RD2 RD1 RD0 0 0
0
0
0
0
0
0
DB11A DB10A
THREE-STATE
tQUIET
DB0A
THREE-
STATE
Figure 32. Timing Diagram for a Read Operation with PD0/DIN as an Input
Rev. B | Page 24 of 32

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]