| Electronic Components Datasheet Search |
|
TMP464 Datasheet(PDF) 16 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
TMP464 Datasheet(HTML) 16 Page - Texas Instruments |
|
16 / 43 page ![]() 16 TMP464 SBOS835 – MAY 2017 www.ti.com Product Folder Links: TMP464 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated Programming (continued) 7.5.1.3 Serial Bus Address To communicate with the TMP464 device, the master must first address slave devices using a slave address byte. The slave address byte consists of seven address bits and a direction bit indicating the intent of executing a read or write operation. The TMP464 device allows up to four devices to be addressed on a single bus. The assigned device address depends on the ADD pin connection as described in Table 2. Table 2. TMP464 Slave Address Options ADD PIN CONNECTION SLAVE ADDRESS BINARY HEX GND 1001000 48 V+ 1001001 49 SDA 1001010 4A SCL 1001011 4B 7.5.1.4 Read and Write Operations Accessing a particular register on the TMP464 device is accomplished by writing the appropriate value to the pointer register. The value for the pointer register is the first byte transferred after the slave address byte with the R/W bit low. Every write operation to the TMP464 device requires a value for the pointer register (see Figure 14). The TMP464 registers can be accessed with block or single register reads. Block reads are only supported for pointer values 80h to 84h. Registers at 80h through 84h mirror the Remote and Local Temperature registers (00h to 04h). Pointer values 00h to 04h are for single register reads. 7.5.1.4.1 Single Register Reads When reading from the TMP464 device, the last value stored in the pointer register by a write operation is used to determine which register is read by a read operation. To change which register is read for a read operation, a new value must be written to the pointer register. This transaction is accomplished by issuing a slave address byte with the R/W bit low, followed by the pointer register byte; no additional data are required. The master can then generate a start condition and send the slave address byte with the R/W bit high to initiate the read command; see Figure 15 through Figure 17 for details of this sequence. If repeated reads from the same register are desired, continually sending the pointer register bytes is not necessary because the TMP464 device retains the pointer register value until the value is changed by the next write operation. The register bytes are sent by the MSB first, followed by the LSB. If only one byte is read (MSB), a consecutive read of TMP464 device results in the MSB being transmitted first. The LSB can only be accessed through two-byte reads. The master terminates a read operation by issuing a not-acknowledge (NACK) command at the end of the last byte to be read or transmitting a stop condition. For a single-byte operation, the master must leave the SDA line high during the acknowledge time of the first byte that is read from the slave. The TMP464 register structure has a word (two-byte) length, so every write transaction must have an even number of bytes (MSB and LSB) following the pointer register value (see Figure 14). Data transfers occur during the ACK at the end of the second byte or LSB. If the transaction does not finish, signaled by the ACK at the end of the second byte, then the data is ignored and not loaded into the TMP464 register. Read transactions do not have the same restrictions and may be terminated at the end of the last MSB. 7.5.1.4.2 Block Register Reads The TMP464 supports block mode reads at address 80h through 84h for temperature results alone. Setting the pointer register to 80h signals to the TMP464 device that a block of more than two bytes must be transmitted before a stop is issued. In this mode, the TMP464 device auto increments the internal pointer. If the transmission is terminated before register 84h is read, the pointer increments so a consecutive read (without a pointer set) can access the next register. |
|
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 |