Integrator Resources

The official home for NAI Support

Not sure where to start? Try Quick Start Guide or ask a question below!

Toggle Components with Visual Button
JavaScript Form Processing

High-Voltage Current D/A Module

INTRODUCTION

As a leading manufacturer of smart function modules, NAI offers over 100 different modules that cover a wide range of I/O, measurement and simulation, communications, Ethernet switch, and SBC functions. Our DA5 module provides four independent Digital-to-Analog (D/A) output channels (half-bridge configuration) utilizing a single external supplied power source with a full-scale operating range of 0-65 V (in V-control mode) and 0-2 A (in I-control mode). For expanded capabilities, two channels can be paired (full-bridge configuration) to achieve a full-scale range of ±65 V and ±2 A from a single external supplied power source. The DA5 provides a linearity/accuracy of ±0.25% FS range over temperature, and provides either voltage or current control loop modes (enabling the module to be programmed to suit the requirements of the application). This user manual is designed to help you get the most out of our DA5 smart function module

DA5 Overview

NAI’s DA5 modules offers several features designed to suit a variety of system requirements, including:

Four (4) Channels of Digital-to-Analog I/O Interface:

The DA5 provides four independent channels of high-quality 16-bit D/A output in its default half-bridge configuration, offering a full-scale range of 0-65 V (V-control mode) and 0-2 A (I-control mode). When pairing two channels for the full-bridge configuration, an additional sign bit per channel enhances precision, with an expanded full-scale range of ±65 V (V-control mode) and ±2 A (I-control mode).

Designed to meet IEC 801-2 Level 2 testing requirements:

The DA5 ensures reliable performance and compliance with industry standards by meeting the testing requirements of IEC 801-2 Level 2. This capability guarantees that the module can effectively handle electromagnetic compatibility challenges, highlighting the product’s resilience in various operating environments..

Continuous Built-In Test (BIT):

The module incorporates continuous BIT functionality, providing self-diagnostics and monitoring capabilities to ensure reliable operation and easy troubleshooting.

Automatic Shutdown Protection:

The DA5 module utilizes an automatic shutdown protection feature to enhance operational safety by swiftly responding to potentially harmful conditions. This functionality not only safeguards the module from damage but also provides users with clear and immediate feedback by displaying the results in a status word, ensuring efficient troubleshooting and maintenance processes.

Extended D/A FIFO Buffering Capabilities:

The extended D/A output FIFO buffering capabilities of the DA5 module facilitate efficient signal processing and management, ensuring smooth operation and accurate output generation. By offering a buffering mechanism, the module can handle fluctuations in data flow, reducing the risk of data loss or distortion. This feature is particularly advantageous in applications requiring precise timing or synchronization, enhancing overall system performance and reliability.

PRINCIPLE OF OPERATION

In addition to the functions and features already described, this module includes extensive background BIT/diagnostics that run in the background in normal operation without user intervention. In addition to output signal read-back (wrap) capabilities, overtemperature and overloaded outputs will be detected with automatic channel shutdown protection, with the results displayed in a status word. The modules also include D/A FIFO Buffering for greater control of the output voltage and signal data. The FIFO D/A buffer will accept, store and output the voltage (and/or current) commands, once enabled and triggered, for applications requiring simulation of waveform generation; single or periodic (pending). The output data command word is formatted as a percentage of the full scale (FS) range selection, which allows maximum resolution and accuracy at lower voltage ranges.

Built-In Test (BIT)/Diagnostic Capability

The DA5 module supports two types of built-in tests: Continuous Background and Initiated. The results of these tests are logically OR’d together and stored in the BIT Dynamic Status and BIT Latched Status registers. In addition to BIT, the DA5 module tests for under and overvoltage conditions for +12V and -12V power, drive over-temperature conditions, surge suppressor faults and overcurrent conditions.

Power-On Self Test (POST)/Power-On BIT (PBIT)/Start-Up BIT (SBIT)

The power-on self-test is performed on each channel automatically when power is applied and report the results in the BIT Status register when complete. After power-on, the Power-on BIT Complete register should be checked to ensure that POST/PBIT/SBIT test is complete before reading the BIT Dynamic Status and BIT Latched Status registers.

Continuous Background Built-In Test

The background Built-In-Test or Continuous BIT (CBIT) (“D2”) runs in the background where each channel is checked to a test accuracy of 1% FS. The testing is totally transparent to the user, requires no external programming, and has no effect on the operation of the module or card. For the DA5 module, all channels are monitored for shorted outputs during the CBIT test.

The technique used by the continuous background BIT (CBIT) test consists of an “add-2, subtract-1” counting scheme. The BIT counter is incremented by 2 when a BIT-fault is detected and decremented by 1 when there is no BIT fault detected and the BIT counter is greater than 0. When the BIT counter exceeds the (programmed) Background BIT Threshold value, the specific channel’s fault bit in the BIT status register will be set. Note, the interval at which BIT is performed is dependent and differs between module types. Rather than specifying the BIT Threshold as a “count”, the BIT Threshold is specified as a time in milliseconds. The module will convert the time specified to the BIT Threshold “count” based on the BIT interval for that module. The “add-2, subtract-1” counting scheme effectively filters momentary or intermittent anomalies by allowing them to “come and go“ before a BIT fault status or indication is flagged (e.g. BIT faults would register when sustained; i.e. at a ten second interval, not a 10-millisecond interval). This prevents spurious faults from registering valid such as those caused by EMI and/or dirty power causing false BIT faults. Putting more “weight” on errors (“add-2”) and less “weight” on subsequent passing results (subtract-1) will result in a BIT failure indication even if a channel “oscillates” between a pass and fail state.

Initiated Built-In Test

The DA5 module support one off-line Initiated BIT (IBIT) (“D3”) test.

IBIT test uses an internal A/D that measures all D/A channels while they remain connected to the I/O and cycle through in increments of 10% of the VCC voltage up to 90% of the VCC once per second. Each channel will be checked to a test accuracy of 1% FS. Test cycle is completed in approximately 10 seconds and results can be read from the Status registers when IBIT changes from 1 to 0. The test can be stopped at any time. This test requires no user programming and can be enabled or disabled via a register bit.

D/A FIFO Buffering/Pattern Buffer

The DA5 module provides that ability to use memory buffers either as a Pattern buffer, addressable RAM used for creating an output pattern (or cycling) or as a FIFO buffer. These buffers provide greater control of the output voltage and signal data. The D/A buffers will accept, store, and output the voltage (and/or current) commands, once enabled and triggered, for applications requiring simulation of waveform generation; single or periodic. The output data command word is formatted as a percentage of the full scale (FS) range selection, which allows maximum resolution and accuracy at lower voltage ranges.

Status and Interrupts

The D/A Module provide registers that indicate faults or events. Refer to “Status and Interrupts Module Manual” for the Principle of Operation description.

Module Common Registers

The D/A Module includes module common registers that provide access to module-level bare metal/FPGA revisions & compile times, unique serial number information, and temperature monitoring. Refer to “Module Common Registers Module Manual” for the detailed information

Engineering Scaling Conversions

The D/A Module Data, Voltage and Current Measurement registers can be programmed to be utilized as an IEEE 754 single-precision floating-point value or as a 32-bit integer value. The purpose for providing this feature is to offload the processing that is normally performed by the mission processor to convert the integer values to floating-point values. When the Enable Floating Point Mode register is set to 1 (Floating Point Mode), the following registers are formatted as Single Precision Floating Point Value (IEEE-754):

  • Wrap Voltage (Volts)

  • Wrap Current (mA)

  • External Power Voltage (Volts)

  • External Power Current (mA)

  • Drive Temperature (Celsius)

  • Command (Voltage (Volts) or Current (mA))*

  • FIFO Buffer Data/Pattern RAM Data*

  • Overcurrent Value (mA)*

  • External Power Minimum Voltage Threshold

  • External Power Maximum Voltage Threshold

The following are Floating Point only:

  • Control Loop Proportional Gain (Kp) Coefficient

  • Control Loop Integral Gain (Ki) Coefficient

*When the Enable Floating Point Mode register is set to 1, it is important that these registers are updated with the Single Precision Floating Point Value (IEEE-754) representation of the value for proper operation of the module. Conversely, when the Enable Floating Point Mode register is set to 0, these registers must be updated to the Integer 32-bit representation of the value.

Note
When changing the Enable Floating Point Mode from Integer Mode to Floating Point Mode or vice versa, the following step should be followed to avoid faults from falsely being generated because Thresholds and Test Angle registers have an incorrect binary representation of the values:
  1. Set the Enable Floating Point Mode register to the desired mode (Integer or Floating Point).

  2. Wait for the Floating Point State register to match the value for the requested Floating Point Mode (Integer = 0, Floating Point = 1); this indicates that the module’s conversion of the register values and internal values is complete. Data registers will be converted to the units specified and can be read in that specified format.

  3. Initialize configuration and control registers with the values in the units specified (Integer or Floating Point).

It is very often necessary to relate D/A voltage and current to other engineering units such as PSI (Pounds per Square Inch). When the Enable Floating Point Mode register is set to 1, the values entered for the Floating Point Offset register and the Floating-Point Scale register will be used to convert the D/A data from engineering units to voltage or current values. The purpose of this is to offload the processing that is normally performed by the mission processor to convert the physical quantity to voltage or current values for the Command register and the FIFO Buffer Data register. When enabled, the module will compute the D/A data as follows:

     D/A Value as Volts/Current (Floating Point) =

          (D/A Value in Engineering Units (Floating Point) + Floating Point Offset) * Floating Point Scale

Note:

When Enable Floating Point Mode is set to 1 (Floating Point Mode) the listed registers below are formatted as Single Precision Floating Point Value (IEEE-754).

The values specified in the Floating Point Offset register and the Float Point Scale register are applied to the following:

  • Command Value

  • FIFO Buffer Data/Pattern RAM Data

Note:

The Floating Point Scale/Offset values are applied to the FIFO/RAM data upon being written. Changes to the Floating Point Scale/Offset values will not be applied to values already written to FIFO/RAM.

Watchdog Timer Capability

The Digital-to-Analog Modules provide support for Watchdog Timer capability. Refer to “Watchdog Timer Module Manual” for the Principle of Operation description.

REGISTER DESCRIPTIONS

The register descriptions provide the register name, Type, Data Range, Read or Write information, Initialized Value, a description of the function and, in most cases, a data table.

D/A Output Registers

The D/A output is normally in terms of voltage or current depending on the Voltage/Current mode. When the Enable Floating Point Mode is enabled, the register value is formatted as a Single Precision Floating Point Value (IEEE-754). In addition, the D/A output value can be specified in engineering units rather than voltage by setting the Floating Point Scale and Floating Point Offset register values to reflect the conversion algorithm.

Command Value

Function: Sets the output voltage or current for the channel.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: +/-65V (Voltage mode), +/-2000 mA (Current mode)

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing millivolts/milliamps. LSB = 1 mV or 1 mA.

     *Enable Floating Point Mode:* 1 (Floating Point Mode)

           Single Precision Floating Point Value (IEEE-754) in Volts or milliamps depending on the Voltage/Current mode or Engineering Units.

Read/Write: R/W

Initialized Value: 0

Operational Settings: Refer to section Appendix A: Integer/Floating Point Mode Programming for Integer and Floating Point Mode examples

D/A Control Registers

The D/A control registers provide the ability to specify whether the D/A channel is outputting voltage or current, the enabling or disabling of the power to the D/A module, the enabling or disabling of the output of the D/A channels, and the configuration of the bridge mode, and Current Control Loop Gains.

The D/A channels are monitored to detect overcurrent conditions and will automatically disable the D/A output. In the event of an overcurrent condition, the D/A channel needs to be “reset” by writing to the Overcurrent Reset register. The D/A Overcurrent Value register provides that ability to programmatically change the threshold of the overcurrent detection.

Voltage/Current Mode

Function: Sets each channel for voltage-control or current-control mode.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R/W

Initialized Value: 0 (Voltage Mode for all channels)

Operational Settings: Write a 1 to set the channel for current-control mode. Write a 0 to set the channel for voltage-control mode. Bit-mapped per channel.

Table 1. Voltage/Current Mode

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Power Enable

Function: Enables the DAC’s channel power for the DA module.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0001

Read/Write: R/W

Initialized Value: 0x0000 0001 (Channel power is enabled)

Operational Settings: Set bit to 1 to enable the power. Set bit to 0 to disable the power.

Table 2. Power Enable

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

Output Enable

Function: Enables the voltage or current to appear on the output.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R/W

Initialized Value: 0 (Channel outputs are disabled)

Operational Settings: Set bit to 1 to activate the output. Set bit to 0 to disable the output.

Table 3. Output Enable

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Half/Full Bridge Mode

Function: Sets the half or full bridge mode.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0005

Read/Write: R/W

Initialized Value: 0 (Half-Bridge for all channels)

Operational Settings: Write a 0 to set the channel for half-bridge mode. Write a 1 to set the channel for full-bridge mode. Bit-mapped per channel; Note: only channels 1 and 3 apply.

Note:      When D0 Bit is set to 1, channels 1 and 2 operate as a full-bridge.

                When D2 bit is set to 1, channels 3 and 4 operate as a full-bridge.

Table 4. Half/Full Bridge Mode

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

Ch3

0

Ch1

Control Loop Proportional (Kp) Coefficient

Function: Current control loop proportional gain coefficient. Control loop gain coefficients only apply in current mode.

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: 0.0 - 255.9999847412109375

Read/Write: R/W

Initialized Value: 0.2

Operational Settings: When in current mode, the Kp coefficient is used as the proportional gain for the Current Control Loop.

