diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-09-04 11:40:11 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-04 17:49:06 -0700 |
commit | 141e16c2fa89ff978008873bc11f2d82c4b5d354 (patch) | |
tree | 93834b08be37af79baeb95f88a55bfe2c5651c44 | |
parent | e2de50ee7645b07eb70149748b51f5fc8b32b12d (diff) | |
download | chrome-ec-141e16c2fa89ff978008873bc11f2d82c4b5d354.tar.gz |
Calibrate IR temperature sensors for Link DVT
The TMP006 IR sensors are calibrated against the temperature measured on
the *external* side on the casing using a thermocouple stick at the
vertical of the sensor.
The hinge sensor is sending back strange values, and the Tobject from
there should not be trusted.
The DC-Jack C-case sensor is not calibrated (and will be removed soon).
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=on Link DVT, compare EC temperature values against thermocouple
readings.
BRANCH=link
Change-Id: I03375dd1c2f3a0aa56b0d2f343dad3b8f7581bc2
Reviewed-on: https://gerrit.chromium.org/gerrit/32156
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/link/board_temp_sensor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/link/board_temp_sensor.c b/board/link/board_temp_sensor.c index 90b96c4ae3..f9c99d8ef9 100644 --- a/board/link/board_temp_sensor.c +++ b/board/link/board_temp_sensor.c @@ -84,11 +84,11 @@ const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT] = { const struct tmp006_t tmp006_sensors[TMP006_COUNT] = { /* TODO: Calibrate sensitivity factors. See crosbug.com/p/9599 */ {"Heat pipe D", TEMP_HEATPIPE_ADDR, 2771}, - {"PCH D", TEMP_PCH_ADDR, 14169}, - {"Memory D", TEMP_MEMORY_ADDR, 6400}, - {"Charger D", TEMP_CHARGER_ADDR, 10521}, + {"PCH D", TEMP_PCH_ADDR, 9301}, + {"Memory D", TEMP_MEMORY_ADDR, 3790}, + {"Charger D", TEMP_CHARGER_ADDR, 10426}, {"DCJack C", TEMP_DCJACK_ADDR, 6400}, - {"USB C", TEMP_USB_ADDR, 6400}, - {"Hinge C", TEMP_HINGE_ADDR, 6400}, - {"SD Card D", TEMP_SDCARD_ADDR, 6400}, + {"USB C", TEMP_USB_ADDR, 3648}, + {"Hinge C", TEMP_HINGE_ADDR, -2713}, + {"SD Card D", TEMP_SDCARD_ADDR, 4577}, }; |