| Electronic Components Datasheet Search |
|
DS3984Z Datasheet(PDF) 20 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS3984Z Datasheet(HTML) 20 Page - Dallas Semiconductor |
|
20 / 24 page ![]() 4-Channel Cold-Cathode Fluorescent Lamp Controller 20 ____________________________________________________________________ Byte Write: A byte write consists of 8 bits of informa- tion transferred from the master to the slave (most sig- nificant bit first) plus a 1-bit acknowledgement from the slave to the master. The 8 bits transmitted by the mas- ter are done according to the bit-write definition and the acknowledgement is read using the bit-read definition. Byte Read: A byte read is an 8-bit information transfer from the slave to the master plus a 1-bit ACK or NACK from the master to the slave. The 8 bits of information that are transferred (most significant bit first) from the slave to the master are read by the master using the bit read definition, and the master transmits an ACK using the bit write definition to receive additional data bytes. The master must NACK the last byte read to terminate communication so the slave will return control of SDA to the master. Slave Address Byte: Each slave on the I2C bus responds to a slave addressing byte sent immediately following a start condition. The slave address byte (Figure 10) contains the slave address in the most signifi- cant seven bits and the R/ W bit in the least significant bit. The DS3984’s slave address is 101000A0 (binary), where A0 is the value of the address pin (A0). The address pin allows the device to respond to one of two possible slave addresses. By writing the correct slave address with R/ W = 0, the master writes data to the slave. If R/ W = 1, the master reads data from the slave. If an incorrect slave address is written, the DS3984 will assume the master is communicating with another I2C device and ignore the communications until the next start condition is sent. Memory Address: During an I2C write operation, the master must transmit a memory address to identify the memory location where the slave is to store the data. The memory address is always the second byte trans- mitted during a write operation following the slave address byte. I2C Communication Writing a Data Byte to a Slave: The master must gen- erate a start condition, write the slave address byte (R/ W = 0), write the memory address, write the byte of data, and generate a stop condition. Remember the master must read the slave’s acknowledgement during all byte write operations. See Figure 11 for more detail. Acknowledge Polling: Any time EEPROM is written, the DS3984 requires the EEPROM write time (tW) after the stop condition to write the contents to EEPROM. During the EEPROM write time, the DS3984 will not acknowledge its slave address because it is busy. It is possible to take advantage of that phenomenon by repeatedly addressing the DS3984, which allows the next byte of data to be written as soon as the DS3984 is ready to receive the data. The alternative to acknowl- edge polling is to wait for a maximum period of tW to elapse before attempting to write again to the DS3984. EEPROM Write Cycles: The number of times the DS3984’s EEPROM can be written before it fails is specified in the Nonvolatile Memory Characteristics table. This specification is shown at the worst-case write temperature. The DS3984 is typically capable of handling many additional write cycles when the writes are performed at room temperature. Reading a Data Byte from a Slave: To read a single byte from the slave the master generates a start condi- tion, writes the slave address byte with R/ W = 0, writes the memory address, generates a repeated start condi- tion, writes the slave address with R/ W = 1, reads the data byte with a NACK to indicate the end of the trans- fer, and generates a stop condition. See Figure 11 for more detail. Figure 10. DS3984’s Slave Address Byte 7-BIT SLAVE ADDRESS MOST SIGNIFICANT BIT A0 PIN VALUE DETERMINES READ OR WRITE R/W 1 01 0 00 A0 |
|
|
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 |