Control Loop Integral Gain (Ki) Coefficient

Function: Current control loop integral gain coefficient. Control loop gain coefficients only apply in current mode.

Type: Single Precision Floating Point Value (IEEE-754).

Data Range: 0.0 - 255.9999847412109375

Read/Write: R/W

Initialized Value: 0.4

Operational Settings: When in current mode, the Ki coefficient is used as the integral gain for the Current Control Loop. Note, the realized integral gain is computed by multiplying this value to the sampling rate (116,667 Hz).

Overcurrent Reset

Function: Resets over loaded channels based on the current value read in the Wrap Current register.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: W

Initialized Value: 0

Operational Settings: Set to 1 to re-enable over loaded channels. Writing a 1 to this register will re-enable over loaded channels. Bitmapped per channel

Table 5. Overcurrent Reset

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Overcurrent Value

Function: Sets the overcurrent value to be used to determine the overcurrent condition.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: 0 to 2200 mA

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing milliamps. LSB = 1 mA.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in milliamps

Read/Write: R/W

Initialized Value: 2200 mA

Operational Settings: This setting is the value that is used to determine the overcurrent condition for each channel. This value is applied to both positive and negative currents. Note, the maximum value for the overcurrent value is 2200 mA.

Note
Independent of the value written, the module will always shut down if the channel current exceeds 12A for 20us to protect the hardware.

Positive External Power Minimum Voltage Threshold

Function: Sets the threshold for the minimum positive external power supply voltage. If the measured voltage drops below this value, the status bit for power supply under voltage will be set.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: 0 to 75V

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing milliamps. LSB = 1 mV.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts

Read/Write: R/W

Initialized Value: 5V

Operational Settings: This register only affects when the status bit is set, the drive will not be disabled by this threshold.

Positive External Power Maximum Voltage Threshold

Function: Sets the threshold for the maximum positive external power supply voltage. If the measured voltage spikes above this value, the status bit for power supply over voltage will be set.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: 0 to 75V

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing milliamps. LSB = 1 mV.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts

Read/Write: R/W

Initialized Value: 70V

Operational Settings: This register only affects when the status bit is set, the drive will not be disabled by this threshold.

Negative External Power Minimum Voltage Threshold

Function: Sets the threshold for the minimum negative external power supply voltage. If the measured voltage drops below this value, the status bit for power supply under voltage will be set.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: 0 to -40V

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing milliamps. LSB = 1 mV.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts

Read/Write: R/W

Initialized Value: 0V

Operational Settings: This register only affects when the status bit is set, the drive will not be disabled by this threshold.

Negative External Power Maximum Voltage Threshold

Function: Sets the threshold for the maximum negative external power supply voltage. If the measured voltage spikes above this value, the status bit for power supply over voltage will be set.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: 0 to -40V

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing milliamps. LSB = 1 mV.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts

Read/Write: R/W

Initialized Value: -35V

Operational Settings: This register only affects when the status bit is set, the drive will not be disabled by this threshold.

D/A Measurement Registers

The measured voltage and current for the D/A output and the supply, as well as the drive temperature, can be read for each D/A channel.

Wrap Voltage

Function: Wrap voltage reading from the channel’s output.

Type: unsigned binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ± 100.0 V

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mV

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts.

Read/Write: R

Initialized Value: N/A

Operational Settings: The Wrap Voltage is used in conjunction with BIT to verify that the output voltage is within range of the use set DAC value (voltage-control mode). Accuracy is ~1.6% FS.

Table 6. Wrap Voltage (Enable Floating Point Mode: Integer Mode)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Table 7. Wrap Voltage (Enable Floating Point Mode: Floating Point Mode)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Wrap Current

Function: Wrap current reading from the channel’s output. Reads current values of D/A outputs being delivered per channel.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ±16000 mA

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mA

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in milliamps.

Read/Write: R

Initialized Value: N/A

Operational Settings: The Wrap Current is used in conjunction with BIT to verify that the output voltage is within range of the use set DAC value (current-control mode). Accuracy is ~1% FS.

Table 8. Wrap Current (Enable Floating Point Mode: Integer Mode)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Table 9. Wrap Current (Enable Floating Point Mode: Floating Point Mode)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Positive External Power Voltage

Function: Positive voltage reading for the external power supply.

Type: unsigned binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ± 150.136 V

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mV

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts.

Read/Write: R

Initialized Value: N/A

Operational Settings: The Positive Supply Voltage Measured value is used in conjunction with the off-line IBIT test to determine the voltage intervals used for the IBIT test.

Note
the Positive External Power Voltage should not exceed +65 Volts.

Negative External Power Voltage

Function: Negative voltage reading for the external power supply.

Type: unsigned binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ± 150.136 V

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mV

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts.

Read/Write: R

Initialized Value: N/A

Operational Settings: The Negative Supply Voltage Measured value is used in conjunction with the off-line IBIT test to determine the voltage intervals used for the IBIT test.

Note
the Negative External Power Voltage should not exceed -40 Volts.

Positive External Power Current

Function: Positive current reading for the external power supply.

Type: unsigned binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ±9031 mA

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mA

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in milliamps.

Read/Write: R

Initialized Value: 0

Operational Settings: The positive external power supply current reading can be used to monitor the state of the supply input.

Negative External Power Current

Function: Negative current reading for the external power supply.

Type: unsigned binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: ±9031 mA

      Enable Floating Point Mode: 0 (Integer Mode)

          (2’s compliment signed 32-bit value) with LSB = 1 mA

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in milliamps.

Read/Write: R

Initialized Value: 0

Operational Settings: The negative external power supply current reading can be used to monitor the state of the supply input.

Drive Temperature

Function: Drive temperature in Celsius.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: -40 to 85 degrees Celsius.

      Enable Floating Point Mode: 0 (Integer Mode)

          signed 32-bit value with range from 0xFFFF FFD8 to 0x0000 0055. LSB = 1° C

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in degrees Celsius.

Read/Write: R

Initialized Value: N/A

Operational Settings: The Drive Temperature is used in conjunction with the Drive Over-Temperature status register. If the drive temperature exceeds 125° Celsius, the channel’s output will be disabled and the bit in the Drive Over-Temperature status register for the D/A channel will be set. An interrupt will be generated if the interrupt for this condition is enabled. The drive temperature will continue to be monitored and when the temperature drops below 110° Celsius, the channel’s output will automatically be re-enabled. In the event the desired behavior is not to enable the channel’s output automatically after the temperature drops below 110° Celsius, the application should disable the channel by writing to the Output Enable register upon detecting the Drive Over-temperature condition via and interrupt or reading the Drive Over-temperature status.

D/A Test Registers

Two different tests, one on-line (CBIT) and one off-line (IBIT), can be selected.

Test Enabled

Function: Sets bit to enable the associated CBIT (“D2”) or IBIT (“D3”).

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000C

Read/Write: R/W

Initialized Value: 0x4 (CBIT Test Enabled)

Operational Settings: BIT tests include an online CBIT and an off-line IBIT tests. Failures in the BIT test are reflected in the BIT Status registers for the corresponding channels that fail. In addition, an interrupt (if enabled in the BIT Interrupt Enable register) can be triggered when the BIT testing detects failures.

Table 10. Test Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

IBIT Test D

CBIT Test 1

0

0

FIFO/RAM Registers

Data Mode

Function: Sets the data mode of the channel. The output can be based on either the DAC Value register or the RAM Buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R/W

Initialized Value: 0 (The output will reflect the DAC Value register value)

Operational Settings: Write a 1 to use the memory buffer. Bit-mapped per channel.

Table 11. Data Mode

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Buffer Mode

Function: Selects how the memory buffer will be used; either as a PATTERN buffer (addressable RAM used for creating an output pattern (or cycling)) or FIFO buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R/W

Initialized Value: 0

Operational Settings: Write a 1 to use the buffer for the channel as a FIFO. Write a 0 to use the buffer as RAM. To use the memory buffer, ensure that the Use Memory register is set properly. Bit-mapped per channel.

Table 12. RAM/FIFO Mode

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Output Rate

Function: Sets the output rate for the Buffer Data Output (FIFO and Pattern).

Type: unsigned binary word (32bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF.

Read/Write: R/W

Initialized Value: 0x0000 03E8 (1kHz)

Operational Settings: This setting is the output rate for each channel. Value is the desired output frequency of the buffer, in Hertz

Trigger Control

Function: Defines how triggers are to be controlled

Type: unsigned binary word (32bit)

Data Range: 0x0000 0000 to 0x0000 0131

Read/Write: R/W

Initialized Value: 0

Operational Settings: See the following tables for settings.

D[0]

Trigger Mode

0

Continuous

1

Single Sample

D[5..4]

Trigger Edge

3

Software Trigger

D[8]

Trigger Enable

0

Not Enabled / Stop Trigger

1

Enable Trigger

D[8..0]

Summary Description

0x0130

Store continuously once there is a Software Trigger.

0x0131

Store single sample once there is a Software Trigger

0x0000

Disable Trigger (will stop FIFO from storing data if continuously running)

Table 13. FIFO Trigger Control

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

D

D

0

0

0

D

FIFO Registers

Data in the form of Voltage or Current commands are written to the FIFO register one value at a time and are sent to the channel’s output once triggered.

FIFO Buffer Data

Function: Data in the form of DAC values are written to this register one word at a time (16-bits) and will be outputted to the channel’s output once triggered. When triggered, the buffer values will be output in sequence at the output rate, until empty.

Type: signed binary word (32-bits) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: +/-65V (Voltage mode), +/-2000 mA (Current mode)

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing millivolts/milliamps. LSB = 1 mV or 1 mA.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts or milliamps depending on the Voltage/Current mode or Engineering Units.

Read/Write: W

Initialized Value: N/A

Operational Settings: Data is held in FIFO until triggered. FIFO size is 32767 words per channel (each channel has its own buffer).

FIFO Word Count

Function: Reports the number of words stored in the FIFO buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 7FFF (empty to 32767)

Read/Write: R

Initialized Value: 0 (FIFO is empty)

Operational Settings: Each time a value is written to the FIFO buffer this count is incremented by 1. Once the FIFO is triggered, after each value is outputted to the DAC, this count will be decremented by 1. Watermarks and threshold values can be setup to trigger interrupts when this count crosses user defined values. The maximum number of words that can be stored in the FIFO is 32767 words.

FIFO Thresholds

The FIFO Almost Empty, FIFO Low Watermark, FIFO High Watermark, and FIFO Almost Full sets the threshold limits that are used to set the bits in the FIFO Status register.

FIFO Almost Empty

Function: This register enables the user to set the limit for the “almost empty” status.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 7FFF

Read/Write: R/W

Initialized Value: 0x400 (1024)

Operational Settings: When the FIFO Count is less than or equal to the value stored in the FIFO Almost Empty Value register, the “almost empty” bit (D1) of the FIFO Status register will be set. When the FIFO Count is greater than the value stored in the register, the “almost empty” bit (D1) of the FIFO Status register will be cleared.

FIFO Low Watermark

Function: The FIFO low watermark threshold enables the user to set the limit for the “low watermark” status.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 7FFF

Read/Write: R/W

Initialized Value: 0x2000 (8192)

Operational Settings: When the FIFO Count is less than or equal than the value stored in the FIFO Low Watermark Value register, the “low watermark” bit (D2) of the FIFO Status register will be set. When the FIFO Count is greater than the value stored in the register, the “low watermark” bit (D2) of the FIFO Status register will be cleared.

FIFO High Watermark

Function: The FIFO high watermark threshold enables the user to set the limit for the “high watermark” status.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 7FFF

Read/Write: R/W

Initialized Value: 0x6000 (24576)

Operational Settings: When the FIFO Count is greater than or equal to the value stored in the FIFO High Watermark Value register, the “high watermark” bit (D3) of the FIFO Status register will be set. When the FIFO Count counter is less than the value stored in the register, the “high watermark” bit (D3) of the FIFO Status register will be cleared.

FIFO Almost Full

Function: This register enables the user to set the limits for the “almost full” status.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 7FFF

Read/Write: R/W

Initialized Value: 0x7C00 (31744)

Operational Settings: When the FIFO Count register is greater than or equal to the value stored in the FIFO Almost Full Value register, the “almost full” bit (D4) of the FIFO Status register will be set. When the FIFO Count is less than the value stored in the FIFO Almost Full Value register, the “almost full” bit (D4) of the FIFO Status register will be cleared

Clear FIFO

Function: Clears the FIFO buffer.

Type: unsigned binary word (32-bit)

Data Range: 0 or 1

Read/Write: W

Initialized Value: 0

Operational Settings: Writing a 1 will clear the FIFO buffer and reset the count in the FIFO Word Count register.

Table 14. Clear FIFO

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

Software Trigger

Function: If the memory buffer is enabled writing the trigger value to this register will start the output. Values stored in the FIFO will be output at the set update rate until the FIFO is empty.

Type: unsigned binary word (32-bit)

Data Range: 0 or 1

Read/Write: R/W

Initialized Value: 0

Operational Settings: To initiate output from the FIFO Data register the Use FIFO register must be enabled. Then write a 1 to the FIFO Control register to begin outputting data. The 1 will clear once the FIFO empties. Bit-mapped per channel.

Table 15. FIFO Software Trigger

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

Pattern RAM Registers

The Pattern registers for each channel are defined in the table below:

Channel

RAM Registers

1

0x0002 0000 to 0x0003 FFFC

2

0x0004 0000 to 0x0005 FFFC

3

0x0006 0000 to 0x0007 FFFC

4

0x0008 0000 to 0x0009 FFFC

Data written to each Pattern (RAM) register location:

Value Range: +/-65V (Voltage mode), +/-2000 mA (Current mode)

      Enable Floating Point Mode: 0 (Integer Mode)

          Signed 32-bit value representing millivolts/milliamps. LSB = 1 mV or 1 mA.

      Enable Floating Point Mode: 1 (Floating Point Mode)

          Single Precision Floating Point Value (IEEE-754) in Volts or milliamps depending on the Voltage/Current mode or Engineering Units.

Pattern RAM Control

Function: Control the Pattern data output.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0007

Read/Write: R/W

Initialized Value: 0

Operational Settings: The Pattern Start Address register determines where the pattern output will begin when enabled. The Pattern End Address register determines where the pattern output will end when enabled. After the pattern at the Pattern End Address is outputted, it will loop back to the start address.

Table 16. Pattern RAM Control
Description

D0

Enable. This bit will enable or disable continuous pattern looping. Write 0x1 to enable and 0x0 to disable the pattern.

D1

Burst Mode: Writing 0x3 (D0 and D1) will burst the pattern from the start address to the end address for N number of times. N is determined by the value written in the Pattern Number of Cycles register.

D2

Pause: Set this bit to pause the pattern when enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

D

D

Pattern RAM Start Address

Function: Programs the starting address for the Pattern output buffer. There are 32767 address locations.

Type: unsigned binary word (32-bit)

Data Range: Pattern register location based on channel refer to table in Pattern Registers section.

Read/Write: R/W

Initialized Value: Ch 1: 0x0002 0000; Ch 2: 0x0004 0000; Ch 3: 0x0006 0000; Ch 4: 0x0008 0000;

Operational Settings: Address where the Pattern buffer will start when it is enabled.

Pattern RAM End Address

Function: Programs the ending address for the Pattern output buffer. There are 32767 address locations.

Type: unsigned binary word (32-bit)

Data Range: RAM register location based on channel refer to table in Pattern Registers section.

Read/Write: R/W

Initialized Value: Ch 1: 0x0003 FFFC; Ch 2: 0x0005 FFFC; Ch 3: 0x0007 FFFC; Ch 4: 0x0009 FFFC;

Operational Settings: Address where the Pattern buffer will end when it is enabled. After the Command value that is stored at this address is outputted, the buffer will jump back to the Pattern Start Address.

Pattern RAM Number of Cycles

Function: Set the number of Pattern cycles for a channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0001 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: When the Pattern buffer is enabled in burst mode, it will loop from the Pattern Start Address to the Pattern End Address the number of times that is set in this register.

Pattern RAM Data

Function: Set the output data values for pattern mode.

Type: signed binary word (32-bit) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)

