| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AD7664AST Datasheet(PDF) 17 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7664AST Datasheet(HTML) 17 Page - Analog Devices |
|
17 / 19 page ![]() REV. 0 AD7664 –17– MICROPROCESSOR INTERFACING The AD7664 is ideally suited for traditional dc measurement applications supporting a microprocessor, and ac signal processing applications interfacing to a digital signal processor. The AD7664 is designed to interface either with a parallel 16-bit-wide interface or with a general-purpose serial port or I/O ports on a microcon- troller. A variety of external buffers can be used with the AD7664 to prevent digital noise from coupling into the ADC. The following sections illustrate the use of the AD7664 with an SPI-equipped microcontroller, the ADSP-21065L and ADSP-218x signal processors. SPI Interface (MC68HC11) Figure 21 shows an interface diagram between the AD7664 and an SPI-equipped microcontroller like the MC68HC11. To accom- modate the slower speed of the microcontroller, the AD7664 acts as a slave device and data must be read after conversion. This mode allows also the “daisy chain” feature. The convert command could be initiated in response to an internal timer interrupt. The reading of output data, one byte at a time, if necessary, could be initiated in response to the end-of-conversion signal (BUSY going low) using to an interrupt line of the microcontroller. The Serial Peripheral Interface (SPI) on the MC68HC11 is configured for master mode (MSTR = 1), Clock Polarity Bit (CPOL) = 0, Clock Phase Bit (CPHA) = 1 and SPI Interrupt Enable (SPIE = 1) by writing to the SPI Control Register (SPCR). The IRQ is configured for edge-sensitive-only operation (IRQE = 1 in OPTION register). IRQ MC68HC11* CNVST AD7664* CS BUSY MISO/SDI SCK I/O PORT SDOUT SCLK RD INVSCLK EXT/ INT SER/ PAR DVDD *ADDITIONAL PINS OMITTED FOR CLARITY OVDD Figure 21. Interfacing the AD7664 to SPI Interface ADSP-21065L in Master Serial Interface As shown in Figure 22, the AD7664 can be interfaced to the ADSP-21065L using the serial interface in master mode without any glue logic required. This mode combines the advantages of reducing the number of wire connections and being able to read the data during or after conversion at user convenience. The AD7664 is configured for the internal clock mode (EXT/ INT low) and acts, therefore, as the master device. The convert com- mand can be generated by either an external low jitter oscillator or, as shown, by a FLAG output of the ADSP-21065L or by a frame output TFS of one serial port of the ADSP-21065L which can be used as a timer. The serial port on the ADSP-21065L is configured for external clock (IRFS = 0), rising edge active (CKRE = 1), external late framed sync signals (IRFS = 0, LAFS = 1, RFSR = 1) and active high (LRFS = 0). The serial port of the ADSP-21065L is configured by writing to its receive control register (SRCTL)—see ADSP-2106x SHARC User’s Manual. Because the serial port within the ADSP-21065L will be seeing a discontinuous clock, an initial word reading has to be done after the ADSP-21065L has been reset to ensure that the serial port is properly synchronized to this clock during each following data read operation. RFS ADSP-21065L* SHARC CNVST AD7664* CS SYNC RD DR RCLK FLAG OR TFS SDOUT SCLK INVSYNC INVSCLK EXT/ INT RDC/SDIN SER/ PAR DVDD *ADDITIONAL PINS OMITTED FOR CLARITY OVDD OR OGND Figure 22. Interfacing to the ADSP-21065L Using the Serial Master Mode SDOUT CS, RD SCLK D1 D0 X D15 D14 D13 12 3 14 15 16 t3 t35 t36 t37 t31 t32 t16 CNVST BUSY EXT/I NT = 1 INVSCLK = 0 Figure 20. Slave Serial Data Timing for Reading (Read Previous Conversion During Convert) |
|
|
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 |
| 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 |