
66
(c) Spectrum Instrumentation GmbH
Gathering information from the card
Programming the Board
.
Hardware and PCB version
Since all of the boards from Spectrum are modular boards, they consist of one base board and one piggy-back front-end module and even
-
tually of an extension module like the star-hub. Each of these three kinds of hardware has its own version register. Normally you do not need
this information but if you have a support question, please provide the revision together with it.
If your board has an additional piggy-back extension module mounted you can get the hardware version with the following register.
If your board has an additional digital I/O extension module mounted (option -DigSMB or -DigFX2) you can get the hardware version with
the following register.
Firmware versions
All the cards from Spectrum typically contain multiple programmable devices such as FPGAs, CPLDs and the like. Each of these have their
own dedicated firmware version. This version information is readable for each device through the various version registers. Normally you do
Table 10: Overview of all M2p.59xx card types with their definitions and values
Card type
Card type
as defined in
regs.h
Value
hexadecimal
Value
decimal
Card type
Card type
as defined in
regs.h
Value
hexadecimal
Value
decimal
M2p.5911-x4
TYP_M2P5911_X4
95911h
612625
M2p.5912-x4
TYP_M2P5912_X4
95912h
612626
M2p.5916-x4
TYP_M2P5916_X4
95916h
612630
M2p.5913-x4
TYP_M2P5913_X4
95913h
612627
M2p.5920-x4
TYP_M2P5920_X4
95920h
612640
M2p.5940-x4
TYP_M2P5940_X4
95940h
612672
M2p.5921-x4
TYP_M2P5921_X4
95921h
612641
M2p.5941-x4
TYP_M2P5941_X4
95941h
612673
M2p.5922-x4
TYP_M2P5922_X4
95922h
612642
M2p.5942-x4
TYP_M2P5942_X4
95942h
612674
M2p.5926-x4
TYP_M2P5926_X4
95926h
612646
M2p.5946-x4
TYP_M2P5946_X4
95946h
612678
M2p.5923-x4
TYP_M2P5923_X4
95923h
612643
M2p.5943-x4
TYP_M2P5943_X4
95943h
612675
M2p.5930-x4
TYP_M2P5930_X4
95930h
612656
M2p.5960-x4
TYP_M2P5960_X4
95960h
612704
M2p.5931-x4
TYP_M2P5931_X4
95931h
612657
M2p.5961-x4
TYP_M2P5961_X4
95961h
612705
M2p.5932-x4
TYP_M2P5932_X4
95932h
612658
M2p.5962-x4
TYP_M2P5962_X4
95962h
612706
M2p.5936-x4
TYP_M2P5936_X4
95936h
612662
M2p.5966-x4
TYP_M2P5966_X4
95966h
612710
M2p.5933-x4
TYP_M2P5933_X4
95933h
612659
M2p.5963-x4
TYP_M2P5963_X4
95963h
612707
Table 11: Spectrum API: Register for hardware and PCB versions of standard card
Register
Value
Direction
Description
SPC_PCIVERSION
2010
read
Base card version: the upper 16 bit show the hardware version, the lower 16 bit show the firmware
version.
SPC_BASEPCBVERSION
2014
read
Base card PCB version: the lower 16 bit are divided into two 8 bit values containing pre/post deci
-
mal point version information. For example a lower 16 bit value of 0106h represents a PCB version
V1.6. The upper 16 bit are always zero.
SPC_PCIMODULEVERSION
2012
read
Module version: the upper 16 bit show the hardware version, the lower 16 bit show the firmware ver
-
sion.
SPC_MODULEAPCBVERSION
2015
read
Module A PCB version: the lower 16 bit are divided into two 8 bit values containing pre/post deci
-
mal point version information. For example a lower 16 bit value of 0106h represents a PCB version
V1.6. The upper 16 bit are always zero.
SPC_MODULEBPCBVERSION
2016
read
Module B PCB version: the lower 16 bit are divided into two 8 bit values containing pre/post deci
-
mal point version information. For example a lower 16 bit value of 0106h represents a PCB version
V1.6. The upper 16 bit are always zero.
Table 12: Spectrum API: Registers of hardware and PCB version of optional extension card
Register
Value
Direction
Description
SPC_PCIEXTVERSION
2011
read
Extension module version: the upper 16 bit show the hardware version, the lower 16 bit show the
firmware version.
SPC_EXTPCBVERSION
2017
read
Extension module PCB version: the lower 16 bit are divided into two 8 bit values containing pre/post
decimal point version information. For example a lower 16 bit value of 0106h represents a PCB ver
-
sion V1.6. The upper 16 bit are always zero.
Table 13: Spectrum API: Registers of hardware and PCB version of optional digital extension module
Register
Value
Direction
Description
SPC_PCIDIGVERSION
2018
read
Digital I/O module version: the upper 16 bit show the hardware version, the lower 16 bit show the
firmware version.
SPC_DIGPCBVERSION
2019
read
Digital I/O module PCB version: the lower 16 bit are divided into two 8 bit values containing
pre/post decimal point version information. For example a lower 16 bit value of 0106h represents a
PCB version V1.6. The upper 16 bit are always zero.
Содержание M2p.59 Series
Страница 190: ......