Data Range: +/-65V (Voltage mode), +/-2000 mA (Current mode)

      Enable Floating Point Mode: 0 (Integer Mode)

            Signed 32-bit value representing millivolts/milliamps. LSB = 1 mV or 1 mA.

      Enable Floating Point Mode: 1 (Floating Point Mode)

            Single Precision Floating Point Value (IEEE-754) in Volts or milliamps depending on the Voltage/Current mode or Engineering Units.

Read/Write: W

Initialized Value: 0

Operational Settings: Refer to section Appendix A: Integer/Floating Point Mode Programming for Integer and Floating Point Mode examples.

Engineering Scaling Conversion Registers

The D/A Module Data, Voltage and Current Measurement registers can be programmed to be utilized as an IEEE 754 single-precision floating-point value or as a 32-bit integer value.

Enable Floating Point Mode

Function: Sets all channels for floating point mode or integer module.

Type: unsigned binary word (32-bit)

Data Range: 0 or 1

Read/Write: R/W

Initialized Value: 0 (Integer mode)

Operational Settings: Set bit to 1 to enable Floating Point Mode and 0 for Integer Mode.

Floating Point Offset

Function: This register sets the floating-point offset to add to DA output.

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: N/A

Read/Write: R/W

Initialized Value: 0.0

Operational Settings: Refer to section Appendix A: Integer/Floating Point Mode Programming for Integer and Floating Point examples.

Floating Point Scale

Function: This register sets the floating-point scale to multiple to the DA output.

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: N/A

Read/Write: R/W

Initialized Value: 0.0

Operational Settings: When changing the Voltage Range or Current Range, the Floating Point Scale needs to be adjusted in order for the Wrap Voltage and Wrap Current floating point representation to be scaled correctly.

Floating Point State

Function: Indicates whether the module’s internal processing is converting the register values and internal values to the binary representation of the mode selected (Integer or Floating Point).

Type: unsigned binary word (32-bit)

Data Range: 0 to 1

Read/Write: R

Initialized Value: 0

Operational Settings: Indicates the whether the module registers are in Integer (0) or Floating Point Mode (1). When the Enable Floating Point Mode is modified, the application must wait until this register’s value matches the requested mode before changing the values of the configuration and control registers with the values in the units specified (Integer or Floating Point).

Table 17. Floating Point State

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

Background BIT Threshold Programming

The technique used by the automatic background BIT test consists of an “add-2, subtract-1” counting scheme. The BIT counter is incremented by 2 when a BIT-fault is detected and decremented by 1 when there is no BIT fault detected and the BIT counter is greater than 0. When the BIT counter exceeds the (programmed) BIT Threshold value, the specific channel’s fault bit in the BIT status register will be set. The “add-2, subtract1” counting scheme effectively filters momentary or intermittent anomalies by allowing them to “come and go“ before a BIT fault status or indication is flagged (e.g. BIT faults would register when sustained; i.e. at a ten second interval, not a 10-millisecond interval). This prevents spurious faults from registering valid such as those caused by EMI and/or dirty power causing false BIT faults. Putting more “weight” on errors (“add-2”) and less “weight” on subsequent passing results (subtract-1) will result in a BIT failure indication even if a channel “oscillates” between a pass and fail state.

Background BIT Threshold

Function: Sets BIT Threshold value (in milliseconds) to use for all channels for BIT failure indication.

Type: unsigned binary word (32-bit)

Data Range: 1 ms to 2^32

Read/Write: R/W

Initialized Value: 0x0000 000A (10ms)

Operational Settings: The interval at which BIT is performed is dependent and differs between module types. Rather than specifying the BIT Threshold as a “count”, the BIT Threshold is specified as a time in milliseconds. The module will convert the time specified to the BIT Threshold “count” based on the BIT interval for that module.

Reset BIT

Function: Resets the CBIT internal circuitry and count mechanism. Set the bit corresponding to the channel you want to clear.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: W

Initialized Value: 0

Operational Settings: Set bit to 1 for channel to resets the CBIT mechanisms. Bit is self-clearing.

Table 18. Reset BIT

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Watchdog Timer Registers

Refer to “Watchdog Timer Module Manual” for the Watchdog Timer Register Descriptions.

Module Common Registers

Refer to “Module Common Registers Module Manual” for the register descriptions

Status and Interrupt Registers

The DA5 Module provides status registers for BIT, Overcurrent, External Power Under Voltage, External Power Over Voltage, Drive OverTemperature, Surge Suppressor Fault, Watchdog Timer Fault, and FIFO.

Channel Status Enabled

Function: Determines whether to update the status for the channels. This feature can be used to “mask” status bits of unused channels in status registers that are bitmapped by channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F (Channel Status)

Read/Write: R/W

Initialized Value: 0x0000 000F

Operational Settings: When the bit corresponding to a given channel in the Channel Status Enabled register is not enabled (0) the status will be masked and report “0” or “no failure”. This applies to all statuses that are bitmapped by channel (BIT Status, Overcurrent Status and Summary Status). Note, Background BIT will continue to run even if the Channel Status Enabled is set to '0'.

Table 19. Channel Status Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

BIT Status

There are four registers associated with the BIT Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. The BIT Status register will indicate an error when the D/A conversion is outside 0.2% FS accuracy spec.

Table 20. BIT Status

BIT Dynamic Status

BIT Latched Status

BIT Interrupt Enable

BIT Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s BIT error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Note
BIT Status is part of background testing and the status register may be checked or polled at any given time.

Overcurrent Status

There are four registers associated with the Overcurrent Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 21. Overcurrent Status

Overcurrent Dynamic Status

Overcurrent Latched Status

Overcurrent Interrupt Enable

Overcurrent Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Overcurrent error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Positive External Power Under Voltage Status

There are four registers associated with the Positive External Power Under Voltage Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 22. Positive External Power Under Voltage Status

Positive External Power Under Voltage Dynamic Status

Positive External Power Under Voltage Latched Status

Positive External Power Under Voltage Interrupt Enable

Positive External Power Under Voltage Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Positive External Power Under Voltage error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Positive External Power Over Voltage

There are four registers associated with the Positive External Power Over Voltage Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 23. Positive External Power Over Voltage

Positive External Power Over Voltage Dynamic Status

Positive External Power Over Voltage Latched Status

Positive External Power Over Voltage Interrupt Enable

Positive External Power Over Voltage Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Positive External Power Over Voltage error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Negative External Power Under Voltage Status

There are four registers associated with the Negative External Power Under Voltage Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 24. Negative External Power Under Voltage Status

Negative External Power Under Voltage Dynamic Status

Negative External Power Under Voltage Latched Status

Negative External Power Under Voltage Interrupt Enable

Negative External Power Under Voltage Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Negative External Power Under Voltage error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Negative External Power Over Voltage

There are four registers associated with the Negative External Power Over Voltage Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 25. Negative External Power Over Voltage

Negative External Power Over Voltage Dynamic Status

Negative External Power Over Voltage Latched Status

Negative External Power Over Voltage Interrupt Enable

Negative External Power Over Voltage Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Negative External Power Over Voltage error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Drive Over-Temperature

There are four registers associated with the Drive Over-Temperature Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. 0 = Normal; 1 = Drive Temperature exceeds 125° Celsius.

Table 26. Drive Over-Temperature

Drive Over-Temperature Dynamic Status

Drive Over-Temperature Latched Status

Drive Over-Temperature Interrupt Enable

Drive Over-Temperature Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Drive Over-Temperature error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Positive Surge Suppressor Fault

There are four registers associated with the Positive Surge Suppressor Fault Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 27. Positive Surge Suppressor Fault

Positive Surge Suppressor Fault Dynamic Status

Positive Surge Suppressor Fault Latched Status

Positive Surge Suppressor Fault Interrupt Enable

Positive Surge Suppressor Fault Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Positive Surge Suppressor Fault error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Negative Surge Suppressor Fault

There are four registers associated with the Negative Surge Suppressor Fault Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 28. Negative Surge Suppressor Fault

Negative Surge Suppressor Fault Dynamic Status

Negative Surge Suppressor Fault Latched Status

Negative Surge Suppressor Fault Interrupt Enable

Negative Surge Suppressor Fault Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit associated with the channel’s Negative Surge Suppressor Fault error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Watchdog Timer Fault

The D/A Modules provide registers that support Watchdog Timer capability. Refer to “Watchdog Timer Module Manual” for the Watchdog Timer Fault Status Register descriptions

Summary Status

There are four registers associated with the Summary Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 29. Summary Status

Summary Status Dynamic Status

Summary Status Latched Status

Summary Status Interrupt Enable

Summary Status Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

Ch4

Ch3

Ch2

Ch1

Function: Sets the corresponding bit when a fault is detected for BIT, Overcurrent, Positive/Negative External Power Over/Under Voltage, Drive Over-Temperature or Positive/Negative Surge Suppressor on that channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

FIFO Status

There are four registers associated with the FIFO Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. D0-D5 is used to show the different conditions of the buffer.

Table 30. FIFO Status

Bit

Description

Configurable?

D0

Empty; 1 when FIFO Word Count = 0

No

D1

Almost Empty; 1 when FIFO Word Count ⇐ “FIFO Almost Empty” register

Yes

D2

Low Watermark; 1 when FIFO Word Count ⇐ “FIFO Low Watermark” register

Yes

D3

High Watermark; 1 when FIFO Word Count >= “FIFO High Watermark” register

Yes

D4

Almost Full; 1 when FIFO Word Count >= “FIFO Almost Full” register

Yes

D5

Full; 1 when FIFO Word Count = 32767 Words (0x0000 7FFF)

No

FIFO Dynamic Status

FIFO Latched Status

FIFO Interrupt Enable

FIFO Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

D

D

D

D

D

Function: Sets the corresponding bit associated with the FIFO status type; there are separate registers for each channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 003F

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)

Initialized Value: 0

Note
Shown below is an example of interrupts generated for the High Watermark. As shown, the interrupt is generated as the FIFO Word Count crosses the High Watermark. The interrupt will not be generated a second time until the count goes below the watermark and then above it again.
DA 05 Img04

Interrupt Vector and Steering

When interrupts are enabled, the interrupt vector associated with the specific interrupt can be programmed (typically with a unique number/identifier) such that it can be utilized in the Interrupt Service Routine (ISR) to identify the type of interrupt. When an interrupt occurs, the contents of the Interrupt Vector registers is reported as part of the interrupt mechanism. In addition to specifying the interrupt vector, the interrupt can be directed (“steered”) to the native bus or to the application running on the onboard ARM processor.

Note
The Interrupt Vector and Interrupt Steering registers are mapped to the Motherboard Common Memory and these registers are associated with the Module Slot position (refer to Function Register Map).

Interrupt Vector

Function: Set an identifier for the interrupt.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: When an interrupt occurs, this value is reported as part of the interrupt mechanism.

Interrupt Steering

Function: Sets where to direct the interrupt.

Type: unsigned binary word (32-bit)

Data Range: See table Read/Write: R/W

Initialized Value: 0

Operational Settings: When an interrupt occurs, the interrupt is sent as specified:

Direct Interrupt to VME

1

