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.

TMP116: One-shot mode process

Part Number: TMP116

Hello,

Say that I have a TMP116 that is continiously powered off and on. To perform the oneshot mode, I have to write 11 to MOD (Which was 01 as it had to be in shutdown mode). Should I call a general reset (Or just power it off and turn it on later as the configuration will be written) afterwards to have the one shot being performed? (And repeat this every time I want a measurement?) I myself was not able to confirm this from the datasheet.

Kind regards

  • Hi Mohamed,

    Thank you for your post. 

    To trigger a conversion when in shutdown mode you just need to write 11 to MOD and a conversion will happen immediately after. 

    Post conversion, the device will automatically return to shutdown mode (01 setting in MOD). No need to perform any resets unless you want to. 

    Best Regards,
    Brandon Fisher

  • Hello Brandon,

    So just to confirm: during initialization I should write 01 to MOD. Then, during the execution, every time I would like to request a measurement, I should write 11 to MOD. Is this correct?

    Also, there is no need to wait 7 ms when writing 11 to MOD (programming time). Right?

    Thank you very much for your answer!

    Kind regards,

    Mohamed

  • Hi Mohamed,

    So just to confirm: during initialization I should write 01 to MOD. Then, during the execution, every time I would like to request a measurement, I should write 11 to MOD. Is this correct?

    Yes, that is correct. You could also change the default values for the configuration register by following the instructions in section 7.5.1.2 of the datasheet (unlock the EEPROM and program desired configuration values). In that case you could have the device power up in shutdown mode on its own every time.

    Also, there is no need to wait 7 ms when writing 11 to MOD (programming time). Right?

    Yes! The 7ms wait time is only for programming the EEPROM values (i.e. if you want to change the default POR values of the device). You do still need to wait 1.5ms after startup (POR) for the device to reset properly though. 

    Please let me know if you have any other questions. 

    Best Regards,
    Brandon Fisher

  • Hi Brandon,

    I think everything is clear. It was a little bit confusing because the one-shot configuration is also in the configuration register and I do change the default configuration values during initialization, so you would think that you have to do it the same way when performing one shot (unlock EEPROM, change value, wait 7 ms). But as I understand now, you merely have to write to the register.

    Kind regards,

    Mohamed