Read response format – Sundance SMT391-VP User Manual
Page 24

Version 1.3
Page 24 of 41
SMT391-VP User Manual
Bit 4: SDB B reset.
Bit 5: RSL A reset.
Bit 6: RSL B reset.
Bit 7: Trigger logic reset channel Q (do not use).
Bit 8: Trigger logic reset channel I.
Firmware Version Register (Read Add 0x000)
A read from address 0x000 will display the firmware version register. The value of
this register is hard coded during VHDL compiles and must be stepped for each new
version of the firmware. Even though 32 bits are read over the Comport, the firmware
version register is a 16 bit register (16 least significant bits of the returned value).
Read Request Format:
31 .. 28
27 .. 24
23 .. 20
19 .. 16
15 .. 12
11 .. 8
7 .. 4
3 .. 0
Command
Address
Data MSB
Data LSB
0x2 0x000
xx
xx
Read Response Format:
31 .. 28
27 .. 24
23 .. 20
19 .. 16
15 .. 12
11 .. 8
7 .. 4
3 .. 0
Command
Address
Data MSB
Data LSB
0x2 0x000 Firmware
Version Firmware
Version
Figure 7 – Firmware Version Register (Read Only).
Temperature Registers (Read Add 0x020, 0x021, 0x028, 0x029)
There are four temperature registers. Each register is 16 bits long. When the bit
value of the register is converted to a decimal number, that number is the
temperature in degrees Celsius.
Read Request Format:
31 .. 28
27 .. 24
23 .. 20
19 .. 16
15 .. 12
11 .. 8
7 .. 4
3 .. 0
Command
Address
Data MSB
Data LSB
0x2
0x2
0x2
0x2
0x020 (Smt338AirTempReg) (1)
0x021 (Smt338DiodeTempReg) (2)
0x028 (DaughterCardAirTempReg) (3)
0x029 (DaughterCardDiodeTempReg) (4)
xx
xx
xx
xx
xx
xx
xx
xx
(1) - SMT338-VP Air Temperature on Top of PCB