Direct Interrupt to ARM Processor (via SerDes) (Custom App on ARM or NAI Ethernet Listener App)

2

Direct Interrupt to PCIe Bus

5

Direct Interrupt to cPCI Bus

6

FUNCTION REGISTER MAP

Key:

Bold Italic = Configuration/Control

Bold Underline = Measurement/Status

*When an event is detected, the bit associated with the event is set in this register and will remain set until the user clears the event bit. Clearing the bit requires writing a 1 back to the specific bit that was set when read (i.e. write-1-to-clear, writing a '1' to a bit set to '1' will set the bit to '0').

**Data is available in Floating Point if Enable Floating Point Mode register is set to Floating Point Mode.

~ Data is always in Floating Point.

D/A Output Registers

0x2004

Command Value Ch 1**

R/W

0x2104

Command Value Ch 1**

R/W

0x2204

Command Value Ch 1**

R/W

0x2304

Command Value Ch 1**

R/W

D/A Control Registers

0x0250

Power Enable Ch 1-4

R/W

0x1000

Voltage/Current Mode Ch 1-4

R/W

0x1010

Overcurrent Reset

R/W

0x1014

Output Enable Ch 1-4

R/W

0x1018

Half/Full Bridge Mode Ch 1, 3

R/W

0x101C

Synchronization Mode

R/W

0x2068

Control Loop Proportional Gain (Kp) Ch 1~

R/W

0x2168

Control Loop Proportional Gain (Kp) Ch 2~

R/W

0x2268

Control Loop Proportional Gain (Kp) Ch 3~

R/W

0x2368

Control Loop Proportional Gain (Kp) Ch 4~

R/W

0x206C

Control Loop Integral Gain (Ki) Ch 1~

R/W

0x216C

Control Loop Integral Gain (Ki) Ch 2~

R/W

0x226C

Control Loop Integral Gain (Ki) Ch 3~

R/W

0x236C

Control Loop Integral Gain (Ki) Ch 4~

R/W

0x2048

Overcurrent Value Ch 1**

R/W

0x2148

Overcurrent Value Ch 2**

R/W

0x2248

Overcurrent Value Ch 3**

R/W

0x2348

Overcurrent Value Ch 4**

R/W

0x2074

Positive Supply Min Voltage Threshold Ch 1**

R/W

0x2174

Positive Supply Min Voltage Threshold Ch 2**

R/W

0x2274

Positive Supply Min Voltage Threshold Ch 3**

R/W

0x2374

Positive Supply Min Voltage Threshold Ch 4**

R/W

0x2078

Positive Supply Max Voltage Threshold Ch 1**

R/W

0x2178

Positive Supply Max Voltage Threshold Ch 2**

R/W

0x2278

Positive Supply Max Voltage Threshold Ch 3**

R/W

0x2378

Positive Supply Max Voltage Threshold Ch 4**

R/W

0x207C

Negative Supply Min Voltage Threshold Ch 1**

R/W

0x217C

Negative Supply Min Voltage Threshold Ch 2**

R/W

0x227C

Negative Supply Min Voltage Threshold Ch 3**

R/W

0x237C

Negative Supply Min Voltage Threshold Ch 4**

R/W

0x2080

Negative Supply Max Voltage Threshold Ch 1**

R/W

0x2180

Negative Supply Max Voltage Threshold Ch 2**

R/W

0x2280

Negative Supply Max Voltage Threshold Ch 3**

R/W

0x2380

Negative Supply Max Voltage Threshold Ch 4**

R/W

D/A Measurement Registers

0x2008

Wrap Voltage Ch 1**

R

0x2108

Wrap Voltage Ch 2**

R

0x2208

Wrap Voltage Ch 3**

R

0x2308

Wrap Voltage Ch 4**

R

0x200C

Wrap Current Ch 1**

R

0x210C

Wrap Current Ch 2**

R

0x220C

Wrap Current Ch 3**

R

0x230C

Wrap Current Ch 4**

R

0x2060

Positive Supply Voltage Ch 1**

R

0x2160

Positive Supply Voltage Ch 2**

R

0x2260

Positive Supply Voltage Ch 3**

R

0x2360

Positive Supply Voltage Ch 4**

R

0x2084

Negative Supply Voltage Ch 1**

R

0x2184

Negative Supply Voltage Ch 2**

R

0x2284

Negative Supply Voltage Ch 3**

R

0x2384

Negative Supply Voltage Ch 4**

R

0x2064

Positive Supply Current Ch 1**

R

0x2164

Positive Supply Current Ch 2**

R

0x2264

Positive Supply Current Ch 3**

R

0x2364

Positive Supply Current Ch 4**

R

0x2088

Negative Supply Current Ch 1**

R

0x2188

Negative Supply Current Ch 2**

R

0x2288

Negative Supply Current Ch 3**

R

0x2388

Negative Supply Current Ch 4**

R

0x2070

Drive Temperature Ch 1**

R

0x2170

Drive Temperature Ch 2**

R

0x2270

Drive Temperature Ch 3**

R

0x2370

Drive Temperature Ch 4**

R

FIFO/RAM Registers

FIFO/RAM Controls

0x1004

Data Mode Ch 1-4

R/W

0x1008

Buffer Mode Ch 1-4

R/W

0x100C

Output Rate

R/W

0x1020

FIFO Trigger Control

R/W

FIFO

0x2018

FIFO Buffer Data Ch 1**

R/W

0x2118

FIFO Buffer Data Ch 2**

R/W

0x2218

FIFO Buffer Data Ch 3**

R/W

0x2318

FIFO Buffer Data Ch 4**

R/W

0x201C

FIFO Word Count Ch 1

R

0x211C

FIFO Word Count Ch 2

R

0x221C

FIFO Word Count Ch 3

R

0x231C

FIFO Word Count Ch 4

R

0x2010

Clear FIFO Ch 1

W

0x2110

Clear FIFO Ch 2

W

0x2210

Clear FIFO Ch 3

W

0x2310

Clear FIFO Ch 4

W

0x1024

Software Trigger Ch 1-4

W

FIFO Thresholds

0x2020

FIFO Almost Empty Value Ch 1

R/W

0x2120

FIFO Almost Empty Value Ch 2

R/W

0x2220

FIFO Almost Empty Value Ch 3

R/W

0x2320

FIFO Almost Empty Value Ch 4

R/W

0x2024

FIFO Low Watermark Value Ch 1

R/W

0x2124

FIFO Low Watermark Value Ch 2

R/W

0x2224

FIFO Low Watermark Value Ch 3

R/W

0x2324

FIFO Low Watermark Value Ch 4

R/W

0x2028

FIFO High Watermark Value Ch 1

R/W

0x2128

FIFO High Watermark Value Ch 2

R/W

0x2228

FIFO High Watermark Value Ch 3

R/W

0x2328

FIFO High Watermark Value Ch 4

R/W

0x202C

FIFO Almost Full Value Ch 1

R/W

0x212C

FIFO Almost Full Value Ch 2

R/W

0x222C

FIFO Almost Full Value Ch 3

R/W

0x232C

FIFO Almost Full Value Ch 4

R/W

RAM

0x2030

Pattern Control Ch 1

R/W

0x2130

Pattern Control Ch 2

R/W

0x2230

Pattern Control Ch 3

R/W

0x2330

Pattern Control Ch 4

R/W

0x2034

Pattern Start Address Ch 1

R/W

0x2134

Pattern Start Address Ch 2

R/W

0x2234

Pattern Start Address Ch 3

R/W

0x2334

Pattern Start Address Ch 4

R/W

0x2038

Pattern End Address Ch 1

R/W

0x2138

Pattern End Address Ch 2

R/W

0x2238

Pattern End Address Ch 3

R/W

0x2338

Pattern End Address Ch 4

R/W

0x203C

Pattern Number of Cycles Ch 1

R/W

0x213C

Pattern Number of Cycles Ch 2

R/W

0x223C

Pattern Number of Cycles Ch 3

R/W

0x233C

Pattern Number of Cycles Ch 4

R/W

0x0002 0000 to 0x0003 FFFC

Pattern RAM Data Space Ch 1**

W

0x0004 0000 to 0x0005 FFFC

Pattern RAM Data Space Ch 2**

W

0x0006 0000 to 0x0007 FFFC

Pattern RAM Data Space Ch 3**

W

0x0008 0000 to 0x0009 FFFC

Pattern RAM Data Space Ch 4**

W

Engineering Scaling Conversion Registers

0x02B4

Enable Floating Point

R/W

0x0264

Floating Point State

R

0x2050

Floating Point Offset Ch 1~

R/W

0x2150

Floating Point Offset Ch 2~

R/W

0x2250

Floating Point Offset Ch 3~

R/W

0x2350

Floating Point Offset Ch 4~

R/W

0x2054

Floating Point Scale Ch 1~

R/W

0x2154

Floating Point Scale Ch 2~

R/W

0x2254

Floating Point Scale Ch 3~

R/W

0x2354

Floating Point Scale Ch 4~

R/W

Watchdog Timer Registers

The D/A Modules provide registers that support Watchdog Timer capability. Refer to “Watchdog Timer Module Manual” for the Watchdog Timer Function Register Map.

Module Common Registers

Refer to “Module Common Registers Module Manual” for the Module Common Registers Function Register Map.

D/A Status Registers

0x02B0

Channel Status Enabled

R/W

BIT Registers

BIT

0x0800

Dynamic Status

R

0x0804

Latched Status*

R/W

0x0808

Interrupt Enable

R/W

0x080C

Set Edge/Level Interrupt

R/W

0x0248

Test Enabled

R/W

0x02B8

Background BIT Threshold

R/W

0x2BC

Reset BIT

W

0x02AC

Power-on BIT Complete++

R/W

++After power-on, Power-on BIT Complete should be checked before the BIT Latched Status.

Status Registers

Overcurrent

0x0910

Dynamic Status

R

0x0914

Latched Status*

R/W

0x0918

Interrupt Enable

R/W

0x091C

Set Edge/Level Interrupt

R/W

Positive External Power Under Voltage

0x0930

Dynamic Status

R

0x0934

Latched Status*

R/W

0x0938

Interrupt Enable

R/W

0x093C

Set Edge/Level Interrupt

R/W

Positive External Power Over Voltage

0x0940

Dynamic Status

R

0x0944

Latched Status*

R/W

0x0948

Interrupt Enable

R/W

0x094C

Set Edge/Level Interrupt

R/W

Drive Over-Temperature

0x0950

Dynamic Status

R

0x0954

Latched Status*

R/W

0x0958

Interrupt Enable

R/W

0x095C

Set Edge/Level Interrupt

R/W

Positive Surge Suppressor Fault

0x0960

Dynamic Status

R

0x0964

Latched Status*

R/W

0x0968

Interrupt Enable

R/W

0x096C

Set Edge/Level Interrupt

R/W

Negative Surge Suppressor Fault

0x0970

Dynamic Status

R

0x0974

Latched Status*

R/W

0x0978

Interrupt Enable

R/W

0x097C

Set Edge/Level Interrupt

R/W

Negative External Power Under Voltage

0x0980

Dynamic Status

R

0x0984

Latched Status*

R/W

0x0988

Interrupt Enable

R/W

0x098C

Set Edge/Level Interrupt

R/W

Negative External Power Over Voltage

0x0990

Dynamic Status

R

0x0994

Latched Status*

R/W

0x0998

Interrupt Enable

R/W

0x099C

Set Edge/Level Interrupt

R/W

Watchdog Timer Fault

0x09B0

Dynamic Status

R

0x09B4

Latched Status*

R/W

0x09B8

Interrupt Enable

R/W

0x09BC

Set Edge/Level Interrupt

R/W

Summary

0x09A0

Dynamic Status

R

0x09A4

Latched Status*

R/W

0x09A8

Interrupt Enable

R/W

0x09AC

Set Edge/Level Interrupt

R/W

FIFO Status

Ch 1

0x0810

Dynamic Status

R

0x0814

Latched Status*

R/W

0x0818

Interrupt Enable

R/W

0x081C

Set Edge/Level Interrupt

R/W

Ch 2

0x0820

Dynamic Status

R

0x0824

Latched Status*

R/W

0x0828

Interrupt Enable

R/W

0x082C

Set Edge/Level Interrupt

R/W

Ch 3

0x0830

Dynamic Status

R

0x0834

Latched Status*

R/W

0x0838

Interrupt Enable

R/W

0x083C

Set Edge/Level Interrupt

R/W

Ch 4

0x0840

Dynamic Status

R

0x0844

Latched Status*

R/W

0x0848

Interrupt Enable

R/W

0x084C

Set Edge/Level Interrupt

R/W

Interrupt Registers

The Interrupt Vector and Interrupt Steering registers are mapped to the Motherboard Memory Space and these addresses are absolute based on the module slot position. In other words, do not apply the Module Address offset to these address.

0x0500

Module 1 Interrupt Vector 1 - BIT

R/W

0x0504

Module 1 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0508

Module 1 Interrupt Vector 3 - FIFO Ch 2

R/W

0x050C

Module 1 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0510

Module 1 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0514 to 0x0540

Module 1 Interrupt Vector 6-17 - Reserved

R/W

0x0544

Module 1 Interrupt Vector 18 - Overcurrent

R/W

0x0548

Module 1 Interrupt Vector 19 - Reserved

R/W

0x054C

Module 1 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0550

Module 1 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0554

Module 1 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0558

Module 1 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x055C to 0x0564

Module 1 Interrupt Vector 24-26 - Reserved

R/W

0x0568

Module 1 Interrupt Vector 27 - Summary

R/W

0x056C

Module 1 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0570 to 0x057C

