| поискавой системы для электроныых деталей |
|
AD9705BCPZ датащи(PDF) 30 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD9705BCPZ датащи(HTML) 30 Page - Analog Devices |
|
30 / 52 page ![]() AD9704/AD9705/AD9706/AD9707 Rev. 0 | Page 30 of 52 A logic high on Pin 17 (PIN/SPI/RESET), followed by a logic low, resets the SPI port timing to the initial state of the instruction cycle. This is true regardless of the present state of the internal registers or the other signal levels present at the inputs to the SPI port. If the SPI port is in the midst of an instruction cycle or a data transfer cycle, none of the present data is written. The remaining SCLK edges are for Phase 2 of the communication cycle. Phase 2 is the actual data transfer between the AD970x and the system controller. Phase 2 of the communication cycle is a transfer of one, two, three, or four data bytes, as determined by the instruction byte. Using one multibyte transfer is the preferred method. Single byte data transfers are useful to reduce CPU overhead when register access requires one byte only. Registers change immediately upon writing to the last bit of each transfer byte. Instruction Byte The instruction byte contains the information shown in the following bit map: MSB LSB 7 6 5 4 3 2 1 0 R/W N1 N0 A4 A3 A2 A1 A0 R/W, Bit 7 of the instruction byte, determines whether a read or a write data transfer occurs after the instruction byte write. Logic 1 indicates a read operation. Logic 0 indicates a write operation. N1 and N0, Bit 6 and Bit 5 of the instruction byte, determine the number of bytes to be transferred during the data transfer cycle. The bit decodes are shown in Table 13. A4, A3, A2, A1, and A0, which are Bit 4, Bit 3, Bit 2, Bit 1, and Bit 0 of the instruction byte, respectively, determine which register is accessed during the data transfer portion of the communication cycle. For multibyte transfers, this address is the starting byte address. The remaining register addresses are generated by the AD970x, based on the DATADIR bit (Register 0x00, Bit 6). Table 13. Byte Transfer Count N1 N0 Description 0 0 Transfer 1 byte 0 1 Transfer 2 bytes 1 0 Transfer 3 bytes 1 1 Transfer 4 bytes Serial Interface Port Pin Descriptions SCLK—Serial Clock. The serial clock pin is used to synchronize data to and from the AD970x and to run the internal state machines. The SCLK maximum frequency is 20 MHz. All data input to the AD970x is registered on the rising edge of SCLK. All data is driven out of the AD970x on the falling edge of SCLK. CSB—Chip Select. Active low input starts and gates a communica- tion cycle. It allows more than one device to be used on the same serial communications lines. The SDIO pin goes to a high imped- ance state when this input is high. Chip select should stay low during the entire communication cycle. SDIO—Serial Data I/O. This pin is used as a bidirectional data line to transmit and receive data. MSB/LSB Transfers The AD970x serial port can support both most significant bit (MSB) first or least significant bit (LSB) first data formats. This functionality is controlled by the DATADIR bit (Register 0x00, Bit 6). The default is MSB first (DATADIR = 0). When DATADIR = 0 (MSB first), the instruction and data bytes must be written from most significant bit to least significant bit. Multibyte data transfers in MSB first format start with an instruction byte that includes the register address of the most significant data byte. Subsequent data bytes should follow in order from high address to low address. In MSB first mode, the serial port internal byte address generator decrements for each data byte of the multibyte communication cycle. When DATADIR = 1 (LSB first), the instruction and data bytes must be written from least significant bit to most significant bit. Multibyte data transfers in LSB first format start with an instruction byte that includes the register address of the least significant data byte followed by multiple data bytes. The serial port internal byte address generator increments for each byte of the multibyte communication cycle. The AD970x serial port controller data address decrements from the data address written toward 0x00 for multibyte I/O operations if the MSB first mode is active. The serial port controller address increments from the data address written toward 0x1F for multibyte I/O operations if the LSB first mode is active. Notes on Serial Port Operation The AD970x serial port configuration is controlled by Register 0x00, Bit 7. It is important to note that the configuration changes immediately upon writing to the last bit of the register. For multibyte transfers, writing to this register can occur during the middle of communication cycle. Care must be taken to compensate for this new configuration for the remaining bytes of the current communication cycle. The same considerations apply to setting the software reset, SWRST (Register 0x00, Bit 5). All registers are set to their default values except Register 0x00, which remains unchanged. Use of single byte transfers is recommended when changing serial port configurations or initiating a software reset to prevent unexpected device behavior. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |