The I2C interfac" />
參數(shù)資料
型號(hào): EVAL-AD5934EBZ
廠商: Analog Devices Inc
文件頁(yè)數(shù): 18/32頁(yè)
文件大?。?/td> 0K
描述: BOARD EVALUATION FOR AD5934
標(biāo)準(zhǔn)包裝: 1
主要目的: 計(jì)時(shí),直接數(shù)字合成(DDS)
嵌入式:
已用 IC / 零件: AD5934
主要屬性: 12 位數(shù)模轉(zhuǎn)換器,24 位調(diào)節(jié)字寬
次要屬性: 16MHz 2.7 V ~ 5.5 V 圖形用戶界面
已供物品: 板,線纜,軟件
產(chǎn)品目錄頁(yè)面: 797 (CN2011-ZH PDF)
相關(guān)產(chǎn)品: AD5934YRSZ-ND - IC NTWK ANALYZER 12B 1MSP 16SSOP
AD5934YRSZ-REEL7-ND - IC CONV 12BIT 250KSPS 16SSOP
Data Sheet
AD5934
Rev. C | Page 25 of 32
WRITING/READING TO THE AD5934
The I2C interface specification defines several different protocols
for different types of read and write operations. This section
describes the protocols used in the AD5934. The figures in this
section use the abbreviations shown in Table 14.
Table 14. I2C Abbreviation Table
Abbreviation
Condition
S
Start
P
Stop
R
Read
W
Write
A
Acknowledge
A
No acknowledge write byte/command byte
User Command Codes
The command codes in Table 15 are used for reading/writing to
the interface. They are explained in detail in this section but are
grouped within Table 15 for easy reference.
Table 15. Command Codes
Command
Code
Name
Code Description
1010 0000
Block
Write
This command is used when writing
multiple bytes to the RAM; see the
1010 0001
Block
Read
This command is used when reading
multiple bytes from RAM/memory; see
1011 0000
Address
Pointer
This command enables the user to set
the address pointer to any location in
the memory; the data contains the
address of the register to which the
pointer should be pointing.
Write Byte/Command Byte
In this operation, the master device sends a byte of data to the
slave device. The write byte can either be a data byte write to a
Register Address or it can be a command operation. To write data
to a register, the command sequence is as follows (see Figure 26):
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master sends a register address.
5. The slave asserts an acknowledge on SDA.
6. The master sends a data byte.
7. The slave asserts an acknowledge on SDA.
8. The master asserts a stop condition on SDA to end the
transaction.
S
SLAVE
ADDRESS
REGISTER
ADDRESS
REGISTER
DATA
A
W
A
P
05325-
049
Figure 26. Writing Register Data to Register Address
In the AD5934, the write byte protocol is also used to set a
pointer to a register address (see Figure 27). This protocol is
used for a subsequent single-byte read from the same address,
block read, or block write starting at that address.
To set a register pointer, the following sequence is applied:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master sends a pointer command code (see Table 15, an
address pointer = 1011 0000).
5. The slave asserts an acknowledge on SDA.
6. The master sends a data byte (a register address to where
the pointer is to point).
7. The slave asserts an acknowledge on SDA.
8. The master asserts a stop condition on SDA to end the
transaction.
S
A
W
A
P
POINTER
COMMAND
1011 0000
SLAVE
ADDRESS
REGISTER
ADDRESS
TO POINT TO
05325-
050
Figure 27. Setting Address Pointer to Register Address
BLOCK WRITE
In this operation, the master device writes a block of data to a
slave device (see Figure 28). The start address for a block write
must previously have been set. In the case of the AD5934, this is
done by setting a pointer to set the register address.
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master sends an 8-bit command code (1010 0000) that
tells the slave device to expect a block write.
5. The slave asserts an acknowledge on SDA.
6. The master sends a data byte that tells the slave device the
number of data bytes to be sent to it.
7. The slave asserts an acknowledge on SDA.
8. The master sends the data bytes.
9. The slave asserts an acknowledge on SDA after each data byte.
10. The master asserts a stop condition on SDA to end the
transaction.
A
S
W
A
P
SLAVE
ADDRESS
BLOCK
WRITE
NUMBER
BYTES WRITE
BYTE 0
BYTE 1
BYTE 2
05325-
051
Figure 28. Writing a Block Write
相關(guān)PDF資料
PDF描述
BQ2057CDGK IC LI-ION LDO CHRG MGMT 8-MSOP
VE-J7Y-EZ-F3 CONVERTER MOD DC/DC 3.3V 16.5W
VE-J7Y-EZ-F2 CONVERTER MOD DC/DC 3.3V 16.5W
MC34164P-3RPG IC SENSOR UNDERVOLT 3V TO-226AA
BQ2057TSN IC LITH-ION LDO CHRG MGMT 8-SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-AD607EBZ 功能描述:BOARD EVALUATION FOR AD607 RoHS:是 類別:RF/IF 和 RFID >> RF 評(píng)估和開發(fā)套件,板 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 類型:GPS 接收器 頻率:1575MHz 適用于相關(guān)產(chǎn)品:- 已供物品:模塊 其它名稱:SER3796
EVAL-AD608EBZ 功能描述:BOARD EVALUATION FOR AD608 RoHS:是 類別:RF/IF 和 RFID >> RF 評(píng)估和開發(fā)套件,板 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 類型:GPS 接收器 頻率:1575MHz 適用于相關(guān)產(chǎn)品:- 已供物品:模塊 其它名稱:SER3796
EVAL-AD7021DBZ5 制造商:Analog Devices 功能描述:EVAL BOARD ((NS))
EVAL-AD7091RSDZ 功能描述:數(shù)據(jù)轉(zhuǎn)換 IC 開發(fā)工具 EVALUATION BOARD RoHS:否 制造商:Texas Instruments 產(chǎn)品:Demonstration Kits 類型:ADC 工具用于評(píng)估:ADS130E08 接口類型:SPI 工作電源電壓:- 6 V to + 6 V
EVAL-AD7091SDZ 功能描述:數(shù)據(jù)轉(zhuǎn)換 IC 開發(fā)工具 EVALUATION BOARD RoHS:否 制造商:Texas Instruments 產(chǎn)品:Demonstration Kits 類型:ADC 工具用于評(píng)估:ADS130E08 接口類型:SPI 工作電源電壓:- 6 V to + 6 V