Module 1 Interrupt Vector 29-32 - Reserved

R/W

0x0600

Module 1 Interrupt Steering 1 - BIT

R/W

0x0604

Module 1 Interrupt Steering 2 - FIFO Ch 1

R/W

0x0608

Module 1 Interrupt Steering 3 - FIFO Ch 2

R/W

0x060C

Module 1 Interrupt Steering 4 - FIFO Ch 3

R/W

0x0610

Module 1 Interrupt Steering 5 - FIFO Ch 4

R/W

0x0614 to 0x0640

Module 1 Interrupt Steering 6-17 - Reserved

R/W

0x0644

Module 1 Interrupt Steering 18 - Overcurrent

R/W

0x0648

Module 1 Interrupt Steering 19 - Reserved

R/W

0x064C

Module 1 Interrupt Steering 20 - External Power Under Voltage

R/W

0x0650

Module 1 Interrupt Steering 21 - External Power Over Voltage

R/W

0x0654

Module 1 Interrupt Steering 22 - Drive Over Temperature

R/W

0x0658

Module 1 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x065C to 0x0664

Module 1 Interrupt Steering 24-26 - Reserved

R/W

0x0668

Module 1 Interrupt Steering 27 - Summary

R/W

0x066C

Module 1 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x0670 to 0x067C

Module 1 Interrupt Steering 29-32 - Reserved

R/W

0x0700

Module 2 Interrupt Vector 1 - BIT

R/W

0x0704

Module 2 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0708

Module 2 Interrupt Vector 3 - FIFO Ch 2

R/W

0x070C

Module 2 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0710

Module 2 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0714 to 0x0740

Module 2 Interrupt Vector 6-17 - Reserved

R/W

0x0744

Module 2 Interrupt Vector 18 - Overcurrent

R/W

0x0748

Module 2 Interrupt Vector 19 - Reserved

R/W

0x074C

Module 2 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0750

Module 2 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0754

Module 2 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0758

Module 2 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x075C to 0x0764

Module 2 Interrupt Vector 24-26 - Reserved

R/W

0x0768

Module 2 Interrupt Vector 27 - Summary

R/W

0x076C

Module 2 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0770 to 0x077C

Module 2 Interrupt Vector 29-32 - Reserved

R/W

0x0800

Module 2 Interrupt Steering 1 - BIT

R/W

0x0804

Module 2 Interrupt Steering 2 - FIFO Ch 1

R/W

0x0808

Module 2 Interrupt Steering 3 - FIFO Ch 2

R/W

0x080C

Module 2 Interrupt Steering 4 - FIFO Ch 3

R/W

0x0810

Module 2 Interrupt Steering 5 - FIFO Ch 4

R/W

0x0814 to 0x0840

Module 2 Interrupt Steering 6-17 - Reserved

R/W

0x0844

Module 2 Interrupt Steering 18 - Overcurrent

R/W

0x0848

Module 2 Interrupt Steering 19 - Reserved

R/W

0x084C

Module 2 Interrupt Steering 20 - External Power Under Voltage

R/W

0x0850

Module 2 Interrupt Steering 21 - External Power Over Voltage

R/W

0x0854

Module 2 Interrupt Steering 22 - Drive Over Temperature

R/W

0x0858

Module 2 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x085C to 0x0864

Module 2 Interrupt Steering 24-26 - Reserved

R/W

0x0868

Module 2 Interrupt Steering 27 - Summary

R/W

0x086C

Module 2 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x0870 to 0x087C

Module 2 Interrupt Steering 29-32 - Reserved

R/W

0x0900

Module 3 Interrupt Vector 1 - BIT

R/W

0x0904

Module 3 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0908

Module 3 Interrupt Vector 3 - FIFO Ch 2

R/W

0x090C

Module 3 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0910

Module 3 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0914 to 0x0940

Module 3 Interrupt Vector 6-17 - Reserved

R/W

0x0944

Module 3 Interrupt Vector 18 - Overcurrent

R/W

0x0948

Module 3 Interrupt Vector 19 - Reserved

R/W

0x094C

Module 3 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0950

Module 3 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0954

Module 3 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0958

Module 3 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x095C to 0x0964

Module 3 Interrupt Vector 24-26 - Reserved

R/W

0x0968

Module 3 Interrupt Vector 27 - Summary

R/W

0x096C

Module 3 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0970 to 0x097C

Module 3 Interrupt Vector 29-32 - Reserved

R/W

0x0A00

Module 3 Interrupt Steering 1 - BIT

R/W

0x0A04

Module 3 Interrupt Steering 2 - FIFO Ch 1

R/W

0x0A08

Module 3 Interrupt Steering 3 - FIFO Ch 2

R/W

0x0A0C

Module 3 Interrupt Steering 4 - FIFO Ch 3

R/W

0x0A10

Module 3 Interrupt Steering 5 - FIFO Ch 4

R/W

0x0A14 to 0x0340

Module 3 Interrupt Steering 6-17 - Reserved

R/W

0x0A44

Module 3 Interrupt Steering 18 - Overcurrent

R/W

0x0A48

Module 3 Interrupt Steering 19 - Reserved

R/W

0x0A4C

Module 3 Interrupt Steering 20 - External Power Under Voltage

R/W

0x0A50

Module 3 Interrupt Steering 21 - External Power Over Voltage

R/W

0x0A54

Module 3 Interrupt Steering 22 - Drive Over Temperature

R/W

0x0A58

Module 3 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x0A5C to 0x0A64

Module 3 Interrupt Steering 24-26 - Reserved

R/W

0x0A68

Module 3 Interrupt Steering 27 - Summary

R/W

0x0A6C

Module 3 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x0A70 to 0x0A7C

Module 3 Interrupt Steering 29-32 - Reserved

R/W

0x0B00

Module 4 Interrupt Vector 1 - BIT

R/W

0x0B04

Module 4 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0B08

Module 4 Interrupt Vector 3 - FIFO Ch 2

R/W

0x0B0C

Module 4 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0B10

Module 4 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0B14 to 0x0B40

Module 4 Interrupt Vector 6-17 - Reserved

R/W

0x0B44

Module 4 Interrupt Vector 18 - Overcurrent

R/W

0x0B48

Module 4 Interrupt Vector 19 - Reserved

R/W

0x0B4C

Module 4 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0B50

Module 4 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0B54

Module 4 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0B58

Module 4 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x0B5C to 0x0B64

Module 4 Interrupt Vector 24-26 - Reserved

R/W

0x0B68

Module 4 Interrupt Vector 27 - Summary

R/W

0x0B6C

Module 4 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0B70 to 0x0B7C

Module 4 Interrupt Vector 29-32 - Reserved

R/W

0x0C00

Module 4 Interrupt Steering 1 - BIT

R/W

0x0C04

Module 4 Interrupt Steering 2 - FIFO Ch 1

R/W

0x0C08

Module 4 Interrupt Steering 3 - FIFO Ch 2

R/W

0x0C0C

Module 4 Interrupt Steering 4 - FIFO Ch 3

R/W

0x0C10

Module 4 Interrupt Steering 5 - FIFO Ch 4

R/W

0x0C14 to 0x0C40

Module 4 Interrupt Steering 6-17 - Reserved

R/W

0x0C44

Module 4 Interrupt Steering 18 - Overcurrent

R/W

0x0C48

Module 4 Interrupt Steering 19 - Reserved

R/W

0x0C4C

Module 4 Interrupt Steering 20 - External Power Under Voltage

R/W

0x0C50

Module 4 Interrupt Steering 21 - External Power Over Voltage

R/W

0x0C54

Module 4 Interrupt Steering 22 - Drive Over Temperature

R/W

0x0C58

Module 4 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x0C5C to 0x0C64

Module 4 Interrupt Steering 24-26 - Reserved

R/W

0x0C68

Module 4 Interrupt Steering 27 - Summary

R/W

0x0C6C

Module 4 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x0C70 to 0x0C7C

Module 4 Interrupt Steering 29-32 - Reserved

R/W

0x0D00

Module 5 Interrupt Vector 1 - BIT

R/W

0x0D04

Module 5 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0D08

Module 5 Interrupt Vector 3 - FIFO Ch 2

R/W

0x0D0C

Module 5 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0D10

Module 5 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0D14 to 0x0D40

Module 5 Interrupt Vector 6-17 - Reserved

R/W

0x0D44

Module 5 Interrupt Vector 18 - Overcurrent

R/W

0x0D48

Module 5 Interrupt Vector 19 - Reserved

R/W

0x0D4C

Module 5 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0D50

Module 5 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0D54

Module 5 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0D58

Module 5 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x0D5C to 0x0D64

Module 5 Interrupt Vector 24-26 - Reserved

R/W

0x0D68

Module 5 Interrupt Vector 27 - Summary

R/W

0x0D6C

Module 5 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0D70 to 0x0D7C

Module 5 Interrupt Vector 29-32 - Reserved

R/W

0x0E00

Module 5 Interrupt Steering 1 - BIT

R/W

0x0E04

Module 5 Interrupt Steering 2 - FIFO Ch 1

R/W

0x0E08

Module 5 Interrupt Steering 3 - FIFO Ch 2

R/W

0x0E0C

Module 5 Interrupt Steering 4 - FIFO Ch 3

R/W

0x0E10

Module 5 Interrupt Steering 5 - FIFO Ch 4

R/W

0x0E14 to 0x0E40

Module 5 Interrupt Steering 6-17 - Reserved

R/W

0x0E44

Module 5 Interrupt Steering 18 - Overcurrent

R/W

0x0E48

Module 5 Interrupt Steering 19 - Reserved

R/W

0x0E4C

Module 5 Interrupt Steering 20 - External Power Under Voltage

R/W

0x0E50

Module 5 Interrupt Steering 21 - External Power Over Voltage

R/W

0x0E54

Module 5 Interrupt Steering 22 - Drive Over Temperature

R/W

0x0E58

Module 5 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x0E5C to 0x0E64

Module 5 Interrupt Steering 24-26 - Reserved

R/W

0x0E68

Module 5 Interrupt Steering 27 - Summary

R/W

0x0E6C

Module 5 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x0E70 to 0x0E7C

Module 5 Interrupt Steering 29-32 - Reserved

R/W

0x0F00

Module 6 Interrupt Vector 1 - BIT

R/W

0x0F04

Module 6 Interrupt Vector 2 - FIFO Ch 1

R/W

0x0F08

Module 6 Interrupt Vector 3 - FIFO Ch 2

R/W

0x0F0C

Module 6 Interrupt Vector 4 - FIFO Ch 3

R/W

0x0F10

Module 6 Interrupt Vector 5 - FIFO Ch 4

R/W

0x0F14 to 0x0F40

Module 6 Interrupt Vector 6-17 - Reserved

R/W

0x0F44

Module 6 Interrupt Vector 18 - Overcurrent

R/W

0x0F48

Module 6 Interrupt Vector 19 - Reserved

R/W

0x0F4C

Module 6 Interrupt Vector 20 - External Power Under Voltage

R/W

0x0F50

Module 6 Interrupt Vector 21 - External Power Over Voltage

R/W

0x0F54

Module 6 Interrupt Vector 22 - Drive Over Temperature

R/W

0x0F58

Module 6 Interrupt Vector 23 - Surge Suppressor Fault

R/W

0x0F5C to 0x0F64

Module 6 Interrupt Vector 24-26 - Reserved

R/W

0x0F68

Module 6 Interrupt Vector 27 - Summary

R/W

0x0F6C

Module 6 Interrupt Vector 28 - Watchdog Timer Fault

R/W

0x0F70 to 0x0F7C

Module 6 Interrupt Vector 29-32 - Reserved

R/W

0x1000

Module 6 Interrupt Steering 1 - BIT

R/W

0x1004

Module 6 Interrupt Steering 2 - FIFO Ch 1

R/W

0x1008

Module 6 Interrupt Steering 3 - FIFO Ch 2

R/W

0x100C

Module 6 Interrupt Steering 4 - FIFO Ch 3

R/W

0x1010

Module 6 Interrupt Steering 5 - FIFO Ch 4

R/W

0x1014 to 0x1040

Module 6 Interrupt Steering 6-17 - Reserved

R/W

0x1044

Module 6 Interrupt Steering 18 - Overcurrent

R/W

0x1048

Module 6 Interrupt Steering 19 - Reserved

R/W

0x104C

Module 6 Interrupt Steering 20 - External Power Under Voltage

R/W

0x1050

Module 6 Interrupt Steering 21 - External Power Over Voltage

R/W

0x1054

Module 6 Interrupt Steering 22 - Drive Over Temperature

R/W

0x1058

Module 6 Interrupt Steering 23 - Surge Suppressor Fault

R/W

0x105C to 0x1064

Module 6 Interrupt Steering 24-26 - Reserved

R/W

0x1068

Module 6 Interrupt Steering 27 - Summary

R/W

0x106C

Module 6 Interrupt Steering 28 - Watchdog Timer Fault

R/W

0x1070 to 0x107C

Module 6 Interrupt Steering 29-32 - Reserved

R/W

APPENDIX A: INTEGER/FLOATING POINT MODE PROGRAMMING

Integer Mode Programming

The following registers should be configured as follows:

Register

Value

Description

Enable Floating Point

0

Disable for Floating Point Mode

Command register (integer) LSB = 1mV (1 count / 1 millivolt)

Floating Point Mode Voltage Programming

The following registers should be configured as follows:

Register

Value

Description

Enable Floating Point

1

Enable for Floating Point Mode

Floating Point Scale

1.0

Scale = 1

Floating Point Offset

0.0

No Offset

Command register (floating point) = 1 count / 1 Volt

Floating Point Mode Engineering Units Programming

