Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

AD7712 Datasheet(PDF) 26 Page - Analog Devices

No. de pieza AD7712
Descripción Electrónicos  Signal Conditioning ADC
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  AD [Analog Devices]
Página de inicio  http://www.analog.com
Logo AD - Analog Devices

AD7712 Datasheet(HTML) 26 Page - Analog Devices

Back Button AD7712_17 Datasheet HTML 21Page - Analog Devices AD7712_17 Datasheet HTML 22Page - Analog Devices AD7712_17 Datasheet HTML 23Page - Analog Devices AD7712_17 Datasheet HTML 24Page - Analog Devices AD7712_17 Datasheet HTML 25Page - Analog Devices AD7712_17 Datasheet HTML 26Page - Analog Devices AD7712_17 Datasheet HTML 27Page - Analog Devices AD7712_17 Datasheet HTML 28Page - Analog Devices AD7712_17 Datasheet HTML 29Page - Analog Devices  
Zoom Inzoom in Zoom Outzoom out
 26 / 29 page
background image
REV. F
AD7712
–25–
REVERSE
ORDER OF
BITS
START
WRITE DATA FROM
ACCUMULATOR TO
SERIAL BUFFER
BRING
TFS
AND A0 LOW
LOAD DATA FROM
ADDRESS TO
ACCUMULATOR
CONFIGURE AND
INITIALIZE
C/ P
SERIAL PORT
BRING
RFS, TFS
AND A0 HIGH
BRING
TFS
AND A0 HIGH
END
3
Figure 17. Flowchart for Single Write Operation
to the AD7712
AD7712 to 8051 Interface
Figure 18 shows an interface between the AD7712 and the
8XC51 microcontroller. The AD7712 is configured for its
external clocking mode, while the 8XC51 is configured in its
Mode 0 serial interface mode. The
DRDY line from the AD7712
is connected to the Port P1.2 input of the 8XC51, so the
DRDY
line is polled by the 8XC51. The
DRDY line can be connected
to the INT1 input of the 8XC51 if an interrupt driven system is
preferred.
P1.0
P3.0
P3.1
P1.1
P1.2
P1.3
DVDD
8XC51
AD7712
SDATA
A0
RFS
TFS
MODE
DRDY
SYNC
SCLK
Figure 18. AD7712 to 8XC51 Interface
Table VII shows some typical 8XC51 code used for a single
24-bit read from the output register of the AD7712. Table VIII
shows some typical code for a single write operation to the con-
trol register of the AD7712. The 8XC51 outputs the LSB first
in a write operation while the AD7712 expects the MSB first, so
the data to be transmitted has to be rearranged before being
written to the output serial register. Similarly, the AD7712
outputs the MSB first during a read operation while the 8XC51
expects the LSB first. Therefore, the data that is read into the
serial buffer needs to be rearranged before the correct data-word
from the AD7712 is available in the accumulator.
Table VII. 8XC51 Code for Reading from the AD7712
MOV SCON,#00010001B; Configure 8051 for MODE 0
Operation
MOV IE,#00010000B;
Disable All Interrupts
SETB 90H;
Set P1.0, Used as
RFS
SETB 91H;
Set P1.1, Used as
TFS
SETB 93H;
Set P1.3, Used as A0
MOV R1,#003H;
Sets Number of Bytes to Be Read
in A Read Operation
MOV R0,#030H;
Start Address for Where Bytes
Will Be Loaded
MOV R6,#004H;
Use P1.2 as
DRDY
WAIT:
NOP;
MOV A,P1;
Read Port 1
ANL A,R6;
Mask Out All Bits Except
DRDY
JZ READ;
If Zero Read
SJMP WAIT;
Otherwise Keep Polling
READ:
CLR 90H;
Bring
RFS Low
CLR 98H;
Clear Receive Flag
POLL:
JB 98H, READ1
Tests Receive Interrupt Flag
SJMP POLL
READ 1:
MOV A,SBUF;
Read Buffer
RLC A;
Rearrange Data
MOV B.0,C;
Reverse Order of Bits
RLC A; MOV B.1,C; RLC A; MOV B.2,C;
RLC A; MOV B.3,C; RLC A; MOV B.4,C;
RLC A; MOV B.5,C; RLC A; MOV B.6,C;
RLC A; MOV B.7,C;
MOV A,B;
MOV @R0,A;
Write Data to Memory
INC R0;
Increment Memory Location
DEC R1
Decrement Byte Counter
MOV A,R1
JZ END
Jump if Zero
JMP WAIT
Fetch Next Byte
END:
SETB 90H
Bring
RFS High
FIN:
SJMP FIN



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com