| Electronic Components Datasheet Search |
|
AD9864BCPZ Datasheet(PDF) 17 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD9864BCPZ Datasheet(HTML) 17 Page - Analog Devices |
|
17 / 44 page ![]() AD9864 Rev. 0 | Page 17 of 44 THEORY OF OPERATION SERIAL PORT INTERFACE (SPI) The serial port of the AD9864 has 3-wire or 4-wire SPI capabil- ity, allowing read/write access to all registers that configure the device’s internal parameters. The default 3-wire serial commu- nication port consists of a clock (PC), peripheral enable (PE), and bidirectional data (PD) signal. The inputs to PC, PE, and PD contain a Schmitt trigger with a nominal hysteresis of 0.4 V centered about the digital interface supply, i.e., VDDH/2. A 4-wire SPI interface can be enabled by setting the MSB of the SSICRB register (Reg. 0x19, Bit 7) and setting Reg. 0x3A to 00, resulting in the output data appearing on the DOUTB pin. Note that since the default power-up state sets DOUTB low, bus contention is possible for systems sharing the SPI output line. To avoid any bus contention, the DOUTB pin can be three-stated by setting the fourth control bit in the three-state bit (Reg. 0x3B, Bit 3). This bit can then be toggled to gain access to the shared SPI output line. An 8-bit instruction header must accompany each read and write SPI operation. Only the write operation supports an auto-increment mode, which allows the entire chip to be configured in a single write operation. The instruction header is shown in Table 7. It includes a read/not- write indicator bit, six address bits, and a Don’t Care bit. The data bits immediately follow the instruction header for both read and write operations. Note that the address and data are always given MSB first. Table 7. Instruction Header Information MSB LSB I7 I6 I5 I4 I3 I2 I1 I0 R/W A5 A4 A3 A2 A1 A0 X Figure 29 illustrates the timing requirements for a write opera- tion to the SPI port. After the peripheral enable (PE) signal goes low, data (PD) pertaining to the instruction header is read on the rising edges of the clock (PC). To initiate a write operation, the read/not-write bit is set low. After the instruction header is read, the eight data bits pertaining to the specified register are shifted into the data pin (PD) on the rising edges of the next eight clock cycles. PE stays low during the operation and goes high at the end of the transfer. If PE rises before the eight clock cycles have passed, the operation is aborted. If PE stays low for an additional eight clock cycles, the destination address is incremented and another eight bits of data are shifted in. Again, should PE rise early, the current byte is ignored. By using this implicit addressing mode, the chip can be configured with a single write operation. Registers identified as being sub- ject to frequent updates, namely those associated with power control and AGC operation, have been assigned adjacent addresses to minimize the time required to update them. Note that multibyte registers are big endian (the most significant byte has the lower address) and are updated when a write to the least significant byte occurs. Figure 30 illustrates the timing for a read operation to the SPI port. Although the AD9864 does not require read access for proper operation, it is often useful in the product development phase or for system authentication. Note that the read-back enable bit (Register 0x3A, Bit 3) must be set for a read opera- tion with a 3-wire SPI interface. After the peripheral enable (PE) signal goes low, data (PD) pertaining to the instruction header is read on the rising edges of the clock (PC). A read operation occurs if the read/not-write indicator is set high. After the address bits of the instruction header are read, the eight data bits pertaining to the specified register are shifted out of the data pin (PD) on the falling edges of the next eight clock cycles. If the 4-wire SPI interface is enabled, the eight data bits will also appear on the DOUTB pin with the same timing rela- tionship as those appearing at PD. After the last data bit is shifted out, the user should return PE high, causing PD to become three-stated and return to its normal status as an input pin. Since the auto-increment mode is not supported for read operations, an instruction header is required for each register read operation and PE must return high before initiating the next read operation. PE PC PD tH tDS tHI tS tDH tLOW tCLK R/W A5 A4 A0 D7 D6 D1 D0 DON'T CARE Figure 29. SPI Write Operation Timing |
|
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 |