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.

BQ40Z50-R2: Temperature configuration with TMP468

Part Number: BQ40Z50-R2
Other Parts Discussed in Thread: BQ40Z50, TMP468, BQSTUDIO

Tool/software:

Hi Ti Experts

The BQ40z50 V5.04 firmware supports temperature sensing with the TMP468 IC, which offers up to 8 channels.

In addition, I have connected TS1 and TS2 using NTCs, allowing the system to support up to 10 temperature sensors.

Before enabling the "TMP468_en" option in the DA Configuration, the temperatures for TS1 (cell) and TS2 (MOSFET) are displayed correctly in the SBS Temperature as well as in the TS1 Temp, TS2 Temp, and FET Temp readings

However, after enabling the TMP468_EN bit in the DA Configuration (TS1 and TS2 are also enabled), the SBS temperature only displays the maximum temperature from the TMP468 channels (T1 to T8).

The gauge automatically ignores the values from TS1 and TS2, and the FET temperature reading becomes inaccurate as well.

  

Could you please confirm if this is the correct firmware behavior when enabling TMP468_EN?

Specifically, does enabling TMP468 mean that TS1 to TS4 and TMP468 cannot function simultaneously?

Thanks

Steven

  • Hi Steven,

    Would it be possible to send the .gg file of the gauge settings so we can look into the current temperature setup?

    Regards,

    Anthony

  • Hi Anthony

    Please refer to attached file

    6765.gg.csv

    Thanks

    Steven

  • Hi Steven,

    It seems like your configuration is correct in the attached .gg file. Our firmware team is currently looking into this, I will provide an update once received.

    Regards,

    Anthony

  • Hi Anthony

    Has there been any update from the firmware team regarding this behavior?

    Thanks

    Steven

  • Hi Steven,

    Sorry for the delay, our team is working on receiving TMP468 EVM units so we can confirm this issue from our side.

    Regards,

    Anthony

  • Hi Anthony

    Could you let me know when it will be completed? If it takes too long, it may impact our design schedule.

    I also have some questions regarding the TMP468. Could you please help answer them?

    1. How do I confirm the current setting for "configuration register 30h" for TMP468?

        

    2. We've tested the shutdown mode power consumption, and it still seems to draw around 100µA.

        According to the TRM, the TMP468 should enter shutdown mode, but based on our power consumption test, it appears that it did not.

        How can I confirm whether the TMP468 is actually in shutdown mode?

       

    3. The manufacturer access cmd 0x008A TMP load Config is used to reload the TMP468 configuration 

         What's the defualt setting for this configuration? When would I need to reload it?

    4.  The manufacturer access cmd 0x008B TMP write register, how can I send this cmd via Advance comm SMB

         For example, if I want to change the TMP configuration (pointer register 0x30) from 0xFF18 to 0xFF38, could you provide the command sequence?

         Additionally, how can I verify that the command was successfully executed?

     

    Thanks

    Steven

  • Hi Steven,

    Could you let me know when it will be completed? If it takes too long, it may impact our design schedule.

    This is being done by our firmware team. I will discuss with them and get back to you on this.

    1. How do I confirm the current setting for "configuration register 30h" for TMP468?

        

    I believe this should be available by using the TMPRead commands:

    2. We've tested the shutdown mode power consumption, and it still seems to draw around 100µA.

        According to the TRM, the TMP468 should enter shutdown mode, but based on our power consumption test, it appears that it did not.

        How can I confirm whether the TMP468 is actually in shutdown mode?

       

    The SD bit seen in configuration register 30 should display whether the device is in shutdown:

    3. The manufacturer access cmd 0x008A TMP load Config is used to reload the TMP468 configuration 

         What's the defualt setting for this configuration? When would I need to reload it?

    I believe the default values for these configuration settings can be found in the TRM. When the golden image is programmed to a new device, the TMP468 will still need to be configured, which this command should do it all without needing to reprogram individually.

    4.  The manufacturer access cmd 0x008B TMP write register, how can I send this cmd via Advance comm SMB

         For example, if I want to change the TMP configuration (pointer register 0x30) from 0xFF18 to 0xFF38, could you provide the command sequence?

         Additionally, how can I verify that the command was successfully executed?

    If this were to be done in Advance Comm, I believe you would need to use the write block with 0x44, and in the block you would need to put 8B 00 for the command, then fill out the rest of the required information with the pointer and data:

    Regards,

    Anthony

  • Hi Anthony

    The SD bit seen in configuration register 30 should display whether the device is in shutdown:

    Yes, I understand the SD bit in configuration register 30. However, according to the TRM, it should enter shutdown mode via the bq40z50, but the test results don't seem to reflect that. Could you also double-check the shutdown mode consumption with the TMP468 with the FW team?

    If this were to be done in Advance Comm, I believe you would need to use the write block with 0x44, and in the block you would need to put 8B 00 for the command, then fill out the rest of the required information with the pointer and data:

    I've tried unlocking the TMP468 using the commands 8B 00 C4 EB 19 and 8B 00 C4 19 EB, but neither worked. The lock register still returns 8000. Could you show me the correct way to unlock it?

    Thanks

    Steven

  • Hi Steven,

    Yes, I understand the SD bit in configuration register 30. However, according to the TRM, it should enter shutdown mode via the bq40z50, but the test results don't seem to reflect that. Could you also double-check the shutdown mode consumption with the TMP468 with the FW team?

    Sorry for the confusion, while the gauge is in shutdown with the TMP attached the consumption current of the gauge is 100uA? If so, I will reach out to our team to confirm this.

    I've tried unlocking the TMP468 using the commands 8B 00 C4 EB 19 and 8B 00 C4 19 EB, but neither worked. The lock register still returns 8000. Could you show me the correct way to unlock it?

    I believe you need to write the necessary information using write block to 0x44 and 8B 00 C4 EB 19, then to see if it was written you need to use one of the TMPRead commands, where 81 00 is sent using 0x44 write block, then reading back 0x44 Read Block.

    Regards,

    Anthony

  • Hi Anthony

    This is being done by our firmware team. I will discuss with them and get back to you on this.

    Any conclusion on this? 

    Sorry for the confusion, while the gauge is in shutdown with the TMP attached the consumption current of the gauge is 100uA? If so, I will reach out to our team to confirm this.

    Yes, that's the result we obtained. Please confirm it. It would be helpful if you could test run mode, sleep mode, and shutdown mode. 

    I believe you need to write the necessary information using write block to 0x44 and 8B 00 C4 EB 19, then to see if it was written you need to use one of the TMPRead commands, where 81 00 is sent using 0x44 write block, then reading back 0x44 Read Block.

    Yes, that's exactly what I did, but it's not working.

    Thanks

    Steven

  • Hi Steven,

    Yes, that's the result we obtained. Please confirm it. It would be helpful if you could test run mode, sleep mode, and shutdown mode.

    I have made our teams aware of both of these issues and are looking into them, I will get confirmation on the status of them.

    Yes, that's exactly what I did, but it's not working.

    Is Auto-Refresh in bqStudio on at this time? If so, there could possibly be conflicts with the communication since this is constantly sending commands to the device. 

    Regards,

    Anthony

  • Hi Anthony

    OK, thanks for the help. 

    I have made our teams aware of both of these issues and are looking into them, I will get confirmation on the status of them.

    When can you provide the test results for this? 

    Is Auto-Refresh in bqStudio on at this time? If so, there could possibly be conflicts with the communication since this is constantly sending commands to the device. 

    Yeah, the auto-refresh was turned off while I was sending the commands.

    Please also help confirm this:

    We plan to use the PBI pin as the EN signal for the LDO, so when the gauge enters shutdown mode, the LDO will turn OFF, completely powering down the TMP468.

    Are there any risks associated with this approach?

    https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/814795/bq40z50-r1-bq40z50-pbi-pin

    Thanks

    Steven

  • Hi Steven,

    Since we have switched communication to email, please let me know if it is ok to close this thread. 

    Regards,

    Anthony