| Electronic Components Datasheet Search |
|
AD7707 Datasheet(PDF) 28 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7707 Datasheet(HTML) 28 Page - Analog Devices |
|
28 / 40 page ![]() REV. A AD7707 –28– DRDY CS t3 t4 t6 t7 t5 t10 t9 t8 SCLK DOUT MSB LSB Figure 18. Read Cycle Timing Diagram CS t11 t14 t15 t12 t16 SCLK DIN MSB LSB t13 Figure 19. Write Cycle Timing Diagram Figures 18 and 19 show timing diagrams for interfacing to the AD7707 with CS used to decode the part. Figure 17 is for a read operation from the AD7707’s output shift register while Figure 18 shows a write operation to the input shift register. It is possible to read the same data twice from the output register even though the DRDY line returns high after the first read operation. Care must be taken, however, to ensure that the read operations have been completed before the next output update is about to take place. The AD7707 serial interface can operate in three-wire mode by tying the CS input low. In this case, the SCLK, DIN and DOUT lines are used to communicate with the AD7707 and the status of DRDY can be obtained by interrogating the MSB of the Communications Register. This scheme is suitable for interfac- ing to microcontrollers. If CS is required as a decoding signal, it can be generated from a port bit. For microcontroller interfaces, it is recommended that the SCLK idles high between data transfers. The AD7707 can also be operated with CS used as a frame synchronization signal. This scheme is suitable for DSP inter- faces. In this case, the first bit (MSB) is effectively clocked out by CS since CS would normally occur after the falling edge of SCLK in DSPs. The SCLK can continue to run between data transfers provided the timing numbers are obeyed. The serial interface can be reset by exercising the RESET input on the part. It can also be reset by writing a series of 1s on the DIN input. If a Logic 1 is written to the AD7707 DIN line for at least 32 serial clock cycles the serial interface is reset. This ensures that in three-wire systems, if the interface gets lost either via a software error or by some glitch in the system, it can be reset back to a known state. This state returns the interface to where the AD7707 is expecting a write operation to its Commu- nications Register. This operation in itself does not reset the contents of any registers but since the interface was lost, the information written to any of the registers is unknown and it is advisable to set up all registers again. Some microprocessor or microcontroller serial interfaces have a single serial data line. In this case, it is possible to connect the AD7707’s DATA OUT and DATA IN lines together and con- nect them to the single data line of the processor. A 10 k Ω pull- up resistor should be used on this single data line. In this case, if the interface gets lost, because the read and write operations share the same line the procedure to reset it back to a known state is somewhat different than previously described. It requires a read operation of 24 serial clocks followed by a write operation where a Logic 1 is written for at least 32 serial clock cycles to ensure that the serial interface is back into a known state. CONFIGURING THE AD7707 The AD7707 contains six on-chip registers that the user can accesses via the serial interface. Communication with any of these registers is initiated by writing to the Communications Register first. Figure 20 outlines a flow diagram of the sequence used to configure all registers after a power-up or reset on the AD7707. The flowchart also shows two different read options— the first where the DRDY pin is polled to determine when an update of the data register has taken place, the second where the DRDY bit of the Communications Register is interrogated to see if a data register update has taken place. Also included in the flowing diagram is a series of words that should be written to the registers for a particular set of operating conditions. These con- ditions are gain of one, no filter sync, bipolar mode, buffer off, clock of 4.9512 MHz and an output rate of 50 Hz. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |