參數(shù)資料
型號: DS2782
廠商: Maxim Integrated Products, Inc.
英文描述: Stand-Alone Fuel Gauge IC
中文描述: 獨(dú)立式電量計(jì)IC
文件頁數(shù): 23/25頁
文件大?。?/td> 291K
代理商: DS2782
DS2782: Stand-Alone Fuel Gauge IC
23 of 25
Acknowledge Bits
Each byte of a data transfer is acknowledged with an Acknowledge bit (A) or a No Acknowledge bit (N). Both the
master and the DS2782 slave generate acknowledge bits. To generate an Acknowledge, the receiving device must
pull SDA low before the rising edge of the acknowledge-related clock pulse (ninth pulse) and keep it low until SCL
returns low. To generate a No Acknowledge (also called NAK), the receiver releases SDA before the rising edge of
the acknowledge-related clock pulse and leaves SDA high until SCL returns low. Monitoring the acknowledge bits
allows for detection of unsuccessful data transfers. An unsuccessful data transfer can occur if a receiving device is
busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master should re-
attempt communication.
Data Order
A byte of data consists of 8 bits ordered most significant bit (msb) first. The least significant bit (lsb) of each byte is
followed by the Acknowledge bit. DS2782 registers composed of multi-byte values are ordered most significant
byte (MSB) first. The MSB of multi-byte registers is stored on even data memory addresses.
Slave Address
A bus master initiates communication with a slave device by issuing a START condition followed by a Slave
Address (SAddr) and the read/write (R/W) bit. When the bus is idle, the DS2782 continuously monitors for a
START condition followed by its slave address. When the DS2782 receives a slave address that matches the value
in its Programmable Slave Address register, it responds with an Acknowledge bit during the clock period following
the R/W bit. The 7-bit Programmable Slave Address register is factory programmed to 0110100. The slave address
can be re-programmed, refer to the Programmable Slave Address section for details.
Read/Write Bit
The R/W bit following the slave address determines the data direction of subsequent bytes in the transfer. R/W = 0
selects a write transaction, with the following bytes being written by the master to the slave. R/W = 1 selects a read
transaction, with the following bytes being read from the stave by the master.
Bus Timing
The DS2782 is compatible with any bus timing up to 400kHz. No special configuration is required to operate at any
speed.
2-Wire Command Protocols
The command protocols involve several transaction formats. The simplest format consists of the master writing the
START bit, slave address, R/W bit, and then monitoring the acknowledge bit for presence of the DS2782. More
complex formats such as the Write Data, Read Data and Function command protocols write data, read data and
execute device specific operations. All bytes in each command format require the slave or host to return an
Acknowledge bit before continuing with the next byte. Each function command definition outlines the required
transaction format. The following key applies to the transaction formats.
Table 4. 2-Wire Protocol Key
KEY
DESCRIPTION
KEY
S
START bit
Sr
SAddr
Slave Address (7-bit)
W
FCmd
Function Command byte
R
MAddr Memory Address byte
P
Data
Data byte written by master
Data
A
Acknowledge bit - Master
A
N
No Acknowledge - Master
N
DESCRIPTION
Repeated START
R/W bit = 0
R/W bit = 1
STOP bit
Data byte returned by slave
Acknowledge bit - Slave
No Acknowledge - Slave
相關(guān)PDF資料
PDF描述
DS3234 Extremely Accurate SPI Bus RTC with Integrated Crystal and SRAM
DS3234S Extremely Accurate SPI Bus RTC with Integrated Crystal and SRAM
DS3234SN Extremely Accurate SPI Bus RTC with Integrated Crystal and SRAM
DS33Z11 Ethernet Mapper
DS33ZH11 Ethernet Mapper
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS2782_09 制造商:MAXIM 制造商全稱:Maxim Integrated Products 功能描述:Stand-Alone Fuel Gauge IC
DS2782BE 制造商:Maxim Integrated Products 功能描述:STAND ALONE FG IC 2WIRE 8P TSSOP - Rail/Tube
DS2782BE/T&R 制造商:Maxim Integrated Products 功能描述:STAND ALONG FG IC 2WIRE 8P TSSOP TR - Tape and Reel
DS2782E+ 功能描述:電池管理 Stand-Alone Fuel Gauge RoHS:否 制造商:Texas Instruments 電池類型:Li-Ion 輸出電壓:5 V 輸出電流:4.5 A 工作電源電壓:3.9 V to 17 V 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:VQFN-24 封裝:Reel
DS2782E+R 制造商:MAXIM 制造商全稱:Maxim Integrated Products 功能描述:Stand-Alone Fuel Gauge IC