This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP100-Q1: general call reset command

Part Number: TMP100-Q1
Other Parts Discussed in Thread: TMP100, , TMP101-Q1

Hello, using TMP100 in a simple temp reading without using ALERT signal, we noticed in datasheet, TI recommend issuing a general call command via i2c as follow

 

7.3.8 General Call The TMP100-Q1 and TMP101-Q1 devices respond to the I2C General Call address (0000000) if the eighth bit is 0. The device acknowledges the General Call address and responds to commands in the second byte. If the second byte is 00000100, the TMP100-Q1 and TMP101-Q1 devices latch the status of their address pins, but do not reset. If the second byte is 00000110, the TMP100-Q1 and TMP101-Q1 devices latch the status of their address pins and reset their internal registers.

7.3.10 POR (Power-On Reset) The TMP100-Q1 and TMP101-Q1 devices both have on-chip, power-on reset circuits that reset the device to default settings when the device is powered on. This circuit activates when the power supply is less than 0.3 V for more than 100 ms. If the TMP100-Q1 and TMP101-Q1 devices are powered down by removing supply voltage from the device, but the supply voltage is not assured to be less than 0.3 V, TI recommends issuing a General Call reset command on the I2C interface bus to ensure that the TMP100-Q1 and TMP101-Q1 devices are completely reset.

So there are two questions:

  1. sounds like general call command is a i2c write command to address 0 in frame 1 address write. and second byte with 0x06 for a reset? Then what is the purpose of writing second byte for 0x04 without a reset?

  1. how long should controller wait after general call command to start reading temp register?

 

Thanks

  • Hi,

    Thanks for posting to the Sensors forum!

    1. Yes, to perform the general call reset command recommended in the POR section, you would issue a write command to the target address 0000 000, followed by 0000 0110 (0x06). So the first byte is 0000 0000 followed by the second byte of 0000 0110. As mentioned in the datasheet, this latches the status of the address pins and resets the internal registers.

      If the second byte is 0000 0100 (0x04), the devices latch the status of the address pins, but the internal registers do not reset. I think 0x04 exists to enable cases when the external address bits are not permanently present on the external pins. They are present at a specific time when they are taken in.

    2. The controller should wait at least one temperature conversion period before reading the temperature register. The temperature register will read 0°C until the first conversion is complete.



      The default resolution is 9 bits but can be changed using the R1 and R0 bits in the configuration register.



    Best regards,

    Jesse