Changes between Version 17 and Version 18 of gsc


Ignore:
Timestamp:
07/06/2018 04:12:10 PM (6 years ago)
Author:
Tim Harvey
Comment:

add note about GSC v3 hwmon temperature units

Legend:

Unmodified
Added
Removed
Modified
  • gsc

    v17 v18  
    138138 2. Consult individual board hardware manual or the Linux device-tree for a description of what voltage rail this is and what voltage divider is applied in order to scale it. The Newport Linux kernel and BDK use information from the Linux Device-tree to scale and name these ADC's
    139139
     140A Linux 'Hardware Monitor' ({{{hwmon}}}) driver is available  which provides simple standard access to the above temperature/voltage registers via sysfs. The arguments have been given labels which define the source. The user can “cat” the label to determine the source.
     141
     142Note that the standard sysfs entries for hwmon drivers are such that temperatures are in millidegrees celcius and voltages are in millivolts.
     143
     144
    140145
    141146[=#hwmon_v1_v2]
    142 === GSC v1/v2 (Laguna/Ventana)
     147=== GSC v1/v2 (!Laguna/Ventana)
    143148A single temperature sensor provides the board temperature in a 16-bit value (MSB first, LSB second) at register offset 0x00 in degrees Celcius. The voltage based ADC inputs provides a voltage (millivolt) as a 24-bit value (MSB first, LSB last). The ADC measurements are performed once per second (1Hz).
    144149
     
    236241Combining 0x01 and 0xc0, is 0x01c0, which comes out to be 448, which divided by 10, equals 44.8 Deg. C.
    237242
    238 
    239243For Ventana i.MX6 processor temperature, see [wiki:ventana/thermal here]
     244
    240245
    241246[=#fan]
     
    440445
    441446=== EEPROM Secure Key Example ===
    442 The secure key area starts at 0x51 offset 0x80 and extends for 96 bytes for GSC v1/v2 (Laguna/Ventana) and for 128 bytes for GSC v2 (Newport).
     447The secure key area starts at 0x51 offset 0x80 and extends for 96 bytes for GSC v1/v2 (!Laguna/Ventana) and for 128 bytes for GSC v2 (Newport).
    443448
    444449To see the secure key, you can use the command i2cdump from the command line: (starts with the ASCII values of D3 and ends with w in below example)