| Os motores de busca de Datasheet de Componentes eletrônicos |
|
AD5321 Folha de dados(PDF) 14 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD5321 Folha de dados(HTML) 14 Page - Analog Devices |
|
14 / 24 page ![]() AD5301/AD5311/AD5321 Data Sheet Rev. C | Page 14 of 24 SERIAL INTERFACE 2-WIRE SERIAL BUS The AD5301/AD5311/AD5321 are controlled via an I2C- compatible serial bus. The DACs are connected to this bus as slave devices (no clock is generated by the AD5301/AD5311/ AD5321 DACs). The AD5301/AD5311/AD5321 has a 7-bit slave address. In the case of the 6-lead device, the six MSBs are 000110 and the LSB is determined by the state of the A0 pin. In the case of the 8-lead device, the five MSBs are 00011 and the two LSBs are determined by the state of the A0 and A1 pins. A1 and A0 allow the user to use up to four of these DACs on one bus. The 2-wire serial bus protocol operates as follows: 1. The master initiates data transfer by establishing a start condition, which is when a high-to-low transition on the SDA line occurs while SCL is high. The following byte is the address byte that consists of the 7-bit slave address followed by an R/W bit (this bit determines whether data is read from or written to the slave device). 2. The slave whose address corresponds to the transmitted address responds by pulling the SDA line low during the ninth clock pulse (this is termed the acknowledge bit). At this stage, all other devices on the bus remain idle while the selected device waits for data to be written to or read from its serial register. If the R/W bit is high, the master reads from the slave device. However, if the R/W bit is low, the master writes to the slave device. 3. Data is transmitted over the serial bus in sequences of nine clock pulses (eight data bits followed by an acknowledge bit). The transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL. 4. When all data bits have been read or written, a stop con- dition is established by the master. A stop condition is defined as a low-to-high transition on the SDA line while SCL is high. In write mode, the master pulls the SDA line high during the 10th clock pulse to establish a stop condi- tion. In read mode, the master issues a no acknowledge for the ninth clock pulse (that is, the SDA line remains high). The master then brings the SDA line low before the 10th clock pulse and then high during the 10th clock pulse to establish a stop condition. In the case of the AD5301/AD5311/AD5321, a write operation contains two bytes whereas a read operation may contain one or two bytes. See Figure 29 to Figure 34 for a graphical explanation of the serial interface. A repeated write function gives the user flexibility to update the DAC output a number of times after addressing the device only once. During the write cycle, each multiple of two data bytes updates the DAC output. For example, after the DAC acknowl- edges its address byte, and receives two data bytes; the DAC output updates after the two data bytes, if another two data bytes are written to the DAC while it is still the addressed slave device. These data bytes also cause an output update. A repeat read of the DAC is also allowed. INPUT SHIFT REGISTER The input shift register is 16 bits wide. Figure 26, Figure 27, and Figure 28 illustrate the contents of the input shift register for each device. Data is loaded into the device as a 16-bit word under the control of a serial clock input, SCL. The timing diagram for this operation is shown in Figure 2. The 16-bit word consists of four control bits followed by 8/10/12 bits of data, depending on the device type. MSB (Bit 15) is loaded first. The first two bits are don’t cares. The next two are control bits that control the mode of operation of the device (normal mode or any one of three power-down modes). See the Power-Down Modes section for a complete description. The remaining bits are left justified DAC data bits, starting with the MSB and ending with the LSB. XX XXXX DB0 (LSB) DB15 (MSB) DATA BITS PD1 PD0 D7 D6 D5 D4 D3 D2 D1 D0 Figure 26. AD5301 Input Shift Register Contents DB0 (LSB) DB15 (MSB) D7 D8 D6 D5 X X D1 D0 X X PD1 PD0 D9 D4 D3 D2 DATA BITS Figure 27. AD5311 Input Shift Register Contents DATA BITS DB0 (LSB) DB15 (MSB) X X PD1 PD0 D11 D10 D9 D8 D7 D6 D4 D5 D3 D2 D1 D0 Figure 28. AD5321 Input Shift Register Contents |
|
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | 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 |