Example #1:

An application wants to associate the range +/- 20 volts to +/- 5 inches.

The following registers should be configured as follows:

Register

Value

Description

Enable Floating Point

1

Enable for Floating Point Mode

Floating Point Scale

4

Scale = voltage range / inches range = 20 / 5 = 4.0

Floating Point Offset

0.0

No Offset

Example #2:

An application wants to associate the range 0-20 volts to 0-50 feet with a bias of 0.5 feet (in other words 0.5 feet is equivalent to 0 volts).

The following registers should be configured as follows:

Register

Value

Description

Voltage Range

0x0

Unipolar 0-20 volts

Enable Floating Point

1

Enable for Floating Point Mode

Floating Point Scale

0.4

Scale = voltage range / feet range = 20 / 50 = 0.4

Floating Point Offset

-0.50

Bias (0.5 feet) that is equivalent to 0 volts

The following are sample outputs:

DAC Value (ft) (Floating Point)

DAC Voltage Output

50.00

(50.00 - 0.5) * 0.4 = 19.8 V

25.00

(25.00 - 0.5) * 0.4 = 9.8 V

5.50

(5.50 - 0.5) * 0.4 = 2.0 V

0.50

(0.50 - 0.5) * 0.4 = 0 V

APPENDIX B: PIN-OUT DETAILS

Pin-out details (for reference) are shown below, with respect to DATAIO. Additional information on pin-outs can be found in the Motherboard Operational Manuals.

Module Signal

(Ref Only)

D/A (4 CH)

(DA5)

DATIO1

CH 1 Drive

DATIO2

CH 1 Drive

DATIO3

CH 1 Drive

DATIO4

CH 1 Drive

DATIO5

Vcc 1

DATIO6

Vss 1

DATIO7

CH 2 Drive

DATIO8

CH 2 Drive

DATIO9

CH 2 Drive

DATIO10

CH 2 Drive

DATIO11

Vcc 1

DATIO12

Vss 1

DATIO13

CH 3 Drive

DATIO14

CH 3 Drive

DATIO15

CH 3 Drive

DATIO16

CH 3 Drive

DATIO17

Vcc 2

DATIO18

Vss 2

DATIO19

CH 4 Drive

DATIO20

CH 4 Drive

DATIO21

CH 4 Drive

DATIO22

CH 4 Drive

DATIO23

Vcc 2

DATIO24

Vss 2

DATIO25

CH 1 Sense

DATIO26

CH 1 / CH2 Sense -

DATIO27

CH 2 Sense

DATIO28

ISO-GND_1

DATIO29

CH 3 Sense

DATIO30

CH 3 /CH 4 Sense -

DATIO31

CH 4 Sense

DATIO32

ISO-GND_2

DATIO33

DATIO34

DATIO35

Ext Sync

DATIO36

Ext Sync -

DATIO37

DATIO38

DATIO39

DATIO40

N/A

STATUS AND INTERRUPTS

Status registers indicate the detection of faults or events. The status registers can be channel bit-mapped or event bit-mapped. An example of a channel bit-mapped register is the BIT status register, and an example of an event bit-mapped register is the FIFO status register.

For those status registers that allow interrupts to be generated upon the detection of the fault or the event, there are four registers associated with each status: Dynamic, Latched, Interrupt Enabled, and Set Edge/Level Interrupt.

Dynamic Status: The Dynamic Status register indicates the current condition of the fault or the event. If the fault or the event is momentary, the contents in this register will be clear when the fault or the event goes away. The Dynamic Status register can be polled, however, if the fault or the event is sporadic, it is possible for the indication of the fault or the event to be missed.

Latched Status: The Latched Status register indicates whether the fault or the event has occurred and keeps the state until it is cleared by the user. Reading the Latched Status register is a better alternative to polling the Dynamic Status register because the contents of this register will not clear until the user commands to clear the specific bit(s) associated with the fault or the event in the Latched Status register. Once the status register has been read, the act of writing a 1 back to the applicable status register to any specific bit (channel/event) location will “clear” the bit (set the bit to 0). When clearing the channel/event bits, it is strongly recommended to write back the same bit pattern as read from the Latched Status register. For example, if the channel bit-mapped Latched Status register contains the value 0x0000 0005, which indicates fault/event detection on channel 1 and 3, write the value 0x0000 0005 to the Latched Status register to clear the fault/event status for channel 1 and 3. Writing a “1” to other channels that are not set (example 0x0000 000F) may result in incorrectly “clearing” incoming faults/events for those channels (example, channel 2 and 4).

Interrupt Enable: If interrupts are preferred upon the detection of a fault or an event, enable the specific channel/event interrupt in the Interrupt Enable register. The bits in Interrupt Enable register map to the same bits in the Latched Status register. When a fault or event occurs, an interrupt will be fired. Subsequent interrupts will not trigger until the application acknowledges the fired interrupt by clearing the associated channel/event bit in the Latched Status register. If the interruptible condition is still persistent after clearing the bit, this may retrigger the interrupt depending on the Edge/Level setting.

Set Edge/Level Interrupt: When interrupts are enabled, the condition on retriggering the interrupt after the Latch Register is “cleared” can be specified as “edge” triggered or “level” triggered. Note, the Edge/Level Trigger also affects how the Latched Register value is adjusted after it is “cleared” (see below).

  • Edge triggered: An interrupt will be retriggered when the Latched Status register change from low (0) to high (1) state. Uses for edgetriggered interrupts would include transition detections (Low-to-High transitions, High-to-Low transitions) or fault detections. After “clearing” an interrupt, another interrupt will not occur until the next transition or the re-occurrence of the fault again.

  • Level triggered: An interrupt will be generated when the Latched Status register remains at the high (1) state. Level-triggered interrupts are used to indicate that something needs attention.

Interrupt Vector and Steering

When interrupts are enabled, the interrupt vector associated with the specific interrupt can be programmed with a unique number/identifier defined by the user such that it can be utilized in the Interrupt Service Routine (ISR) to identify the type of interrupt. When an interrupt occurs, the contents of the Interrupt Vector registers is reported as part of the interrupt mechanism. In addition to specifying the interrupt vector, the interrupt can be directed (“steered”) to the native bus or to the application running on the onboard ARM processor.

Interrupt Trigger Types

In most applications, limiting the number of interrupts generated is preferred as interrupts are costly, thus choosing the correct Edge/Level interrupt trigger to use is important.

Example 1: Fault detection

This example illustrates interrupt considerations when detecting a fault like an “open” on a line. When an “open” is detected, the system will receive an interrupt. If the “open” on the line is persistent and the trigger is set to “edge”, upon “clearing” the interrupt, the system will not regenerate another interrupt. If, instead, the trigger is set to “level”, upon “clearing” the interrupt, the system will re-generate another interrupt. Thus, in this case, it will be better to set the trigger type to “edge”.

Example 2: Threshold detection

This example illustrates interrupt considerations when detecting an event like reaching or exceeding the “high watermark” threshold value. In a communication device, when the number of elements received in the FIFO reaches the high-watermark threshold, an interrupt will be generated. Normally, the application would read the count of the number of elements in the FIFO and read this number of elements from the FIFO. After reading the FIFO data, the application would “clear” the interrupt. If the trigger type is set to “edge”, another interrupt will be generated only if the number of elements in FIFO goes below the “high watermark” after the “clearing” the interrupt and then fills up to reach the “high watermark” threshold value. Since receiving communication data is inherently asynchronous, it is possible that data can continue to fill the FIFO as the application is pulling data off the FIFO. If, at the time the interrupt is “cleared”, the number of elements in the FIFO is at or above the “high watermark”, no interrupts will be generated. In this case, it will be better to set the trigger type to “level”, as the purpose here is to make sure that the FIFO is serviced when the number of elements exceeds the high watermark threshold value. Thus, upon “clearing” the interrupt, if the number of elements in the FIFO is at or above the “high watermark” threshold value, another interrupt will be generated indicating that the FIFO needs to be serviced.

Dynamic and Latched Status Registers Examples

The examples in this section illustrate the differences in behavior of the Dynamic Status and Latched Status registers as well as the differences in behavior of Edge/Level Trigger when the Latched Status register is cleared.

Status and Interrupts Fig1

Figure 1. Example of Module’s Channel-Mapped Dynamic and Latched Status States

No Clearing of Latched Status

Clearing of Latched Status (Edge-Triggered)

Clearing of Latched Status (Level-Triggered)

Time

Dynamic Status

Latched Status

Action

Latched Status

Action

Latched

T0

0x0

0x0

Read Latched Register

0x0

Read Latched Register

0x0

T1

0x1

0x1

Read Latched Register

0x1

0x1

Write 0x1 to Latched Register

Write 0x1 to Latched Register

0x0

0x1

T2

0x0

0x1

Read Latched Register

0x0

Read Latched Register

0x1

Write 0x1 to Latched Register

0x0

T3

0x2

0x3

Read Latched Register

0x2

Read Latched Register

0x2

Write 0x2 to Latched Register

Write 0x2 to Latched Register

0x0

0x2

T4

0x2

0x3

Read Latched Register

0x1

Read Latched Register

0x3

Write 0x1 to Latched Register

Write 0x3 to Latched Register

0x0

0x2

T5

0xC

0xF

Read Latched Register

0xC

Read Latched Register

0xE

Write 0xC to Latched Register

Write 0xE to Latched Register

0x0

0xC

T6

0xC

0xF

Read Latched Register

0x0

Read Latched

0xC

Write 0xC to Latched Register

0xC

T7

0x4

0xF

Read Latched Register

0x0

Read Latched Register

0xC

Write 0xC to Latched Register

0x4

T8

0x4

0xF

Read Latched Register

0x0

Read Latched Register

0x4

Interrupt Examples

The examples in this section illustrate the interrupt behavior with Edge/Level Trigger.

Status and Interrupts Fig2

Figure 2. Illustration of Latched Status State for Module with 4-Channels with Interrupt Enabled

Time

Latched Status (Edge-Triggered – Clear Multi-Channel)

Latched Status (Edge-Triggered – Clear Single Channel)

Latched Status (Level-Triggered – Clear Multi-Channel)

Action

Latched

Action

Latched

Action

Latched

T1 (Int 1)

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Write 0x1 to Latched Register

Write 0x1 to Latched Register

Write 0x1 to Latched Register

0x0

0x0

Interrupt re-triggers Note, interrupt re-triggers after each clear until T2.

0x1

T3 (Int 2)

Interrupt Generated Read Latched Registers

0x2

Interrupt Generated Read Latched Registers

0x2

Interrupt Generated Read Latched Registers

0x2

Write 0x2 to Latched Register

Write 0x2 to Latched Register

Write 0x2 to Latched Register

0x0

0x0

Interrupt re-triggers Note, interrupt re-triggers after each clear until T7.

0x2

T4 (Int 3)

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x3

Write 0x1 to Latched Register

Write 0x1 to Latched Register

Write 0x3 to Latched Register

0x0

0x0

Interrupt re-triggers Note, interrupt re-triggers after each clear and 0x3 is reported in Latched Register until T5.

0x3

Interrupt re-triggers Note, interrupt re-triggers after each clear until T7.

0x2

T6 (Int 4)

Interrupt Generated Read Latched Registers

0xC

Interrupt Generated Read Latched Registers

0xC

Interrupt Generated Read Latched Registers

0xE

Write 0xC to Latched Register

Write 0x4 to Latched Register

Write 0xE to Latched Register

0x0

Interrupt re-triggers Write 0x8 to Latched Register

0x8

Interrupt re-triggers Note, interrupt re-triggers after each clear and 0xE is reported in Latched Register until T7.

0xE

0x0

Interrupt re-triggers Note, interrupt re-triggers after each clear and 0xC is reported in Latched Register until T8.

0xC

Interrupt re-triggers Note, interrupt re-triggers after each clear and 0x4 is reported in Latched Register always.

0x4

USER WATCHDOG TIMER MODULE MANUAL

User Watchdog Timer Capability

The User Watchdog Timer (UWDT) Capability is available on the following modules:

  • AC Reference Source Modules

    • AC1 - 1 Channel, 2-115 Vrms, 47 Hz - 20kHz

    • AC2 - 2 Channels, 2-28 Vrms, 47 Hz - 20kHz

    • AC3 - 1 Channel, 28-115 Vrms, 47 Hz - 2.5 kHz

  • Differential Transceiver Modules

    • DF1/DF2 - 16 Channels Differential I/O

  • Digital-to-Analog (D/A) Modules

    • DA1 - 12 Channels, ±10 VDC @ 25 mA, Voltage or Current Control Modes

    • DA2 - 16 Channels, ±10 VDC @ 10 mA

    • DA3 - 4 Channels, ±40 VDC @ ±100 mA, Voltage or Current Control Modes

    • DA4 - 4 Channels, ±80 VDC @ 10 mA

    • DA5 - 4 Channels, ±65 VDC or ±2 A, Voltage or Current Control Modes

  • Digital-to-Synchro/Resolver (D/S) or Digital-to-L( R )VDT (D/LV) Modules

    • (Not supported)

  • Discrete I/O Modules

    • DT1/DT4 - 24 Channels, Programmable for either input or output, output up to 500 mA per channel from an applied external 3 - 60 VCC source.

    • DT2/DT5 - 16 Channels, Programmable for either input voltage measurements (±80 V) or as a bi-directional current switch (up to 500 mA per channel).

    • DT3/DT6 - 4 Channels, Programmable for either input voltage measurements (±100 V) or as a bi-directional current switch (up to 3 A per channel).

  • TTL/CMOS Modules

    • TL1-TL8 - 24 Channels, Programmable for either input or output.

