Luwen WH currently uses the old "SMBUS telemetry" when trying to get chip telemetry.
We should be using new_telemetry instead. The process to read from new telemetry table is as follows:
- Find telemetry_table by reading
NOC_NODEID_X_0
- Check
telemetry_table.entry_count to find out how many tag_table entries there are
- Read through all tag_table entries and keep the tag-offset mapping around. These will not change unless the FW gets updated and the chip is reset.
To find specific telemetry entries:
- look up the offset in the tag-offset mapping
- Read 4-bytes starting from
NOC_NODEID_Y_0 + 4 * offset.