You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Icetea: config: setting TMP432 register value for HW OTP function (#572)
Summary:
# Description
Update platform_manager.json file:
1. Set the TMP432 register addresses 0x27 and 0x28 to a value of 0x05.
2. Set the high threshold for the TMP432 remote temperature to 105 degrees. Since TMP432_2 (Remote Temperature 2) is not utilized in the hardware, ensure that TMP432_1 (Remote Temperature 1, Remote Temperature 2) and TMP432_2 (Remote Temperature 1) are correctly set.
Please refer to the description of the tmp432 datasheet:
<img width="847" height="112" alt="image" src="https://github.com/user-attachments/assets/50c8d99e-6649-47a9-aa37-7ecc9a1c7606" />
<img width="842" height="112" alt="image" src="https://github.com/user-attachments/assets/ea5de7b2-ba56-4369-bafd-d0db8126e614" />
<img width="856" height="69" alt="image" src="https://github.com/user-attachments/assets/b2f822a5-625f-42f8-b350-92adc072b016" />
# Motivation
1. According to the hardware team's test result, the 0x27 & 0x28 register values need to be set to 0x05 to calibrate the TMP432 temperature values.
4. According to HW OTP(over temperature protection) requirements, the TMP432 remote temperature high threshold should be set to 105°C after the OS boots.
<img width="1114" height="352" alt="image" src="https://github.com/user-attachments/assets/27e22213-d40d-4baf-a3c3-faf1e695e09f" />
Pull Request resolved: #572
Test Plan:
Step 1: Check the original TMP432 sensor value and register value.
Step 2: Run platform_manager. Note: if the tmp432 driver has ever been loaded before, then the "--reload-kmods" is required when running platform_manager for the first time.
Step 3: Check the TMP432 sensor value and register value again.
<img width="853" height="561" alt="image" src="https://github.com/user-attachments/assets/4a42e5af-35f0-462f-93f6-f283ccb01acd" />
Please refer to the detailed logs: [TMP432_setting_log.txt](https://github.com/user-attachments/files/22590843/TMP432_setting_log.txt)
Please refer to the new logs for the comments update: [platform_manager_930.log](https://github.com/user-attachments/files/22609230/platform_manager_930.log)
Reviewed By: somasun
Differential Revision: D83879933
Pulled By: binhuang00
fbshipit-source-id: 8335b6afebbe946333dfa263ce392bc2127b09bf
0 commit comments