Principle of Operation

The User Watchdog Timer is optionally activated by the applications that require the module’s outputs to be disabled as a failsafe in the event of an application failure or crash. The circuit is designed such that a specific periodic write strobe pattern must be executed by the software to maintain operation and prevent the disablement from taking place.

The User Watchdog Timer is inactive until the application sends an initial strobe by writing the value 0x55AA to the UWDT Strobe register. After activating the User Watchdog Timer, the application must continually strobe the timer within the intervals specified with the configurable UWDT Quiet Time and UWDT Window registers. The timing of the strobes must be consistent with the following rules:

  • The application must not strobe during the Quiet time.

  • The application must strobe within the Window time.

  • The application must not strobe more than once in a single window time.

A violation of any of these rules will trigger a User Watchdog Timer fault and result in shutting down any isolated power supplies and/or disabling any active drive outputs, as applicable for the specific module. Upon a User Watchdog Timer event, recovery to the module shutting down will require the module to be reset.

The Figure 1 and Figure 2 provides an overview and an example with actual values for the User Watchdog Timer Strobes, Quiet Time and Window. As depicted in the diagrams, there are two processes that run in parallel. The Strobe event starts the timer for the beginning of the “Quiet Time”. The timer for the Previous Strobe event continues to run to ensure that no additional Strobes are received within the “Window” associated with the Previous Strobe.

The optimal target for the user watchdog strobes should be at the interval of [Quiet time + ½ Window time] after the previous strobe, which will place the strobe in the center of the window. This affords the greatest margin of safety against unintended disablement in critical operations.

WDT Diagram Fig1

Figure 1. User Watchdog Timer Overview

WDT Diagram Example Fig2

Figure 2. User Watchdog Timer Example

WDT Diagram Errors Fig3

Figure 3. User Watchdog Timer Failures

Register Descriptions

The register descriptions provide the register name, Type, Data Range, Read or Write information, Initialized Value, and a description of the function.

User Watchdog Timer Registers

The registers associated with the User Watchdog Timer provide the ability to specify the UWDT Quiet Time and the UWDT Window that will be monitored to ensure that EXACTLY ONE User Watchdog Timer (UWDT) Strobe is written within the window.

UWDT Quiet Time

Function: Sets Quiet Time value (in microseconds) to use for the User Watchdog Timer Frame.

Type: unsigned binary word (32-bit)

Data Range: 0 µsec to 2^32 µsec (0x0 to 0xFFFFFFFF)

Read/Write: R/W

Initialized Value: 0x0

Operational Settings: LSB = 1 µsec. The application must NOT write a strobe in the time between the previous strobe and the end of the Quiet time interval. In addition, the application must write in the UWDT Window EXACTLY ONCE.

UWDT Window

Function: Sets Window value (in microseconds) to use for the User Watchdog Timer Frame.

Type: unsigned binary word (32-bit)

Data Range: 0 µsec to 2^32 µsec (0x0 to 0xFFFFFFFF)

Read/Write: R/W

Initialized Value: 0x0

Operational Settings: LSB = 1 µsec. The application must write the strobe once within the Window time after the end of the Quiet time interval. The application must write in the UWDT Window EXACTLY ONCE. This setting must be initialized to a non-zero value for operation and should allow sufficient tolerance for strobe timing by the application.

UWDT Strobe

Function: Writes the strobe value to be use for the User Watchdog Timer Frame.

Type: unsigned binary word (32-bit)

Data Range: 0x55AA

Read/Write: W

Initialized Value: 0x0

Operational Settings: At startup, the user watchdog is disabled. Write the value of 0x55AA to this register to start the user watchdog timer monitoring after initial power on or a reset. To prevent a disablement, the application must periodically write the strobe based on the user watchdog timer rules.

Status and Interrupt

The modules that are capable of User Watchdog Timer support provide status registers for the User Watchdog Timer.

User Watchdog Timer Status

The status register that contains the User Watchdog Timer Fault information is also used to indicate channel Inter-FPGA failures on modules that have communication between FPGA components. There are four registers associated with the User Watchdog Timer Fault/Inter-FPGA Failure Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Table 31. User Watchdog Timer Status

User Watchdog Timer Fault/Inter-FPGA Failure Dynamic Status

User Watchdog Timer Fault/Inter-FPGA Failure Latched Status

User Watchdog Timer Fault/Inter-FPGA Failure Interrupt Enable

User Watchdog Timer Fault/Inter-FPGA Failure Set Edge/Level Interrupt

Bit(s)

Status

Description

D31

User Watchdog Timer Fault Status

0 = No Fault

1 = User Watchdog Timer Fault

D30:D0

Reserved for Inter-FPGA Failure Status

Channel bit-mapped indicating channel inter

Function: Sets the corresponding bit (D31) associated with the channel’s User Watchdog Timer Fault error.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R (Dynamic), R/W (Latched, Interrupt Enable, Set Edge/Level Interrupt)

Initialized Value: 0

Interrupt Vector and Steering

When interrupts are enabled, the interrupt vector associated with the specific interrupt can be programmed (typically with a unique number/identifier) such that it can be utilized in the Interrupt Service Routine (ISR) to identify the type of interrupt. When an interrupt occurs, the contents of the Interrupt Vector registers is reported as part of the interrupt mechanism.

In addition to specifying the interrupt vector, the interrupt can be directed (“steered”) to the native bus or to the application running on the onboard ARM processor.

Note
the Interrupt Vector and Interrupt Steering registers are mapped to the Motherboard Common Memory and these registers are associated with the Module Slot position (refer to Function Register Map).
Interrupt Vector

Function: Set an identifier for the interrupt.

Type: unsigned binary word (32-bit)

Data Range: 0 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: When an interrupt occurs, this value is reported as part of the interrupt mechanism.

Interrupt Steering

Function: Sets where to direct the interrupt.

Type: unsigned binary word (32-bit)

Data Range: See table

Read/Write: R/W

Initialized Value: 0

Operational Settings: When an interrupt occurs, the interrupt is sent as specified:

Direct Interrupt to VME

1

Direct Interrupt to ARM Processor (via SerDes)

(Custom App on ARM or NAI Ethernet Listener App)

2

Direct Interrupt to PCIe Bus

5

Direct Interrupt to cPCI Bus

6

Function Register Map

Key

Bold Underline

= Measurement/Status/Board Information

Bold Italic

= Configuration/Control

User Watchdog Timer Registers

0x01C0

UWDT Quiet Time

R/W

0x01C4

UWDT Window

R/W

0x01C8

UWDT Strobe

W

Status Registers

User Watchdog Timer Fault/Inter-FPGA Failure

0x09B0

Dynamic Status

R

0x09B4

Latched Status*

R/W

0x09B8

Interrupt Enable

R/W

0x09BC

Set Edge/Level Interrupt

R/W

Interrupt Registers

The Interrupt Vector and Interrupt Steering registers are mapped to the Motherboard Memory Space and these addresses are absolute based on the module slot position. In other words, do not apply the Module Address offset to these addresses.

0x056C

Module 1 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x066C

Module 1 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x076C

Module 2 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x086C

Module 2 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x096C

Module 3 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0A6C

Module 3 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0B6C

Module 4 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0C6C

Module 4 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0D6C

Module 5 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0E6C

Module 5 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x0F6C

Module 6 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

0x106C

Module 6 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA Failure

R/W

MODULE COMMON REGISTERS

The registers described in this document are common to all NAI Generation 5 modules.

Module Information Registers

The registers in this section provide module information such as firmware revisions, capabilities and unique serial number information.

FPGA Version Registers

The FPGA firmware version registers include registers that contain the Revision, Compile Timestamp, SerDes Revision, Template Revision and Zynq Block Revision information.

FPGA Revision

Function: FPGA firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the revision of the board’s FPGA

Operational Settings: The upper 16-bits are the major revision and the lower 16-bits are the minor revision.

Table 32. FPGA Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Compile Timestamp

Function: Compile Timestamp for the FPGA firmware.

Type: unsigned binary word (32-bit)

Data Range: N/A

Read/Write: R

Initialized Value: Value corresponding to the compile timestamp of the board’s FPGA

Operational Settings: The 32-bit value represents the Day, Month, Year, Hour, Minutes and Seconds as formatted in the table:

Table 33. FPGA Compile Timestamp

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

day (5-bits)

month (4-bits)

year (6-bits)

hr

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

hour (5-bits)

minutes (6-bits)

seconds (6-bits)

FPGA SerDes Revision

Function: FPGA SerDes revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the SerDes revision of the board’s FPGA

Operational Settings: The upper 16-bits are the major revision, and the lower 16-bits are the minor revision.

Table 34. FPGA SerDes Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Template Revision

Function: FPGA Template revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the template revision of the board’s FPGA

Operational Settings: The upper 16-bits are the major revision, and the lower 16-bits are the minor revision.

Table 35. FPGA Template Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Zynq Block Revision

Function: FPGA Zynq Block revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the Zynq block revision of the board’s FPGA

Operational Settings: The upper 16-bits are the major revision, and the lower 16-bits are the minor revision.

Table 36. FPGA Zynq Block Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Bare Metal Version Registers

The Bare Metal firmware version registers include registers that contain the Revision and Compile Time information.

Bare Metal Revision

Function: Bare Metal firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the revision of the board’s Bare Metal

Operational Settings: The upper 16-bits are the major revision and the lower 16-bits are the minor revision.

Table 37. Bare Metal Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Bare Metal Compile Time

Function: Provides an ASCII representation of the Date/Time for the Bare Metal compile time.

Type: 24-character ASCII string - Six (6) unsigned binary word (32-bit)

Data Range: N/A

Read/Write: R

Initialized Value: Value corresponding to the ASCII representation of the compile time of the board’s Bare Metal

Operational Settings: The six 32-bit words provide an ASCII representation of the Date/Time. The hexadecimal values in the field below represent: May 17 2019 at 15:38:32

Table 38. Bare Metal Compile Time (Note: little-endian order of ASCII values)

Word 1 (Ex. 0x2079614D)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Month ('y' - 0x79)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Month ('a' - 0x61)

Month ('M' - 0x4D)

Word 2 (Ex. 0x32203731)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Year ('2' - 0x32)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Day ('7' - 0x37)

Day ('1' - 0x31)

Word 3 (Ex. 0x20393130)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Year ('9' - 0x39)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Year ('1' - 0x31)

Year ('0' - 0x30)

Word 4 (Ex. 0x31207461)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Hour ('1' - 0x31)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

'a' (0x74)

't' (0x61)

Word 5 (Ex. 0x38333A35)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Minute ('8' - 0x38)

Minute ('3' - 0x33)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

':' (0x3A)

Hour ('5' - 0x35)

Word 6 (Ex. 0x0032333A)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

NULL (0x00)

Seconds ('2' - 0x32)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Seconds ('3' - 0x33)

':' (0x3A)

FSBL Version Registers

The FSBL version registers include registers that contain the Revision and Compile Time information for the First Stage Boot Loader (FSBL).

FSBL Revision

Function: FSBL firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the revision of the board’s FSBL

Operational Settings: The upper 16-bits are the major revision, and the lower 16-bits are the minor revision.

Table 39. FSBL Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FSBL Compile Time

Function: Provides an ASCII representation of the Date/Time for the FSBL compile time.

Type: 24-character ASCII string - Six (6) unsigned binary word (32-bit)

Data Range: N/A

Read/Write: R

Initialized Value: Value corresponding to the ASCII representation of the Compile Time of the board’s FSBL

Operational Settings: The six 32-bit words provide an ASCII representation of the Date/Time.

The hexadecimal values in the field below represent: May 17 2019 at 15:38:32

Table 40. FSBL Compile Time (Note: little-endian order of ASCII values)

Word 1 (Ex. 0x2079614D)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Month ('y' - 0x79)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Month ('a' - 0x61)

Month ('M' - 0x4D)

Word 2 (Ex. 0x32203731)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Year ('2' - 0x32)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Day ('7' - 0x37)

Day ('1' - 0x31)

Word 3 (Ex. 0x20393130)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Year ('9' - 0x39)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Year ('1' - 0x31)

Year ('0' - 0x30)

Word 4 (Ex. 0x31207461)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Hour ('1' - 0x31)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

'a' (0x74)

't' (0x61)

Word 5 (Ex. 0x38333A35)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Minute ('8' - 0x38)

Minute ('3' - 0x33)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

':' (0x3A)

Hour ('5' - 0x35)

Word 6 (Ex. 0x0032333A)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

NULL (0x00)

Seconds ('2' - 0x32)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Seconds ('3' - 0x33)

':' (0x3A)

Module Serial Number Registers

The Module Serial Number registers include registers that contain the Serial Numbers for the Interface Board and the Functional Board of the module.

Interface Board Serial Number

Function: Unique 128-bit identifier used to identify the interface board.

Type: 16-character ASCII string - Four (4) unsigned binary words (32-bit)

Data Range: N/A

Read/Write: R

Initialized Value: Serial number of the interface board

Operational Settings: This register is for information purposes only.

Functional Board Serial Number

Function: Unique 128-bit identifier used to identify the functional board.

Type: 16-character ASCII string - Four (4) unsigned binary words (32-bit)

Data Range: N/A

Read/Write: R

Initialized Value: Serial number of the functional board

Operational Settings: This register is for information purposes only.

Module Capability

Function: Provides indication for whether or not the module can support the following: SerDes block reads, SerDes FIFO block reads, SerDes packing (combining two 16-bit values into one 32-bit value) and floating point representation. The purpose for block access and packing is to improve the performance of accessing larger amounts of data over the SerDes interface.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0107

Read/Write: R

Initialized Value: 0x0000 0103

