| Electronic Components Datasheet Search |
|
OPT3101 Datasheet(PDF) 32 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
OPT3101 Datasheet(HTML) 32 Page - Texas Instruments |
|
32 / 120 page ![]() 32 OPT3101 SBAS883A – FEBRUARY 2018 – REVISED JUNE 2018 www.ti.com Product Folder Links: OPT3101 Submit Documentation Feedback Copyright © 2018, Texas Instruments Incorporated Table 26. Register Settings to Enable External Temperature Readout Using I2C master (continued) PARAMETER VALUE for TMP102 VALUE for TMP103A DESCRIPTION CONFIG_TILLUM_MSB 8 0 Mode to select the correct 12 bits from the read 16 bits in a two-byte read for the TMP102 device EN_TILLUM_12B 1 0 Enable the 12-bit mode to read 12-bit temperature sensor data from an external temperature sensor. 7.4.2.2 External EEPROM The I2C host of the OPT3101 device automatically loads all of the registers (256 bytes) from an external 2KB (256 × 8) EEPROM on device reset to configure the device. Of these 256 bytes, 64 bytes are register address, and 192 bytes are data bytes. So from EEPROM, the device can auto load any of up to 64 device registers of 24 bits each (64 × 24). EEPROM data should be written in the following format. If only part of the memory is used, the rest of the memory should be filled with all 0x00 or 0xFF. Table 27. External EEPROM Data Format ADDRESS DATA [7:0] 0 Register address i 1 Register data i[7:0] 2 Register data i[15:8] 3 Register data i[23:16] 4 Register address j 5 Register data j[7:0] 6 Register data j[15:8] 7 Register data j[23:16] … … 255 Register data k[23:16] The EEPROM I2C slave address should be 0x50h. On device reset, I2C host initiates auto load from the external EEPROM connected on the SDA_M, SCL_M bus. If there is an EEPROM device on the bus, this load operation performs the 256-byte read operation. If there is no EEPROM on the host bus, the device terminates auto load after the first transaction. During I2C host auto load, if an external host writes to the OPT3101 I2C slave, it acknowledges but data transfer does not happen (write/read). Register address 0 of the OPT3101 device cannot be loaded from the OPT3101 I2C host. Register address 0 is always reserved for I2C slave. By writing to register bit 0[22] (FORCE_EN_SLAVE) of the OPT3101 device, I2C slave can take control of register access from host auto load. If there are no pullup resistors connected on the I2C host bus SDA_M and SCL_M, then register bit 0[22] (FORCE_EN_SLAVE) = 1 should be written before any other I2C register writes, otherwise the device register read/write does not happen. If the device is to be used in monoshot mode, I2C host power down disable should be written first (DIS_GLB_PD_I2CHOST) before writing monoshot mode enable (MONOSHOT_MODE) bit in the EEPROM. 7.4.2.3 External EEPROM Programming To simplify the EEPROM programming in the end system, the OPT3101 device supports writing to EEPROM through the device I2C slave. The device auto loads from EEPROM on reset. Before programming EEPROM, this auto load might corrupt the registers. First erase the EEPROM and follow the flowchart shown in Figure 28. The register settings to write to external EEPROM on the OPT3101 I2C host through the OPT3101 I2C slave are listed in Table 28. |
|
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 |