Operational Settings: A “1” in the bit associated with the capability indicates that it is supported.

Table 41. Module Capability

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

Flt-Pt

0

0

0

0

0

Pack

FIFO Blk

Blk

Module Memory Map Revision

Function: Module Memory Map revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the Module Memory Map Revision

Operational Settings: The upper 16-bits are the major revision and the lower 16-bits are the minor revision.

Table 42. Module Memory Map Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Module Measurement Registers

The registers in this section provide module temperature measurement information.

Temperature Readings Registers

The temperature registers provide the current, maximum (from power-up) and minimum (from power-up) Zynq and PCB temperatures.

Interface Board Current Temperature

Function: Measured PCB and Zynq Core temperatures on Interface Board.

Type: signed byte (8-bits) for PCB and signed byte (8-bits) for Zynq core temperatures

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

Initialized Value: Value corresponding to the measured PCB and Zynq core temperatures based on the table below

Operational Settings: The upper 16-bits are not used, and the lower 16-bits are the PCB and Zynq Core Temperatures. For example, if the register contains the value 0x0000 202C, this represents PCB Temperature = 32° Celsius and Zynq Temperature = 44° Celsius.

Table 43. Interface Board Current Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Functional Board Current Temperature

Function: Measured PCB temperature on Functional Board.

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

Initialized Value: Value corresponding to the measured PCB on the table below

Operational Settings: The upper 24-bits are not used, and the lower 8-bits are the PCB Temperature. For example, if the register contains the value 0x0000 0019, this represents PCB Temperature = 25° Celsius.

Table 44. Functional Board Current Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Interface Board Maximum Temperature

Function: Maximum PCB and Zynq Core temperatures on Interface Board since power-on.

Type: signed byte (8-bits) for PCB and signed byte (8-bits) for Zynq core temperatures

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

Initialized Value: Value corresponding to the maximum measured PCB and Zynq core temperatures since power-on based on the table below

Operational Settings: The upper 16-bits are not used, and the lower 16-bits are the maximum PCB and Zynq Core Temperatures. For example, if the register contains the value 0x0000 5569, this represents maximum PCB Temperature = 85° Celsius and maximum Zynq Temperature = 105° Celsius.

Table 45. Interface Board Maximum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Interface Board Minimum Temperature

Function: Minimum PCB and Zynq Core temperatures on Interface Board since power-on.

Type: signed byte (8-bits) for PCB and signed byte (8-bits) for Zynq core temperatures

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

Initialized Value: Value corresponding to the minimum measured PCB and Zynq core temperatures since power-on based on the table below

Operational Settings: The upper 16-bits are not used, and the lower 16-bits are the minimum PCB and Zynq Core Temperatures. For example, if the register contains the value 0x0000 D8E7, this represents minimum PCB Temperature = -40° Celsius and minimum Zynq Temperature = -25° Celsius.

Table 46. Interface Board Minimum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Functional Board Maximum Temperature

Function: Maximum PCB temperature on Functional Board since power-on.

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

Initialized Value: Value corresponding to the measured PCB on the table below

Operational Settings: The upper 24-bits are not used, and the lower 8-bits are the PCB Temperature. For example, if the register contains the value 0x0000 0055, this represents PCB Temperature = 85° Celsius.

Table 47. Functional Board Maximum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Functional Board Minimum Temperature

Function: Minimum PCB temperature on Functional Board since power-on.

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

Initialized Value: Value corresponding to the measured PCB on the table below

Operational Settings: The upper 24-bits are not used, and the lower 8-bits are the PCB Temperature. For example, if the register contains the value 0x0000 00D8, this represents PCB Temperature = -40° Celsius.

Table 48. Functional Board Minimum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Higher Precision Temperature Readings Registers

These registers provide higher precision readings of the current Zynq and PCB temperatures.

Higher Precision Zynq Core Temperature

Function: Higher precision measured Zynq Core temperature on Interface Board.

Type: signed word (16-bits) for integer part and unsigned word (16-bits) for fractional part

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Zynq Core temperature on Interface Board

Operational Settings: The upper 16-bits represent the signed integer part of the temperature and the lower 16-bits represent the fractional part of the temperature with the resolution of 1/1000 of degree Celsius. For example, if the register contains the value 0x002B 0271, this represents Zynq Core Temperature = 43.625° Celsius, and value 0xFFF6 0177 represents -10.375° Celsius.

Table 49. Higher Precision Zynq Core Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Higher Precision Interface PCB Temperature

Function: Higher precision measured Interface PCB temperature.

Type: signed word (16-bits) for integer part and unsigned word (16-bits) for fractional part

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Interface PCB temperature

Operational Settings: The upper 16-bits represent the signed integer part of the temperature and the lower 16-bits represent the fractional part of the temperature with the resolution of 1/1000 of degree Celsius. For example, if the register contains the value 0x0020 007D, this represents Interface PCB Temperature = 32.125° Celsius, and value 0xFFE8 036B represents -24.875° Celsius.

Table 50. Higher Precision Interface PCB Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Higher Precision Functional PCB Temperature

Function: Higher precision measured Functional PCB temperature.

Type: signed word (16-bits) for integer part and unsigned word (16-bits) for fractional part

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Functional PCB temperature

Operational Settings: The upper 16-bits represent the signed integer part of the temperature and the lower 16-bits represent the fractional part of the temperature with the resolution of 1/100 of degree Celsius. For example, if the register contains the value 0x0018 004B, this represents Functional PCB Temperature = 24.75° Celsius, and value 0xFFD9 0019 represents -39.25° Celsius.

Table 51. Higher Precision Functional PCB Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Module Health Monitoring Registers

The registers in this section provide module temperature measurement information. If the temperature measurements reaches the Lower Critical or Upper Critical conditions, the module will automatically reset itself to prevent damage to the hardware.

Module Sensor Summary Status

Function: The corresponding sensor bit is set if the sensor has crossed any of its thresholds.

Type: unsigned binary word (32-bits)

Data Range: See table below

Read/Write: R

Initialized Value: 0

Operational Settings: This register provides a summary for module sensors. When the corresponding sensor bit is set, the Sensor Threshold Status register for that sensor will indicate the threshold condition that triggered the event.

Table 52. Module Sensor Summary Status

Bit(s)

Sensor

D31:D6

Reserved

D5

Functional Board PCB Temperature

D4

Interface Board PCB Temperature

D3:D0

Reserved

Module Sensor Registers

The registers listed in this section apply to each module sensor listed for the Module Sensor Summary Status register. Each individual sensor register provides a group of registers for monitoring module temperatures readings. From these registers, a user can read the current temperature of the sensor in addition to the minimum and maximum temperature readings since power-up. Upper and lower critical/warning temperature thresholds can be set and monitored from these registers. When a programmed temperature threshold is crossed, the Sensor Threshold Status register will set the corresponding bit for that threshold. The figure below shows the functionality of this group of registers when accessing the Interface Board PCB Temperature sensor as an example.

Module Sensor Registers
Sensor Threshold Status

Function: Reflects which threshold has been crossed

Type: unsigned binary word (32-bits)

Data Range: See table below

Read/Write: R

Initialized Value: 0

Operational Settings: The associated bit is set when the sensor reading exceed the corresponding threshold settings.

Table 53. Sensor Threshold Status

Bit(s)

Description

D31:D4

Reserved

D3

Exceeded Upper Critical Threshold

D2

Exceeded Upper Warning Threshold

D1

Exceeded Lower Critical Threshold

D0

Exceeded Lower Warning Threshold

Sensor Current Reading

Function: Reflects current reading of temperature sensor

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R

Initialized Value: N/A

Operational Settings: The register represents current sensor reading as a single precision floating point value. For example, for a temperature sensor, register value 0x41C6 0000 represents temperature = 24.75° Celsius.

Sensor Minimum Reading

Function: Reflects minimum value of temperature sensor since power up

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R

Initialized Value: N/A

Operational Settings: The register represents minimum sensor value as a single precision floating point value. For example, for a temperature sensor, register value 0x41C6 0000 represents temperature = 24.75° Celsius.

Sensor Maximum Reading

Function: Reflects maximum value of temperature sensor since power up

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R

Initialized Value: N/A

Operational Settings: The register represents maximum sensor value as a single precision floating point value. For example, for a temperature sensor, register value 0x41C6 0000 represents temperature = 24.75° Celsius.

Sensor Lower Warning Threshold

Function: Reflects lower warning threshold of temperature sensor

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R/W

Initialized Value: Default lower warning threshold (value dependent on specific sensor)

Operational Settings: The register represents sensor lower warning threshold as a single precision floating point value. For example, for a temperature sensor, register value 0xC220 0000 represents temperature = -40.0° Celsius.

Sensor Lower Critical Threshold

Function: Reflects lower critical threshold of temperature sensor

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R/W

Initialized Value: Default lower critical threshold (value dependent on specific sensor)

Operational Settings: The register represents sensor lower critical threshold as a single precision floating point value. For example, for a temperature sensor, register value 0xC25C 0000 represents temperature = -55.0° Celsius.

Sensor Upper Warning Threshold

Function: Reflects upper warning threshold of temperature sensor

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R/W

Initialized Value: Default upper warning threshold (value dependent on specific sensor)

Operational Settings: The register represents sensor upper warning threshold as a single precision floating point value. For example, for a temperature sensor, register value 0x42AA 0000 represents temperature = 85.0° Celsius.

Sensor Upper Critical Threshold

Function: Reflects upper critical threshold of temperature sensor

Type: Single Precision Floating Point Value (IEEE-754)

Data Range: Single Precision Floating Point Value (IEEE-754)

Read/Write: R/W

Initialized Value: Default upper critical threshold (value dependent on specific sensor)

Operational Settings: The register represents sensor upper critical threshold as a single precision floating point value. For example, for a temperature sensor, register value 0x42FA 0000 represents temperature = 125.0° Celsius.

FUNCTION REGISTER MAP

Key

Bold Underline

= Measurement/Status/Board Information

Bold Italic

= Configuration/Control

Module Information Registers

0x003C

FPGA Revision

R

0x0030

FPGA Compile Timestamp

R

0x0034

FPGA SerDes Revision

R

0x0038

FPGA Template Revision

R

0x0040

FPGA Zynq Block Revision

R

0x0074

Bare Metal Revision

R

0x0080

Bare Metal Compile Time (Bit 0-31)

R

0x0084

Bare Metal Compile Time (Bit 32-63)

R

0x0088

Bare Metal Compile Time (Bit 64-95)

R

0x008C

Bare Metal Compile Time (Bit 96-127)

R

0x0090

Bare Metal Compile Time (Bit 128-159)

R

0x0094

Bare Metal Compile Time (Bit 160-191)

R

0x007C

FSBL Revision

R

0x00B0

FSBL Compile Time (Bit 0-31)

R

0x00B4

FSBL Compile Time (Bit 32-63)

R

0x00B8

FSBL Compile Time (Bit 64-95)

R

0x00BC

FSBL Compile Time (Bit 96-127)

R

0x00C0

FSBL Compile Time (Bit 128-159)

R

0x00C4

FSBL Compile Time (Bit 160-191)

R

0x0000

Interface Board Serial Number (Bit 0-31)

R

0x0004

Interface Board Serial Number (Bit 32-63)

R

0x0008

Interface Board Serial Number (Bit 64-95)

R

0x000C

Interface Board Serial Number (Bit 96-127)

R

0x0010

Functional Board Serial Number (Bit 0-31)

R

0x0014

Functional Board Serial Number (Bit 32-63)

R

0x0018

Functional Board Serial Number (Bit 64-95)

R

0x001C

Functional Board Serial Number (Bit 96-127)

R

0x0070

Module Capability

R

0x01FC

Module Memory Map Revision

R

Module Measurement Registers

0x0200

Interface Board PCB/Zynq Current Temperature

R

0x0208

Functional Board PCB Current Temperature

R

0x0218

Interface Board PCB/Zynq Max Temperature

R

0x0228

Interface Board PCB/Zynq Min Temperature

R

0x0218

Functional Board PCB Max Temperature

R

0x0228

Functional Board PCB Min Temperature

R

0x02C0

Higher Precision Zynq Core Temperature

R

0x02C4

Higher Precision Interface PCB Temperature

R

0x02E0

Higher Precision Functional PCB Temperature

R

Module Health Monitoring Registers

0x07F8

Module Sensor Summary Status

R

Module Sensor Registers Memory Map

Revision History

Module Manual - DA5 Revision History

Revision

Revision Date

Description

C

2022-09-21

ECO C09650, initial release of DA5 manual

Module Manual - Status and Interrupts Revision History

Revision

Revision Date

Description

C

2021-11-30

C08896; Transition manual to docbuilder format - no technical info change.

Module Manual - User Watchdog Timer Revision History

Revision

Revision Date

Description

C

2021-11-30

C08896; Transition manual to docbuilder format - no technical info change.

NAI Cares

North Atlantic Industries (NAI) is a leading independent supplier of Embedded I/O Boards, Single Board Computers, Rugged Power Supplies, Embedded Systems and Motion Simulation and Measurement Instruments for the Military, Aerospace and Industrial Industries. We accelerate our clients’ time-to-mission with a unique approach based on a Configurable Open Systems Architecture™ (COSA®) that delivers the best of both worlds: custom solutions from standard COTS components.

We have built a reputation by listening to our customers, understanding their needs, and designing, testing and delivering board and system-level products for their most demanding air, land and sea requirements. If you have any applications or questions regarding the use of our products, please contact us for an expedient solution.

Please visit us at: www.naii.com or select one of the following for immediate assistance:

Application Notes

Calibration and Repairs

Call Us

(631) 567-1100

Help Bot

X