INTRODUCTION

NAI’s Discrete I/O Modules offer comprehensive interfacing solutions for embedded or test applications. The modules come in two versions: Standard Functionality (SF) modules and Enhanced Functionality (EF) modules, with both providing excellent programming flexibility, a broad operating range, and an innovative design that removes the need for pull-up resistors or mechanical jumpers. In addition, the EF Modules feature built-in operational functionality that can perform Pulse/Frequency Period Measurements of the incoming signal (Input) and/or Pulse/Frequency arbitrary signal generation (Output). These features make NAI’s Discrete I/O Modules suitable for a wide range of applications, including test and measurement, data acquisition, and control systems.

DT5 Overview

NAI’s DT5 Discrete/Switch module is a versatile electronic device designed for reliable and high-performance operation in harsh environments. This module features 16 independent, isolated, programmable channels that can be used for input voltage measurements (±80 V), or as a bidirectional current switch (up to 625 mA per channel). The module includes diode clamping on each channel, which provides protection against inductive loads.

The DT5 offers a wide range of features for accurate and reliable control and monitoring of switches and inductive loads. Key features of the module include:

Sixteen (16) channels available as inputs or outputs: The DT5 module features 16 independent, isolated, programmable channels that can be used as inputs or outputs, providing a high level of flexibility for a variety of applications.

Each channel programmable for input voltage or switch closure: Each channel of the DT5 module can be programmed as an input voltage or a switch closure, allowing for greater control and flexibility in system design.

Continuous background Built-in-Test (BIT): The DT5 module offers continuous background Built-in-Test (BIT) during normal operation, providing status for channel health and operation feedback. This ensures that the module operates reliably and accurately, with minimal errors or noise in the signal.

Ability to read switch I/O voltage and current: The DT5 module can read the voltage and current across the switch, allowing for precise monitoring and control of the circuit.

Ability to handle switch closure currents of up to 625 mA: The DT5 module can handle switch closure currents of up to 625 mA DC, providing high performance and reliability in demanding applications.

Programmable automatic switch overcurrent protection: The module features automatic switch overcurrent protection, which is programmable to a maximum of 625 mA, ensuring the safe and reliable operation of the circuit.

Open circuit detection: The DT5 module includes open circuit detection, which detects if a switch is open and provides an alert for further action.

Clean, bounce-free switching: The DT5 module offers clean, bounce-free switching, ensuring that the module operates reliably and accurately, with minimal errors or noise in the signal.

Enhanced Functionality Features: In addition to offering the same functionality as the DT2 standard function (SF) module, the DT5 includes the following enhanced features:

  • Enhanced Input Mode - Pulse Measurements, Transition Timestamps, Transition Counters, Period Measurement, and Frequency Measurement.
  • Enhanced Output Mode - PWM Output and Pattern Generator Output; in bidirectional current switch mode, the enhanced features can be used to trigger switch opening or closure using pulse width, number of pulses, or pattern generation.

Overall, NAI’s DT5 Discrete/Switch Module is a highly versatile device that offers a wide range of features for accurate and reliable control and monitoring of switches and inductive loads. Its programmable channels, automatic protection features, and clean switching make it an excellent choice for a wide range of industrial and military applications.

SPECIFICATIONS

Discrete I/O - 16-Channel EF Module DT5

INPUT CHARACTERISTICS

Input Range:±80 V (peak) / ±60 V (typical)
Input Pulse Detection:A pulse of 40µs min. width will be sensed and indicated by the appropriate Hi-Lo or Low-High Transition Interrupt.
Input Impedance:2 MΩ / (200 kΩ if/when Open Circuit Detect Logic enabled)
Switching Threshold:Levels are programmable from 0 to 80 Vrms with 10-bit resolution (0.98% FS) On/Off.
Accuracy of Set Point:The greater of 5% signal value or 0.25 V.
ON/OFF Differential
0.5 V min. recommended.
Debounce:Programmable per channel from 0 to 10µs x 232 (LSB= 10 μs; 32-bit resolution).
Update Rate:Each channel is updated every 10 μs.
Overvoltage Protection:Input clamped at ±80 VDC.
Voltage Measurement:User can read output voltage of each channel (isolated 10-bit A/D) LSB=100mV; Accuracy: ±3 LSB’s (300 mV) over temperature.
Additional Enhanced Input Mode Operation:Input with debounce filter (Mode 0), measure High Time (Mode 1), measure Low Time (Mode 2), time-stamp of all rising edges (Mode 3), time-stamp of all falling edges (Mode 4), time-stamp of all edges (Mode 5), count total number of rising (Mode 6), falling (Mode 7), all (Mode 8) edges, measure period from rising edge-to-rising edge (Mode 9),measure frequency (Mode 10).

BIDIRECTIONAL SWITCH

Switch Formats:Isolated bidirectional (AC/DC) MOSFET switch
Switch Current:0-625 mA per channel (load determined) / (±80 V peak)
Switch Impedance Open:2 MΩ / (200 kΩ if/when Open Circuit Detect Logic enabled)
Switch Impedance Closed:0.5 W typical, 1 W max.
Current Measurement:User can read AC/DC current through switch, independently for each channel, LSB=3 mA; Accuracy: The greater of ±10% of Signal or ±20mA over temperature.
Measurement Update Rate:Each channel is updated every 10 µs.
Isolation:500 V (between channels and each channel to system GND).
Power:5 VDC/0.98 A max.
Weight:1.5 oz. (42 g)
Additional Enhanced Output ModeOperation:PWM Continuous Output, PWM Burst (n-times), and Pattern Generator Output.
Specifications are subject to change without notice.

PRINCIPLE OF OPERATION

DT5 provides 16 independent, isolated, programmable channels that either can be used for input voltage measurements (+/-60 V), or as a bidirectional current switch (up to 625 mA per channel). With the switch closed,both the current through the switch and the voltage across the switch can be monitored. These modules include diode clamping on each channel. Clamping is useful for inductive loads, such as relays and short circuit protection.

The DT5 Mode Select register provides 13 Mode settings. Each channel can be set to any of the different input or output modes. All settings provide BIT fault detection, which enables flagging of non-compliant outputs or inconsistent input readings between dual input measurements.

All 16 channels are galvanically isolated from each other and from system ground. Each channel’s two-wire connection can function as an isolated voltage input or as an isolated bidirectional switch. When programmed to function as a bidirectional switch, a channel can control valves mechanical relays, indicators, etc. without concern about grounding. This module provides an automatic background built-in-test (BIT) for each channel. The BIT functions are always enabled and continually check that each channel is functioning properly.

Standard input operation is used for voltage sensing and measures both AC and DC input voltages. When operating as a switch, measurements for both voltage across and current through the switch closure are available. Current and Voltage measurements are available as both instantaneous and averaged (RMS).

Four input voltage threshold levels (Maximum High, Upper, Lower, Minimum Low) are programmed to user defined high and low voltage levels. All four of the threshold levels must be set for each Input or Output channel. Threshold crossing may be programmed to generated interrupts on a change of state.

The module design utilizes state of the art galvanic isolation that is superior to alternatives such as optocoupler devices. The galvanic isolation eliminates typical optocoupler design concerns such as uncertain current transfer ratios, nonlinear transfer functions and temperature/lifetime degradation effects.

Input/Switch Interface

Each channel contains a both an isolated differential amplifier and a dual N-Channel MOSFET, configured as isolated Solid-State Relay (SSR). The SSR is energized, so both AC and DC current can flow through the channels I/O pins. The MOSFET presents a low ~.5 Ω on impedance. The module contains circuitry to measure the current through the SSR and the voltage present on the I/O pins.

Open Circuit Detection

Each of the 16 channels can be set to indicate an open circuit by setting the Open Circuit Detection register for the channel to 1. A voltage reading of 3.3 V indicates that the channel is open. Default (normal operation) is 0 V.Set the Maximum High Threshold register, for each channel, to this value to generate an interrupt using the Maximum High Threshold Interrupt Enable register.

Note

Added Enhanced Feature; introduced/available on EAR FPGA rev. 3; top-boards rev D (DOM @ 10/2016).

Discrete I/O Threshold Programming

Four threshold levels: Max High Threshold, Upper Threshold, Lower Threshold, and Min Low Threshold offer maximum user flexibility. All four threshold levels must be programmed. For input or output, the threshold levels will define the logic states. For proper operation, the threshold values should be programmed such that:

Max High Threshold > Upper Threshold > Lower Threshold > Min Low Threshold

Program Upper and Lower Thresholds, keeping the 0.25 V min. differential in mind, and then add debounce time as required. When the input signal exceeds the Upper Threshold, a logic high 1 is maintained until the input signal falls below the Lower Threshold. Conversely, when the input signal falls below the Lower Threshold, a logic low 0 is maintained until the input signal rises above the Upper Threshold.

Debounce Programming

The Debounce register, when programmed for a non-zero value, is used with channels programmed as input to “filter” or “ignore” expected application spurious initial transitions. Once a signal level is a logic voltage level period longer than the Debounce Time (Logic High and Logic Low), a logic transition is validated. Signal pulse widths less than programmed Debounce Time are filtered. Once valid, the transition status register flag is set for the channel and the output logic changes state.

Automatic Background Built-In Test (BIT)/Diagnostic Capability

BIT is always enabled, and continually checks the health of each channel. This is accomplished by internal test circuitry that is incorporated into each 16-channel module. The test circuit is sequentially connected across each channel and checks that the commanded mode (input or switch closure) is correctly set, and depending upon the configuration, verifies that the channel data agrees with the test data or a possible fault is detected. Additionally, each output is continually checked for overcurrent, which is manually set for each channel. If the switch is open and current is any value other than 0 A, a BIT error will occur. If the switch is closed and voltage is any value other than 0 V, a BIT error will occur.

Status and Interrupts

The Discrete I/O Function 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 Discrete I/O Function Module includes module common registers that provide access to module-level bare metal/FPGA revisions & compile times, unique serial number information, and temperature/voltage/current monitoring. Refer to “Module Common Registers Module Manual” for the detailed information.

User Watchdog Timer Capability

The Discrete I/O Function Module provide registers that support User Watchdog Timer capability. Refer to “User Watchdog Timer Module Manual” for the Principle of Operation description.

REGISTER DESCRIPTIONS

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

Discrete Input/Switch Registers

The Switch Control register commands the switch open or closed. the Read I/O register contains the discrete channel’s state (High (1) or Low (0)) as specified by the channel’s threshold configurations.

Switch Control

Function: Opens and closes the switch for each channel.

Type: unsigned binary word (32-bit)

Read/Write: R/W

Initialized Value: 0x0000 0000

Operational Settings: Write integer 0 for input; Write 1 for closed switch.

Switch Control

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
Open Circuit Detection

Function: Enables a 3.3V pull-up on the channel that may be used for open circuit detection.

Type: unsigned binary word (32-bit)

Read/Write: R/W

Initialized Value: 0x0000 0000

Operational Settings: Write integer 1 for open circuit detection. Default is 0, which does not provide open circuit detection. When an open circuit occurs, the voltage read on the channel will be pulled up to ~2.7V. Normal reading is 0.

An interrupt is generated for open circuit indication, by channel, via the Maximum High Threshold and Maximum High Threshold Interrupt Enable registers.

Note

Added Enhanced Feature; introduced/available on EAR FPGA rev. 3; top-boards rev D (DOM @ 10/2016).

Open Circuit Detection

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Switch State

Function: Reads whether the state of the switch is open or closed.

Type: unsigned binary word (32-bit)

Read/Write: R

Initialized Value: N/A

Operational Settings: N/A

Switch State

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Read I/O

Function: Reads High 1 or Low 0 as defined by internal channel threshold values.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

Initialized Value: N/A

Operational Settings: N/A

Read I/O

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Discrete Input/Output Threshold Programming Registers

Four threshold levels: Max High Threshold, Upper Threshold, Lower Threshold, and Min Low Threshold are programmable for each Discrete channel in the module.

Input/Output Threshold Levels

Max High Threshold
Upper Threshold
Lower Threshold
Min Low Threshold
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Max High Threshold

Function: Sets the maximum high threshold value. Programmable per channel from -60 to 60 VDC, with binary 10-bit word resolution (LSB=100 mv).

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R/W

Initialized Value: 0x64

Operational Settings: Assumes that the programmed level is the maximum voltage used to indicate a Max High Threshold. If a signal is greater than the Max High Threshold value, a flag is set in the Max High Threshold Status register. The Max High Threshold register may be used to monitor any type of high signal voltage condition or threshold such as a “Short to +V” as it applies to input measurement as well as contact sensing applications.

Upper Threshold

Function: Sets the upper threshold value. Programmable per channel from -60 to 60 VDC, with binary 10-bit word resolution (LSB=100 mv).

Type: signed binary word (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R/W

Initialized Value: 0x32

Operational Settings: A signal is considered logic High (1) when its value exceeds the Upper Threshold and does not consequently fall below the Upper Threshold in less than the programmed Debounce Time.

Lower Threshold

Function: Sets the lower threshold value. Programmable per channel from -60 to 60 VDC, with binary 10-bit word resolution (LSB=100 mv).

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R/W

Initialized Value: 0x1E

Operational Settings: A signal is considered logic Low (0) when its value falls below the Lower Threshold and does not consequently rise above the Lower Threshold in less than the programmed Debounce Time.

Min Low Threshold

Function: Sets the minimum low threshold. Programmable per channel from -60 to 60 VDC, with binary 10-bit word resolution (LSB=100 mv).

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R/W

Initialized Value: 0x0

Operational Settings: The programmed level is the voltage used to indicate a minimum low threshold. If a signal is less than the Min Low Threshold value, a flag is set in the Min Low Threshold Status register. The Min Low Threshold register may be used to monitor any type of low signal voltage condition or threshold such as a “Short to Ground” as it applies to input measurement as well as contact sensing applications.

Discrete Measurement Registers

The measured voltage and current applied at or across the P/N pins for each channel can be read from the Voltage Reading and Current Reading registers.

Voltage Reading (Sampled)

Function: Reads actual voltage at I/O pin per individual channel.

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R

Initialized Value: N/A

Operational Settings: Value is a signed binary 32-bit word, where LSB = 100 mV. Data is read as 2’s complement number. For example, if output voltage word is 0x00F0 (240d), actual voltage is 24.0 V.

Voltage Reading (Sampled)

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Voltage Reading (Averaged)

Function: Reads averaged value of the output voltage at I/O pin per individual channel.

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FDA8 to 0x0000 0258 (usable range)

Read/Write: R

Initialized Value: N/A

Operational Settings: Value is an unsigned binary 10-bit word, where LSB=100 mV. For example, if output voltage word is 0x00F0 (240d), actual voltage is 24.0 V.

Voltage Reading (Averaged)

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Current Reading (Sampled)

Function: Reads current through the I/O pins per individual channel.

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FEC8 to 0x0000 0138

Read/Write: R

Initialized Value: Updated by module as per conditions

Operational Settings: Value is signed binary 32-bit word, where LSB=2 mA. Read as 2’s complement; Current source is positive, Current sink is negative. For example, if output current word is 0x0064 (100d), actual current is 200 mA.

Current Reading (Sampled)

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Current Reading (Averaged)

Function: Reads averaged current through the I/O pins per individual channel.

Type: signed binary dword (32-bit)

Data Range: 0xFFFF FEC8 to 0x0000 0138

Read/Write: R

Initialized Value: N/A

Operational Settings: Value is signed binary 32-bit word, where LSB=2 mA. Read as 2’s complement; Current source is positive, Current sink is negative. For example, if output current word is 0x0064 (100d), actual current is 200 mA.

Current Reading (Averaged)

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Discrete Input/Output Control Registers

Control of the Discrete switch channels include specifying the Debounce time for each input channel and resetting the switch channel on an overcurrent condition.

Debounce Time

Function: Sets the Debounce time (LSB= 10 μs; 32-bit resolution) for each channel.

Type: unsigned binary dword (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0 (no debounce/disabled)

Operational Settings: The Debounce Time register, when programmed for a non-zero value, is used with channels to “filter” or “ignore” expected application spurious initial transitions. Enter required Debounce Time into appropriate channel registers. LSB weight is 10 µs/bit (register may be programmed from 0x0000 0000 (debounce filter inactive) through a maximum of 0xFFFF FFFF (2^32 * 10µs) (full scale w/ 10 µs resolution). Once a signal level is a logic voltage level period longer than the debounce time (Logic High and Logic Low), a logic transition is validated. Signal pulse widths less than programmed Debounce Time are filtered. Once valid, the transition status register flag is set for the channel and the output logic changes state. Enter a value of 0000h to disable debounce filtering.

Overcurrent Value

Function: Sets the overcurrent value for each channel.

Type: signed binary dword (32-bit)

Data Range: 0x0000 0000 to 0x0000 0138

Read/Write: R/W

Initialized Value: 0x138

Operational Settings: LSB = 2 mA

Overcurrent Value

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Overcurrent Reset

Function: Resets disabled channels in Overcurrent Latched Status register following an overcurrent condition as measured by the Current Reading register.

Type: unsigned binary dword (32-bit)

Data Range: 0x0000 0000 to 0x0000 0001

Read/Write: R/W

Initialized Value: 0x0

Operational Settings: 1 is written to reset disabled channels. Processor will write a 0 back to the Overcurrent Reset register when reset process is complete.

Overcurrent Reset

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000000D

User Watchdog Time Programming Registers

Refer to “User Watchdog Timer Module Manual” for the register descriptions.

Module Common Registers

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

Status and Interrupts

The Discrete Module provides status registers for BIT, Low-to-High Transition, High-to-Low Transition, Overcurrent, Above Max High Threshold, Below Min Low Threshold, and Mid-Range.

BIT Status

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

BIT Status

BIT Dynamic Status
BIT Latched Status
BIT Interrupt Enable
BIT Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Note

Faults are detected (associated channel(s) bit set to 1) within 10 ms.

Overcurrent Status

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

Overcurrent Status

Overcurrent Dynamic Status
Overcurrent Latched Status
Overcurrent Interrupt Enable
Overcurrent Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Note

Status is indicated (associated channel(s) bit set to 1), within 80 ms.

Note

Channel(s) shut down by overcurrent sensed can be reset by writing to the Overcurrent Reset register

Above Max High Threshold Status

There are four registers associated with the Above Max High Threshold Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Latched status is indicated (bit is set) within 500 µs. Write a 1 to clear status.

Above Max High Threshold Status

Above Max High Threshold Dynamic Status
Above Max High Threshold Latched Status
Above Max High Threshold Interrupt Enable
Above Max High Threshold Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Function: Sets the corresponding bit associated with the channel’s Above Max High Threshold event.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Below Min Low Threshold Status

There are four registers associated with the Above Max High Threshold Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Latched status is indicated (bit is set) within 500 µs. Write a 1 to clear status.

Below Min Low Threshold Status

Below Min Low Threshold Dynamic Status
Below Min Low Threshold Latched Status
Below Min Low Threshold Interrupt Enable
Below Min Low Threshold Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Function: Sets the corresponding bit associated with the channel’s Below Min Low Threshold event.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Mid-Range Status

There are four registers associated with the Mid-Range Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Latched status is indicated (bit is set) within 500 µs. Write a 1 to clear status.

Mid-Range Status

Mid-Range Dynamic Status
Mid-Range Latched Status
Mid-Range Interrupt Enable
Mid-Range Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Function: Sets the corresponding bit associated with the channel’s Mid-Range event.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Note

Voltage level needs to be between the upper and lower thresholds for the debounce time for this status to assert.

Note

In the event this status is asserted, the Input/Output state will hold its previous state.

Low-to-High Transition Status

There are four registers associated with the High-to-Low Transition Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

Low-to-High Transition Status

Low-to-High Dynamic Status
Low-to-High Latched Status
Low-to-High Interrupt Enable
Low-to-High Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Function: Sets the corresponding bit associated with the channel’s Low-to-High Transition event.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Note

Considered “momentary” during the actual event when detected. Programmable for level or edge sensing, status is indicated (associated channel(s) bit set to 1) within 20 µs.

Note

Programmable for level or edge sensing, status is indicated (associated channel(s) bit set to 1) within 20 µs.

Note

Transition status follows the value read by the Input/Output State register.

High-to-Low Transition Status

There are four registers associated with the High-to-Low Transition Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt.

High-to-Low Transition Status

High-to-Low Dynamic Status
High-to-Low Latched Status
High-to-Low Interrupt Enable
High-to-Low Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Function: Sets the corresponding bit associated with the channel’s High-to-Low Transition event.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 FFFF

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

Initialized Value: 0

Note

Considered “momentary” during the actual event when detected. Programmable for level or edge sensing, status is indicated (associated channel(s) bit set to 1) within 20 µs.

Note

Programmable for level or edge sensing, status is indicated (associated channel(s) bit set to 1) within 20 µs.

Note

Transition status follows the value read by the Input/Output State register.

User Watchdog Timer Fault Status

The Discrete Module provides registers that support User Watchdog Timer capability. Refer to “User Watchdog Timer Module Manual” for the User Watchdog Timer Fault Status register descriptions.

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 VME1
Direct Interrupt to ARM Processor (via SerDes) +
(Custom App on ARM or NAI Ethernet Listener App)
2
Direct Interrupt to PCIe Bus5
Direct Interrupt to cPCI Bus6
Link to original

ENHANCED FUNCTIONALITY

Input Modes

There are 10 Input modes. All input modes may be configured with debounce capability. Debounce capability allows configurable filtering of noisy signals and transients. Each channel may be set to an individual debounce time value. When a debounce time is set to a non-zero value, the signal reading after a transition must remain at the same level for the debounce interval before it is propagated through, otherwise it is rejected. All Input Modes (1-10) FIFO buffers are 1024 words deep.

Mode 0 - No Enhancement Mode: Behaves the same as a standard functionality only module.

Mode 1 - High Time Pulse Measurement (FIFO Buffer): Timing measurements record the time interval (in 8 ns ticks) from a pair of transitions.

Pulse High, Mode 1: records measurements for each rising transition to the next falling one.

Mode 2 - Low Time Pulse Measurement (FIFO Buffer): Timing measurements record the time interval (in 8 ns ticks) from a pair of transitions.

Pulse Low, Mode 2: records the interval from each falling edge to the next rising edge.

Mode 3 - Transition Timestamp of All Rising Edges (FIFO Buffer): Rising Edge time stamps from 125 MHz, 32-bit counter will be sequentially available and stored in the FIFO buffer.

Note

In this example, four counter values at the rising edge transitions are recorded to the FIFO: 0x344321, 0x344999, 0x345011, 0x345689, etc.

Delta of 0x678 = 1656 counts, or 13.248 µs interval between pulses.

Mode 4 - Transition Timestamp of All Falling Edges (FIFO Buffer): Falling Edge time stamps from 125 MHz, 32-bit counter will be sequentially available and stored in the FIFO buffer.

Mode 5 - Transition Timestamp of All Edges (FIFO Buffer): Rising and Falling Edge time stamps from 125 MHz, 32-bit counter will be sequentially available and stored in the FIFO buffer.

Note

In this example, all edges time stamp. Four counter values at the transitions are recorded to the FIFO: 0x344321, 0x344999, 0x345011, 0x345689, etc.

Delta of 0x33C = 828 counts, or 6.624 µs interval between pulses.

Mode 6 - Rising Edge Transition Counter: When selected, the rising edge count will be available from the count register at the FIFO read address. The counter is reset via user command.32-bit count range to 232.

Mode 7 - Falling Edge Transition Counter: When selected, falling edge count will be available from the count register at the FIFO read address. The counter is reset via user command. 32-bit count range to 232.

Mode 8 - Rising and Falling Edge Transition Counter: When selected, cumulative edge counts will be available from the count register at the FIFO read address. The counter is reset via user command. 32-bit count range to 232.

Mode 9 - Period Measurement: Timing measurements record the intervals from pulse-to-pulse in 8 ns ticks (delta timestamp).

Note

In Period Measurement mode, the same three pulse-to-pulse interval values as calculated in the timestamp measurement would be directly recorded to the FIFO.

Mode 10 - Frequency Measurement: Enables frequency measurement, which will be available and stored in the FIFO buffer. Frequency measurement correlates to/utilizes a programmable time interval, which is programmed in the Period register. Direct readout of frequency is available when the interval is set to one second.

Output Modes

There are three Output modes, which include a standard output mode, two PWM outputs and a Pattern Generator Output mode.

Mode 32 (0x20) - PWM Continuous Output Mode: In the sample shown below, each of the 24 channels has been set up with incrementing periods and pulse widths, running in continuous mode. Timing is asynchronous to each channel, but is very precise and with low jitter. In this mode, the configured PWM output is enabled and disabled with the Start Output/Measure Enable register.

Continuous Output Mode (Mode 32)

Mode 33 (0x21) - PWM Burst: Repeats the pulse based on programmed Period and Pulse Width “n” times as programmed in the Number of Cycles register.

Burst Mode (Mode 33) Programmed for “n” Number of Cycles

Mode 34 (0x22) - Pattern Generator Output: Outputs all mode selected channels based on the pattern programmed in the Pattern RAM register. The output rate is set in the Pattern RAM Period register. The output is a cyclic transmission of a 216 deep X 24 bit pattern array at configurable pattern intervals with 8 ns resolution. Pattern output may be stopped and resumed at the same point in the cycle. The following shows an arbitrary output of patterns as displayed on 24 channels of a logic analyzer. Each vertical column represents one 24-bit pattern of the 216 pattern array.

Pattern Data Output (Mode 34)

Mode Select

Function: This register provides selection of 13 different modes (0-10; 32,33,34). See the table that follows for a brief description of each mode.

Type: unsigned binary word (32-bit)

Data Range: 1 to 10; 32 to 34

Read/Write: R/W

Initialized Value: 0

Operational Settings: Modes 0 through 10; 32 through 34 are selectable for each channel. Writing a 0 will reset the Modes to their initialized state.

Mode #HexDescription
10x0001Measure “High” time: Write a 1 to the Start Output/Measure Enable register to enable measurement of the I/O state “High” time. It will not be measured if the bit is not set for that channel, i.e. 0. If a 1 is written to enable measurement on a channel while that channel’s I/O state is 1, then the internal counter will begin to count upon begin enabled.
20x0002Measure “Low” time: Write a 1 to the Start Output/Measure Enable register to enable measurement of the I/O state “Low time”. It will not be measured if the bit is not set for that channel. If a 1 is written to enable measurement on a channel while that channel’s I/O state is 0, then the internal counter will begin to count upon being enabled.
30x0003Time-stamp of all rising edges: Write a 1 to the Start Output/Measure Enable register and the timestamp counter will begin to count. A low-to-high transition on that channel will store the timestamp at the time of the transition in the FIFO. If that channel is then disabled by writing a 0, the timestamp counter will pause and any low-to-high transitions of the I/O state will not trigger FIFO storage. Write any value to the Reset Timer register to reset the timestamp counter.
40x0004Time-stamp of all falling edges: Write a 1 to the Start Output/Measure Enable register and the timestamp counter will begin to count. A high-to-low transition on that channel will store the timestamp at the time of the transition in the FIFO. If that channel is then disabled by writing a 0, the timestamp counter will pause and any high-to-low transitions of the I/O state will not trigger a FIFO storage. Write any value to the Reset Timer register to reset the timestamp counter.
50x0005Time-stamp of all edges: Write a 1 to the Start Output/Measure Enable register and the timestamp counter will begin to count. Any low-to-high or high-to-low transition on that channel will store the timestamp at the time of the transition in the FIFO. If that channel is then disabled by writing a 0, the timestamp counter will pause and any low-to-high or high-to-low transitions of the I/O state will not trigger FIFO storage. Write any value to the Reset Timer register to reset the timestamp counter.
60x0006Count total number of rising edges (until FIFO reset): Write a 1 to the Start Output/Measure Enable register to begin tracking any low-to-high transition of that channel’s I/O state will increment the counter by one. If a 0 is written in the register for that channel, the count will not increment on any transitions. Write any value to the Reset Timer register to reset the counter.
70x0007Count total number of falling edges (until FIFO reset): Write a 1 to the Start Output/Measure Enable register to begin tracking any high-to-low transition of that channel’s I/O state will increment the counter by one. If a 0 is written in the register for that channel, the count will not increment on any transitions. Write any value to the Reset Timer register to reset the counter.
80x0008Count total number of all edges (until FIFO reset): Write a 1 to the Start Output/Measure Enable register to begin tracking any low-to-high transition or high-to-low transition of that channel’s I/O state will increment the counter by one. If a 0 is written in the register for that channel, the count will not increment on any transitions.
Write any value to the Reset Timer register to reset the counter.
90x0009Measure period from rising edge (L-H transition) to next rising edge: The first low-to-high transition of any enabled channel will start the counter. The next low-to-high transition will store the count in the FIFO, reset the counter, and begin the count again. This will repeat. After the waveform on the input has finished, write any value to the Reset Timer to reset it to zero.
100x000AMeasure frequency: The first low-to-high transition of any enabled channel will start the PWM Period counter. The counter will be incremented for every low-to-high transition that occurs within the defined period. Once the period counter reaches zero, the number of low-to-high transitions counted will be stored in FIFO and the process will restart. Write any value to the Reset Timer to reset it to zero.
320x20PWM - output continuously: Will continuously (repeat) the pulse based on programmed Period and Pulse Width registers. Write a 1 to output the continuous waveform programed in the Period and Pulse Width registers. Write a 0 to disable the output.
330x21PWM - output “n” times Will repeat the pulse based on programmed Period and Pulse Width “n” times as programmed in the Number of Cycles register. Write a 1 to output the number of pulses written in the Number of Cycles register with the period and pulse width written in the Period and Pulse Width registers. Once the programmed number of pulses that was written to the register has been outputted, a 0 will be written back to the register for the channel that was enabled (self-clearing).
340x22Output pattern data held in RAM: Outputs all mode selected channel(s) based on the pattern programmed in RAM. The output rate is set in the Pattern RAM Period register. The Pattern RAM Start Address register will determine where the pattern RAM output will begin when enabled. The Pattern RAM End Address register will determine where the pattern RAM output will end when enabled. After the pattern is outputted, it will loop back to the start address. Writing a 0x1 to the control register will loop the pattern continuously. While looping continuously, a 0x0 can be written to stop the output and bring the pattern back to the start address or a 0x5 can be written to pause the output wherever it may be in the pattern. Writing a 0x1 when the pattern is paused will resume the pattern at the same spot. Writing a 0x3 to the control register 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 RAM Period register. The Pattern RAM Period register determines how long the each address data will be output for. In other words, it is the time it takes for the output to change to the next address.

Notes:

Mode 1 - 10Input
Mode 32 - 34Output
1Mode(s) 1-10: FIFO storage occurs at 8 ns intervals (unless otherwise specified)
2Mode(s) 7- 9: Applies to measurement “count” edges - the “count” is provided/updated at 8ns intervals in the first element of the FIFO only (no FIFO ‘storage” - first element is dynamically updated).
3Mode 10 (Measure frequency): In this mode, the captured FIFO data is essentially the number of transitions measured within a given user specified time interval (specified/programmed in the Pulse Width register). From this, the user calculates frequency by [FIFO Data (# of transitions) / Pulse Width], or, simply program the Pulse Width register to a time interval of 1 second, which then FIFO Data (# of transitions) directly correlates to measured frequency (Hz).

Start Output/Measure Enable

Function:

Output Modes: When the Mode Select register is programmed for PWM output modes (Modes 32 & 33), the Start Output/Measure Enable register is used to start the channel outputs.

Input Modes: When the Mode Select register is programmed for PWM input modes (Modes 1-10), the Start Output/Measure Enable register is used to start measurement.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: The channel(s) output is based on the pattern preset in the programmed pulse characteristic registers: Period, Pulse Width and Output Polarity. If the Mode Select register is set to Mode 33, the number of pulses is controlled by the Number of Cycles register.

Reset Timer

Function: Resets Timer to default value.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: W

Initialized Value: 0

Operational Settings: Writing any value to this register resets the Timer to default value.

Note

Resetting timers will also retrigger the FIFO store mechanism to trigger or restart the FIFO on the next valid low-to-high transition detected.

FIFO Operations/Functions

There is an independent FIFO (1024 32-bit words deep) for each channel allocated for use when the Mode Select register is programmed for the appropriate mode (applies to Modes 1-10).

Read FIFO/Read Count

Function: Depends upon Mode Select register setting.

Read FIFO: Provides stored data dependent on the input channel(s) mode selected. Applicable to Modes 1 through 5, 9 and 10. See Mode Select register.

Read Count: Applicable to Modes 6, 7 and 8. See Mode Select register.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: The available data in the FIFO buffer can be retrieved, one word at a time (32-bits), from the identified memory/register address.

Note

The Read FIFO and Read Count functions share a register. They are mutually exclusive in that depending upon the setting of the Mode Select register, either one or the other will become active.

Read FIFO Count

Function: Reads the number of 32-bit words stored in FIFO for each channel.

Type: unsigned binary word (32-bit)

Data Range: Any value

Read/Write: R/W

Initialized Value: 0

Operational Settings: Mode Select register set for Modes 1-10.

Read FIFO Status

Function: Provides a real-time status of the following conditions:

  • FIFO empty

  • FIFO full

  • Almost Empty

  • Almost Full

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x4

Read/Write: R

Initialized Value: 0

Operational Settings: See table below.

Read FIFO Status

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000DDDD
BitDescription
D0Full
D1Almost Full
D2Almost Empty
D3Empty

Reset FIFO

Function: Resets measurement FIFO (only) to zero. Applicable to Modes 1 through 5, 9 and 10. See Mode Select register.

Type: unsigned binary word (32-bit)

Read/Write: W

Initialized Value: 0

Operational Settings: The act of writing any value to this register will apply the reset.

PWM Operations/Functions

Unless otherwise specified, PWM operations and functions apply to channels when the Mode Select register is set for Modes 32 & 33.

Period

The Period register works in conjunction with the Pulse Width, Output Select, Number of Cycles and Start Output/Measure Enable registers to configure PWM output. See Configuring PWM Output figure below. It is also used for Period and Frequency measurement.

Configuring PWM Output

Function: When the Mode Select register is programmed for PWM output modes (Modes 32 & 33), the PWM Period is based on the programmed value set in this register.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0002 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: Mode Select register is set to Mode 32 or 33, the Period register is used to program the desired channel PWM output pulse period. Enter the desired PWM pulse period (LSB=@ 8 ns; valid entries are: 16 ns to 34.36 sec.).

Note

Programmed PWM Period must be greater than the value set in the Pulse Width register.

Pulse Width

Function: When the Mode Select register is programmed for PWM output modes (Modes 32 & 33), the Pulse Width register is used to program the desired channel(s) PWM Pulse Width “ON” time. See Configuring PWM Output figure. When the Mode Select register is programmed for frequency measurement (Mode 10), the Pulse Width register is used to program the Timebase for the desired channel(s).

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0001 to 0xFFFF FFFE

Read/Write: R/W

Initialized Value: 0

Operational Settings:

Applied to Mode(s) 32 & 33: Enter the desired PWM Pulse Width (LSB=@ 8 ns; 10 µs to @ 10 µs to 10 µs x 232 sec). Used in conjunction with the Period register.

Note

Programmed PWM Pulse Width must be less than the value set in the Period register.

Applied to Mode 10: For channel(s) with functions that rely on frequency measurement, the Pulse Width register is used to program the desired channel “Timebase” for the frequency measurement transition count period of time.

Note

There may be an initial “low” level output delay based on the Period time before the initial pulse is output.

Number of Cycles

Function: When Mode Select register is programmed for Mode 33, the Number of Cycles register is used to program the number of times to repeat the pulse.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0001 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: Pulse is determined and used in conjunction with the Period and Pulse Width registers. Enter the desired Number of Cycles.

Note

If continuous pulse generation is desired, select Mode 32.

Pattern Generator Operations/Functions

Applies to channels set for Output mode 34 on the Mode Select register. There is an allocated RAM data pattern 64K deep RAM location range, bit-mapped per channel that can be used for multichannel pulse pattern generation. Each channel, when programmed for Mode 34, is bit-mapped (LSB = Ch1) and when triggered (timers are reset), will sequentially output the programmed RAM pattern at the rate programmed in the Pattern RAM Period register.

Pattern RAM Period

Function: Programs the desired channel output pattern rate.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0001 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: Enter the desired Pattern Generator RAM period (LSB=@ 10 ns).

Default: 0

Pattern RAM Start Address

Function: Programs the starting address for the Pattern Generator.

Type: unsigned binary word (32-bit)

Data Range: 0x40000 to 0x7FFFC

Read/Write: R/W

Initialized Value: 0

Operational Settings: Output rate is determined by the rate programmed in the Pattern RAM Period register. Write a 1 to start the RAM pattern output; write a 0 to stop the RAM pattern output.

Default: 0

Pattern RAM Start Address

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
000000000000DDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Pattern RAM End Address

Function: Programs the ending address for the Pattern Generator. There are 32K address locations from 0x40000 to 0x7FFFC.

Register Offset(s): 0x2018

Type: unsigned binary word (32-bit)

Data Range: 0x40000 to 0x7FFFC

Read/Write: R/W

Initialized Value: 0

Operational Settings: NA

Pattern RAM End Address

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
000000000000DDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD

Pattern RAM Number of Cycles

Function: Program the number of times to repeat the pattern.

Register Offset(s): 0x2020

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0001 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: Programmable from 1 to 232 cycles.

Pattern RAM Control

Function: Control the RAM data pattern.

Type: unsigned binary word (32-bit)

Data Range: N/A

Read/Write: W

Initialized Value: 0

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

Pattern RAM Control

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000D
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000DDDD

Note

Write the following values to the register to perform each function.

BitFunction
D0Pattern Looping: This bit will enable or disable continuous pattern looping. Write 0x1 to enable and 0x0 to disable the pattern.
D1Burst Mode: Write 0x3 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 RAM Number of Cycles register.
D2Pause: Write 0x5 to pause the pattern when enabled.
D3Rising Edge External Trigger Enable: Uses Channel 1 as the input. Write 0xA to enable pattern burst on a rising edge.
D4Falling Edge External Trigger Enable: Uses Channel 1 as the input. Write 0x12 to enable pattern burst on a falling edge.

Output Polarity

Function: When the Mode Select register is programmed for PWM output modes (Modes 32 & 33), the Output Polarity programs the PWM Pulse Period to start either High (0) or Low (1).

Type: unsigned binary word (32-bit)

Read/Write: R/W

Initialized Value: 0

Operational Settings: Applies to Modes 32 and 33. The Output Polarity register is used to program the start “level” (or state) of the PWM Pulse Period. The default is ON (High), which is set when the PWM Polarity bit is 0. The PWM start level channel(s) output will be High for the initial start of the period. See Configuring PWM Output figure. The time is defined by the Period and Pulse Width registers. The remainder of the PWM Period time will be “low” defined by the [PWM Period - PWM Pulse Width]. If the PWM Polarity bit is set to 1, the PWM start level will be “low” for the programmed PWM Pulse Width and the remainder of the PWM Period time will be “high” defined by the [PWM Period - PWM Pulse Width]. Bit mapped per channel.

Note

There may be an initial “low” level output delay based on the Period time before the initial pulse is output.

Output Polarity

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000 000 00000D15D14
D13D12D11D10D9D8D7D6D5D4D3D2D1D0DD
DDDDDDDDDDDDDD

FUNCTION REGISTER MAP

Key:

Bold Italic = Configuration/Control

Bold Underline = State/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).

Discrete Input/Switch Registers

0x1000Switch ControlR/W
0x1004Read I/OR
0x1010Switch StateR
0x100COpen Circuit Detection(*1)R/W

(*1) Note: A. Open Circuit Detection enhanced feature; introduced/available on EAR FPGA rev. 3; top-boards rev D (DOM @ 10/2016)

Discrete Input/Output Threshold Programming Registers

0x2014Max High Threshold Ch 1R/W
0x2094Max High Threshold Ch 2R/W
0x2114Max High Threshold Ch 3R/W
0x2194Max High Threshold Ch 4R/W
0x2214Max High Threshold Ch 5R/W
0x2294Max High Threshold Ch 6R/W
0x2314Max High Threshold Ch 7R/W
0x2394Max High Threshold Ch 8R/W
0x2414Max High Threshold Ch 9R/W
0x2494Max High Threshold Ch 10R/W
0x2514Max High Threshold Ch 11R/W
0x2594Max High Threshold Ch 12R/W
0x2614Max High Threshold Ch 13R/W
0x2694Max High Threshold Ch 14R/W
0x2714Max High Threshold Ch 15R/W
0x2794Max High Threshold Ch 16R/W
0x2018Upper Threshold Ch 1R/W
0x2098Upper Threshold Ch 2R/W
0x2118Upper Threshold Ch 3R/W
0x2198Upper Threshold Ch 4R/W
0x2218Upper Threshold Ch 5R/W
0x2298Upper Threshold Ch 6R/W
0x2318Upper Threshold Ch 7R/W
0x2398Upper Threshold Ch 8R/W
0x2418Upper Threshold Ch 9R/W
0x2498Upper Threshold Ch 10R/W
0x2518Upper Threshold Ch 11R/W
0x2598Upper Threshold Ch 12R/W
0x2618Upper Threshold Ch 13R/W
0x2698Upper Threshold Ch 14R/W
0x2718Upper Threshold Ch 15R/W
0x2798Upper Threshold Ch 16R/W
0x201CLower Threshold Ch 1R/W
0x209CLower Threshold Ch 2R/W
0x211CLower Threshold Ch 3R/W
0x219CLower Threshold Ch 4R/W
0x221CLower Threshold Ch 5R/W
0x229CLower Threshold Ch 6R/W
0x231CLower Threshold Ch 7R/W
0x239CLower Threshold Ch 8R/W
0x241CLower Threshold Ch 9R/W
0x249CLower Threshold Ch 10R/W
0x251CLower Threshold Ch 11R/W
0x259CLower Threshold Ch 12R/W
0x261CLower Threshold Ch 13R/W
0x269CLower Threshold Ch 14R/W
0x271CLower Threshold Ch 15R/W
0x279CLower Threshold Ch 16R/W
0x2020Min Low Threshold Ch 1R/W
0x20A0Min Low Threshold Ch 2R/W
0x2120Min Low Threshold Ch 3R/W
0x21A0Min Low Threshold Ch 4R/W
0x2220Min Low Threshold Ch 5R/W
0x22A0Min Low Threshold Ch 6R/W
0x2320Min Low Threshold Ch 7R/W
0x23A0Min Low Threshold Ch 8R/W
0x2420Min Low Threshold Ch 9R/W
0x24A0Min Low Threshold Ch 10R/W
0x2520Min Low Threshold Ch 11R/W
0x25A0Min Low Threshold Ch 12R/W
0x2620Min Low Threshold Ch 13R/W
0x26A0Min Low Threshold Ch 14R/W
0x2720Min Low Threshold Ch 15R/W
0x27A0Min Low Threshold Ch 16R/W

Discrete Input/Output Measurement Registers

0x2000Voltage Reading (Sampled) Ch 1R
0x2080Voltage Reading (Sampled) Ch 2R
0x2100Voltage Reading (Sampled) Ch 3R
0x2180Voltage Reading (Sampled) Ch 4R
0x2200Voltage Reading (Sampled) Ch 5R
0x2280Voltage Reading (Sampled) Ch 6R
0x2300Voltage Reading (Sampled) Ch 7R
0x2380Voltage Reading (Sampled) Ch 8R
0x2400Voltage Reading (Sampled) Ch 9R
0x2480Voltage Reading (Sampled) Ch 10R
0x2500Voltage Reading (Sampled) Ch 11R
0x2580Voltage Reading (Sampled) Ch 12R
0x2600Voltage Reading (Sampled) Ch 13R
0x2680Voltage Reading (Sampled) Ch 14R
0x2700Voltage Reading (Sampled) Ch 15R
0x2780Voltage Reading (Sampled) Ch 16R
0x2004Voltage Reading (Averaged) Ch 1R
0x2084Voltage Reading (Averaged) Ch 2R
0x2104Voltage Reading (Averaged) Ch 3R
0x2184Voltage Reading (Averaged) Ch 4R
0x2204Voltage Reading (Averaged) Ch 5R
0x2284Voltage Reading (Averaged) Ch 6R
0x2304Voltage Reading (Averaged) Ch 7R
0x2384Voltage Reading (Averaged) Ch 8R
0x2404Voltage Reading (Averaged) Ch 9R
0x2484Voltage Reading (Averaged) Ch 10R
0x2504Voltage Reading (Averaged) Ch 11R
0x2584Voltage Reading (Averaged) Ch 12R
0x2604Voltage Reading (Averaged) Ch 13R
0x2684Voltage Reading (Averaged) Ch 14R
0x2704Voltage Reading (Averaged) Ch 15R
0x2784Voltage Reading (Averaged) Ch 16R
0x2008Current Reading Ch 1 (Sampled)R
0x2088Current Reading Ch 2 (Sampled)R
0x2108Current Reading Ch 3 (Sampled)R
0x2188Current Reading Ch 4 (Sampled)R
0x2208Current Reading Ch 5 (Sampled)R
0x2288Current Reading Ch 6 (Sampled)R
0x2308Current Reading Ch 7 (Sampled)R
0x2388Current Reading Ch 8 (Sampled)R
0x2408Current Reading Ch 9 (Sampled)R
0x2488Current Reading Ch 10 (Sampled)R
0x2508Current Reading Ch 11 (Sampled)R
0x2588Current Reading Ch 12 (Sampled)R
0x2608Current Reading Ch 13 (Sampled)R
0x2688Current Reading Ch 14 (Sampled)R
0x2708Current Reading Ch 15 (Sampled)R
0x2788Current Reading Ch 16 (Sampled)R
0x200CCurrent Reading Ch 1 (Averaged)R
0x208CCurrent Reading Ch 2 (Averaged)R
0x210CCurrent Reading Ch 3 (Averaged)R
0x218CCurrent Reading Ch 4 (Averaged)R
0x220CCurrent Reading Ch 5 (Averaged)R
0x228CCurrent Reading Ch 6 (Averaged)R
0x230CCurrent Reading Ch 7 (Averaged)R
0x238CCurrent Reading Ch 8 (Averaged)R
0x240CCurrent Reading Ch 9 (Averaged)R
0x248CCurrent Reading Ch 10 (Averaged)R
0x250CCurrent Reading Ch 11 (Averaged)R
0x258CCurrent Reading Ch 12 (Averaged)R
0x260CCurrent Reading Ch 13 (Averaged)R
0x268CCurrent Reading Ch 14 (Averaged)R
0x270CCurrent Reading Ch 15 (Averaged)R
0x278CCurrent Reading Ch 16 (Averaged)R

Discrete Input/Output Control Registers

0x2010Debounce Time Ch 1R/W
0x2090Debounce Time Ch 2R/W
0x2110Debounce Time Ch 3R/W
0x2190Debounce Time Ch 4R/W
0x2210Debounce Time Ch 5R/W
0x2290Debounce Time Ch 6R/W
0x2310Debounce Time Ch 7R/W
0x2390Debounce Time Ch 8R/W
0x2410Debounce Time Ch 9R/W
0x2490Debounce Time Ch 10R/W
0x2510Debounce Time Ch 11R/W
0x2590Debounce Time Ch 12R/W
0x2610Debounce Time Ch 13R/W
0x2690Debounce Time Ch 14R/W
0x2710Debounce Time Ch 15R/W
0x2790Debounce Time Ch 16R/W
0x2024Overcurrent Value Ch 1R/W
0x20A4Overcurrent Value Ch 2R/W
0x2124Overcurrent Value Ch 3R/W
0x21A4Overcurrent Value Ch 4R/W
0x2224Overcurrent Value Ch 5R/W
0x22A4Overcurrent Value Ch 6R/W
0x2324Overcurrent Value Ch 7R/W
0x23A4Overcurrent Value Ch 8R/W
0x2424Overcurrent Value Ch 9R/W
0x24A4Overcurrent Value Ch 10R/W
0x2524Overcurrent Value Ch 11R/W
0x25A4Overcurrent Value Ch 12R/W
0x2624Overcurrent Value Ch 13R/W
0x26A4Overcurrent Value Ch 14R/W
0x2724Overcurrent Value Ch 15R/W
0x27A4Overcurrent Value Ch 16R/W
0x1008Overcurrent ResetR/W

User Watchdog Timer Programming Registers

Refer to “User Watchdog Timer Module Manual” for the User Watchdog Timer Status Function Register Map

Module Common Registers

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

Discrete Status Registers

BIT Status

0x0800Dynamic StatusR
0x0804Latched Status*R/W
0x0808Interrupt EnableR/W
0x080CSet Edge/Level InterruptR/W

Overcurrent Status

0x0810Dynamic StatusR
0x0814Latched Status*R/W
0x0818Interrupt EnableR/W
0x081CSet Edge/Level InterruptR/W

Above Max High Threshold Status

0x0820Dynamic StatusR
0x0824Latched Status*R/W
0x0828Interrupt EnableR/W
0x082CSet Edge/Level InterruptR/W

Below Min Low Threshold Status

0x0830Dynamic StatusR
0x0834Latched Status*R/W
0x0838Interrupt EnableR/W
0x083CSet Edge/Level InterruptR/W

Mid-Range Status

0x0840Dynamic StatusR
0x0844Latched Status*R/W
0x0848Interrupt EnableR/W
0x084CSet Edge/Level InterruptR/W

Low-to-High Transition Status

0x0850Dynamic StatusR
0x0854Latched Status*R/W
0x0858Interrupt EnableR/W
0x085CSet Edge/Level InterruptR/W

High-to-Low Transition

0x0860Dynamic StatusR
0x0864Latched Status*R/W
0x0868Interrupt EnableR/W
0x086CSet Edge/Level InterruptR/W

User Watchdog Timer Fault Status

The Discrete Module provides registers that support User Watchdog Timer capability. Refer to “User Watchdog Timer Module Manual” for the User Watchdog Timer Fault Status Function Register Map.

Interrupt Registers

The Interrupt Vector and Interrupt Steering registers are located on the Motherboard Memory Space and do not require any Module Address Offsets. These registers are accessed using the absolute addresses listed in the table below.

0x0500Module 1 Interrupt Vector 1 - BITR/W
0x0504Module 1 Interrupt Vector 2 - Low-HighR/W
0x0508Module 1 Interrupt Vector 3 - High-LowR/W
0x050CModule 1 Interrupt Vector 4 - OvercurrentR/W
0x0510Module 1 Interrupt Vector 5 - Max-HighR/W
0x0514Module 1 Interrupt Vector 6 - Min-LowR/W
0x0518Module 1 Interrupt Vector 7 - Mid RangeR/W
0x051C to 0x0568Module 1 Interrupt Vector 8 - 27 - ReservedR/W
0x056CModule 1 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0570 to 0x057CModule 1 Interrupt Vector 29-32 - ReservedR/W
0x0600Module 1 Interrupt Steering 1 - BITR/W
0x0604Module 1 Interrupt Steering 2 - Low-HighR/W
0x0608Module 1 Interrupt Steering 3 - High-LowR/W
0x060CModule 1 Interrupt Steering 4 - OvercurrentR/W
0x0610Module 1 Interrupt Steering 5 - Max-HighR/W
0x0614Module 1 Interrupt Steering 6 - Min-LowR/W
0x0618Module 1 Interrupt Steering 7 - Mid RangeR/W
0x061C to 0x0668Module 1 Interrupt Steering 8 - 27 - ReservedR/W
0x066CModule 1 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x0670 to 0x067CModule 1 Interrupt Steering 29-32 - ReservedR/W
0x0700Module 2 Interrupt Vector 1 - BITR/W
0x0704Module 2 Interrupt Vector 2 - Low-HighR/W
0x0708Module 2 Interrupt Vector 3 - High-LowR/W
0x070CModule 2 Interrupt Vector 4 - OvercurrentR/W
0x0710Module 2 Interrupt Vector 5 - Max-HighR/W
0x0714Module 2 Interrupt Vector 6 - Min-LowR/W
0x0718Module 2 Interrupt Vector 7 - Mid RangeR/W
0x071C to 0x0768Module 2 Interrupt Vector 8 - 27 - ReservedR/W
0x076CModule 2 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0770 to 0x077CModule 2 Interrupt Vector 29-32 - ReservedR/W
0x0800Module 2 Interrupt Steering 1 - BITR/W
0x0804Module 2 Interrupt Steering 2 - Low-HighR/W
0x0808Module 2 Interrupt Steering 3 - High-LowR/W
0x080CModule 2 Interrupt Steering 4 - OvercurrentR/W
0x0810Module 2 Interrupt Steering 5 - Max-HighR/W
0x0814Module 2 Interrupt Steering 6 - Min-LowR/W
0x0818Module 2 Interrupt Steering 7 - Mid RangeR/W
0x081C to 0x0868Module 2 Interrupt Steering 8 - 27 - ReservedR/W
0x086CModule 2 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x0870 to 0x087CModule 2 Interrupt Steering 29-32 - ReservedR/W
0x0900Module 3 Interrupt Vector 1 - BITR/W
0x0904Module 3 Interrupt Vector 2 - Low-HighR/W
0x0908Module 3 Interrupt Vector 3 - High-LowR/W
0x090CModule 3 Interrupt Vector 4 - OvercurrentR/W
0x0910Module 3 Interrupt Vector 5 - Max-HighR/W
0x0914Module 3 Interrupt Vector 6 - Min-LowR/W
0x0918Module 3 Interrupt Vector 7 - Mid RangeR/W
0x091C to 0x0968Module 3 Interrupt Vector 8 - 27 - ReservedR/W
0x096CModule 3 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0970 to 0x097CModule 3 Interrupt Vector 29-32 - ReservedR/W
0x0A00Module 3 Interrupt Steering 1 - BITR/W
0x0A04Module 3 Interrupt Steering 2 - Low-HighR/W
0x0A08Module 3 Interrupt Steering 3 - High-LowR/W
0x0A0CModule 3 Interrupt Steering 4 - OvercurrentR/W
0x0A10Module 3 Interrupt Steering 5 - Max-HighR/W
0x0A14Module 3 Interrupt Steering 6 - Min-LowR/W
0x0A18Module 3 Interrupt Steering 7 - Mid RangeR/W
0x0A1C to 0x0A68Module 3 Interrupt Steering 8 - 27 - ReservedR/W
0x0A6CModule 3 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x0A70 to 0x0A7CModule 3 Interrupt Steering 29-32 - ReservedR/W
0x0B00Module 4 Interrupt Vector 1 - BITR/W
0x0B04Module 4 Interrupt Vector 2 - Low-HighR/W
0x0B08Module 4 Interrupt Vector 3 - High-LowR/W
0x0B0CModule 4 Interrupt Vector 4 - OvercurrentR/W
0x0B10Module 4 Interrupt Vector 5 - Max-HighR/W
0x0B14Module 4 Interrupt Vector 6 - Min-LowR/W
0x0B18Module 4 Interrupt Vector 7 - Mid RangeR/W
0x0B1C to 0x0B68Module 4 Interrupt Vector 8 - 27 - ReservedR/W
0x0B6CModule 4 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0B70 to 0x0B7CModule 4 Interrupt Vector 29-32 - ReservedR/W
0x0C00Module 4 Interrupt Steering 1 - BITR/W
0x0C04Module 4 Interrupt Steering 2 - Low-HighR/W
0x0C08Module 4 Interrupt Steering 3 - High-LowR/W
0x0C0CModule 4 Interrupt Steering 4 - OvercurrentR/W
0x0C10Module 4 Interrupt Steering 5 - Max-HighR/W
0x0C14Module 4 Interrupt Steering 6 - Min-LowR/W
0x0C18Module 4 Interrupt Steering 7 - Mid RangeR/W
0x0C1C to 0x0C68Module 4 Interrupt Steering 8 - 27 - ReservedR/W
0x0C6CModule 4 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x0C70 to 0x0C7CModule 4 Interrupt Steering 29-32 - ReservedR/W
0x0D00Module 5 Interrupt Vector 1 - BITR/W
0x0D04Module 5 Interrupt Vector 2 - Low-HighR/W
0x0D08Module 5 Interrupt Vector 3 - High-LowR/W
0x0D0CModule 5 Interrupt Vector 4 - OvercurrentR/W
0x0D10Module 5 Interrupt Vector 5 - Max-HighR/W
0x0D14Module 5 Interrupt Vector 6 - Min-LowR/W
0x0D18Module 5 Interrupt Vector 7 - Mid RangeR/W
0x0D1C to 0x0D68Module 5 Interrupt Vector 8 - 27 - ReservedR/W
0x0D6CModule 5 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0D70 to 0x0D7CModule 5 Interrupt Vector 29-32 - ReservedR/W
0x0E00Module 5 Interrupt Steering 1 - BITR/W
0x0E04Module 5 Interrupt Steering 2 - Low-HighR/W
0x0E08Module 5 Interrupt Steering 3 - High-LowR/W
0x0E0CModule 5 Interrupt Steering 4 - OvercurrentR/W
0x0E10Module 5 Interrupt Steering 5 - Max-HighR/W
0x0E14Module 5 Interrupt Steering 6 - Min-LowR/W
0x0E18Module 5 Interrupt Steering 7 - Mid RangeR/W
0x0E1C to 0x0E68Module 5 Interrupt Steering 8 - 27 - ReservedR/W
0x0E6CModule 5 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x0E70 to 0x0E7CModule 5 Interrupt Steering 29-32 - ReservedR/W
0x0F00Module 6 Interrupt Vector 1 - BITR/W
0x0F04Module 6 Interrupt Vector 2 - Low-HighR/W
0x0F08Module 6 Interrupt Vector 3 - High-LowR/W
0x0F0CModule 6 Interrupt Vector 4 - OvercurrentR/W
0x0F10Module 6 Interrupt Vector 5 - Max-HighR/W
0x0F14Module 6 Interrupt Vector 6 - Min-LowR/W
0x0F18Module 6 Interrupt Vector 7 - Mid RangeR/W
0x0F1C to 0x0F68Module 6 Interrupt Vector 8 - 27 - ReservedR/W
0x0F6CModule 6 Interrupt Vector 28 - User Watchdog Timer FaultR/W
0x0F70 to 0x0F7CModule 6 Interrupt Vector 29-32 - ReservedR/W
0x1000Module 6 Interrupt Steering 1 - BITR/W
0x1004Module 6 Interrupt Steering 2 - Low-HighR/W
0x1008Module 6 Interrupt Steering 3 - High-LowR/W
0x100CModule 6 Interrupt Steering 4 - OvercurrentR/W
0x1010Module 6 Interrupt Steering 5 - Max-HighR/W
0x1014Module 6 Interrupt Steering 6 - Min-LowR/W
0x1018Module 6 Interrupt Steering 7 - Mid RangeR/W
0x101C to 0x1068Module 6 Interrupt Steering 8 - 27 - ReservedR/W
0x106CModule 6 Interrupt Steering 28 - User Watchdog Timer FaultR/W
0x1070 to 0x107CModule 6 Interrupt Steering 29-32 - ReservedR/W

Enhanced Functionality Registers

0x300CMode Select Ch.1R/W
0x308CMode Select Ch.2R/W
0x310CMode Select Ch.3R/W
0x318CMode Select Ch.4R/W
0x320CMode Select Ch.5R/W
0x328CMode Select Ch.6R/W
0x330CMode Select Ch.7R/W
0x338CMode Select Ch.8R/W
0x340CMode Select Ch.9R/W
0x348CMode Select Ch.10R/W
0x350CMode Select Ch.11R/W
0x358CMode Select Ch.12R/W
0x360CMode Select Ch.13R/W
0x368CMode Select Ch.14R/W
0x370CMode Select Ch.15R/W
0x378CMode Select Ch.16R/W
0x2F00Start Output/Measure EnableR/W
0x2F04Reset TimerW

FIFO Operations/Functions

0x3000Read FIFO/Read Count Ch.1R
0x3080Read FIFO/Read Count Ch.2R
0x3100Read FIFO/Read Count Ch.3R
0x3180Read FIFO/Read Count Ch.4R
0x3200Read FIFO/Read Count Ch.5R
0x3280Read FIFO/Read Count Ch.6R
0x3300Read FIFO/Read Count Ch.7R
0x3380Read FIFO/Read Count Ch.8R
0x3400Read FIFO/Read Count Ch.9R
0x3480Read FIFO/Read Count Ch.10R
0x3500Read FIFO/Read Count Ch.11R
0x3580Read FIFO/Read Count Ch.12R
0x3600Read FIFO/Read Count Ch.13R
0x3680Read FIFO/Read Count Ch.14R
0x3700Read FIFO/Read Count Ch.15R
0x3780Read FIFO/Read Count Ch.16R
0x3004Read FIFO Count Ch.1R
0x3084Read FIFO Count Ch.2R
0x3104Read FIFO Count Ch.3R
0x3184Read FIFO Count Ch.4R
0x3204Read FIFO Count Ch.5R
0x3284Read FIFO Count Ch.6R
0x3304Read FIFO Count Ch.7R
0x3384Read FIFO Count Ch.8R
0x3404Read FIFO Count Ch.9R
0x3484Read FIFO Count Ch.10R
0x3504Read FIFO Count Ch.11R
0x3584Read FIFO Count Ch.12R
0x3604Read FIFO Count Ch.13R
0x3684Read FIFO Count Ch.14R
0x3704Read FIFO Count Ch.15R
0x3784Read FIFO Count Ch.16R
0x3008Read FIFO Status Ch.1R
0x3088Read FIFO Status Ch.2R
0x3108Read FIFO Status Ch.3R
0x3188Read FIFO Status Ch.4R
0x3208Read FIFO Status Ch.5R
0x3288Read FIFO Status Ch.6R
0x3308Read FIFO Status Ch.7R
0x3388Read FIFO Status Ch.8R
0x3408Read FIFO Status Ch.9R
0x3488Read FIFO Status Ch.10R
0x3508Read FIFO Status Ch.11R
0x3588Read FIFO Status Ch.12R
0x3608Read FIFO Status Ch.13R
0x3688Read FIFO Status Ch.14R
0x3708Read FIFO Status Ch.15R
0x3788Read FIFO Status Ch.16R
0x2F08Reset FIFOW

PWM Operations/Functions

0x3014Period Ch.1R/W
0x3094Period Ch.2R/W
0x3114Period Ch.3R/W
0x3194Period Ch.4R/W
0x3214Period Ch.5R/W
0x3294Period Ch.6R/W
0x3314Period Ch.7R/W
0x3394Period Ch.8R/W
0x3414Period Ch.9R/W
0x3494Period Ch.10R/W
0x3514Period Ch.11R/W
0x3594Period Ch.12R/W
0x3614Period Ch.13R/W
0x3694Period Ch.14R/W
0x3714Period Ch.15R/W
0x3794Period Ch.16R/W
0x3010Pulse Width Ch. 1R/W
0x3090Pulse Width Ch. 2R/W
0x3110Pulse Width Ch. 3R/W
0x3190Pulse Width Ch. 4R/W
0x3210Pulse Width Ch. 5R/W
0x3290Pulse Width Ch. 6R/W
0x3310Pulse Width Ch. 7R/W
0x3390Pulse Width Ch. 8R/W
0x3410Pulse Width Ch. 9R/W
0x3490Pulse Width Ch. 10R/W
0x3510Pulse Width Ch. 11R/W
0x3590Pulse Width Ch. 12R/W
0x3610Pulse Width Ch. 13R/W
0x3690Pulse Width Ch. 14R/W
0x3710Pulse Width Ch. 15R/W
0x3790Pulse Width Ch. 16R/W
0x3018Number of Cycles Ch.1R/W
0x3098Number of Cycles Ch.2R/W
0x3118Number of Cycles Ch.3R/W
0x3198Number of Cycles Ch.4R/W
0x3218Number of Cycles Ch.5R/W
0x3298Number of Cycles Ch.6R/W
0x3318Number of Cycles Ch.7R/W
0x3398Number of Cycles Ch.8R/W
0x3418Number of Cycles Ch.9R/W
0x3498Number of Cycles Ch.10R/W
0x3518Number of Cycles Ch.11R/W
0x3598Number of Cycles Ch.12R/W
0x3618Number of Cycles Ch.13R/W
0x3698Number of Cycles Ch.14R/W
0x3718Number of Cycles Ch.15R/W
0x3798Number of Cycles Ch.16R/W
0x2F0COutput PolarityR/W

Pattern Generator Operations/Functions

0x2F10Pattern RAM ControlR/W
0x2F14Pattern RAM Start AddressR/W
0x2F18Pattern RAM End AddressR/W
0x2F1CPattern RAM PeriodR/W
0x2F20Pattern RAM Num of CyclesR/W

APPENDIX: 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)44-Pin I/O50-Pin I/O (Mod Slot 1-J3)50-Pin I/O (Mod Slot 2-J4)50-Pin I/O (Mod Slot 3-J3)50-Pin I/O (Mod Slot 3-J4)Discrete (DT5)
DATIO121012P-CH01
DATIO224352627N-CH01
DATIO331123P-CH02
DATIO425362728N-CH02
DATIO551345P-CH04
DATIO627382930N-CH04
DATIO771456P-CH05
DATIO829393031N-CH05
DATIO981567P-CH06
DATIO1030403132N-CH06
DATIO11101789P-CH08
DATIO1232423334N-CH08
DATIO131218917P-CH09
DATIO1434433442N-CH09
DATIO1513191018P-CH10
DATIO1635443543N-CH10
DATIO1715211220P-CH12
DATIO1837463745N-CH12
DATIO1917221321P-CH13
DATIO2039473846N-CH13
DATIO2118231422P-CH14
DATIO2240483947N-CH14
DATIO2320251624P-CH16
DATIO2442504149N-CH16
DATIO2541234P-CH03
DATIO2626372829N-CH03
DATIO2791678P-CH07
DATIO2831413233N-CH07
DATIO2914201119P-CH11
DATIO3036453644N-CH11
DATIO3119241523P-CH15
DATIO3241494048N-CH15
DATIO336
DATIO3428
DATIO3511
DATIO3633
DATIO3716
DATIO3838
DATIO3921
DATIO4043
N/A

ENHANCED INPUT/OUTPUT FUNCTIONALITY CAPABILITY

The Enhanced Input/Output Functionality Capability is available on the following modules:

  • Differential Transceiver Modules

    • DF2 - 16 Channels Differential I/O
  • Discrete I/O Modules

    • DT4 - 24 Channels, Programmable for either input or output, output up to 500 mA per channel from an applied external 3 – 60 VCC source.
    • DT5 - 16 Channels, Programmable for either input voltage measurements (±80 V) or as a bi-directional current switch (up to 500 mA per channel).
    • 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

    • TL2, TL4, TL6 and TL8 - 24 Channels, Programmable for either input or output.

PRINCIPLE OF OPERATION

The modules listed in Enhanced Input/Output Functionality Capability provide enhanced input and output mode functionality. For incoming signals (inputs), the enhanced modes include Pulse, Frequency and Period measurements. For outputs, the enhanced modes include PWM (Pulse Width Modulation) and Pattern Generation.

Input Modes

All input modes may be configured with debounce capability. Debounce capability allows configurable filtering of noisy signals and transients. Each channel may be set to an individual debounce time value. When a debounce time is set to a non-zero value, the signal reading after a transition must remain at the same level for the debounce interval before it is propagated through, otherwise it is rejected.

The waveform shown in Figure 1 will be used to illustrate the behavior for each input mode.

Figure 1. Incoming Signal Example Used to illustrate Input Modes

Pulse Measurements

There are two Pulse Measurements features available - High Time Pulse Measurements and Low Time Pulse Measurements. The Pulse Measurement data is stored in the FIFO Buffer.

High Time Pulse Measurements

In this input mode, the data in the FIFO buffer is the measurement for each rising transition to the next falling one. Timing measurements record the time interval (in 10 µs ticks) from a pair of transitions.

Figure 2 - High Time Pulse Measurement Input Mode

For this example, the FIFO Word Count register will be set to 3 and the FIFO Buffer Data register will contain the following three values (counts of 10 µs):

  1. 1500 (0x0000 05DC)
  2. 2500 (0x0000 09C4)
  3. 1000 (0x0000 03E8)
Time IntervalCalculationsHigh Time Pulse Measurements
11500 counts * 10 µsec = 15000 µsec = 15.0 msec15.0 msec
22500 counts * 10 µsec = 25000 µsec = 25.0 msec25.0 msec
31000 counts * 10 µsec = 10000 µsec = 10.0 msec10.0 msec
Low Time Pulse Measurements

In this mode, the data in the FIFO buffer is the measurement for each falling edge to the next rising edge. Timing measurements record the time interval (in 10 µs ticks) from a pair of transitions.

Figure 3. Low Time Pulse Measurement Input Mode

For this example, the FIFO Word Count register will be set to 3 and the FIFO Buffer Data register will contain the following three values (counts of 10 µs):

  1. 2000 (0x0000 07D0)
  2. 500 (0x0000 01F4)
  3. 1500 (0x0000 05DC)
Time IntervalCalculationsLow Time Pulse Measurements
12000 counts * 10 µsec = 2000 µsec = 20.0 msec20.0 msec
2500 counts * 10 µsec = 5000 µsec = 5.0 msec5.0 msec
31500 counts * 10 µsec = 15000 µsec = 15.0 msec15.0 msec

Transition Timestamps

There are three Transition Timestamp Measurements features available - Transition Timestamp for All Rising Edges, Transition Timestamp for All Falling Edges, and Transition Timestamp for All Edges. The Transition Timestamps Measurement data are store in the FIFO Buffer.

Transition Timestamp of All Rising Edges

In this mode, the data in the FIFO buffer is the Rising Edge Timestamp. The timestamp is a 32-bit counter that is incremented at the rate of 100 kHz (in other words, counter is incremented every 10 µsec). The timestamp is can be reset by the application at any time.

Figure 4. Transition Timestamp of All Rising Edges Input Mode

For this example, the FIFO Word Count register will be set to 4 and the FIFO Buffer Data register will contain the following four values (counts of 10 µs):

  1. 1000 (0x0000 03E8)
  2. 4500 (0x0000 1194)
  3. 7500 (0x0000 1D4C)
  4. 10000 (0x000 2710)

This data can be interpreted as follows:

Time IntervalCalculationsTime Between Rising Edges
1 to 24500 counts * 10 µsec = 35000 µsec = 35.0 msec35.0 msec
2 to 37500 counts * 10 µsec = 30000 µsec = 30.0 msec30.0 msec
3 to 410000 counts * 10 µsec = 25000 µsec = 25.0 msec25.0 msec
Transition Timestamp of All Falling Edges

In this mode, the data in the FIFO buffer is the Falling Edge Timestamp. The timestamp is a 32-bit counter that is incremented at the rate of 100 kHz (in other words, counter is incremented every 10 µsec). The timestamp is can be reset by the application at any time.

Figure 5. Transition Timestamp of All Falling Edges Input Mode

For this example, the FIFO Word Count register will be set to 3 and the FIFO Buffer Data register will contain the following three values (counts of 10 µs):

  1. 2500 (0x0000 09C4)
  2. 7000 (0x0000 1B58)
  3. 8500 (0x0000 2134)

This data can be interpreted as follows:

Time IntervalCalculationsTime Between Falling Edges
1 to 27000 - 2500 = 4500 counts = 4500 * 10 µsec = 45000 µsec = 45.0 msec45.0 msec
2 to 38500 - 7000 = 1500 counts = 1500 * 10 µsec = 15000 µsec = 15.0 msec15.0 msec
Transition Timestamp of All Edges

In this mode, the data in the FIFO buffer is the Rising and Falling Edge Timestamp. The timestamp is a 32-bit counter that is incremented at the rate of 100 kHz (in other words, counter is incremented every 10 µsec). The timestamp is can be reset by the application at any time.

Figure 6. Transition Timestamp for All Edges Input Mode

For this example, the FIFO Word Count register will be set to 7 and the FIFO Buffer Data register will contain the following seven values (counts of 10 µs):

  1. 1000 (0x0000 03E8)
  2. 2500 (0x0000 09C4)
  3. 4500 (0x0000 1194)
  4. 7000 (0x0000 1B58)
  5. 7500 (0x0000 1D4C)
  6. 8500 (0x0000 2134)
  7. 10000 (0x000 2710)

This data can be interpreted as follows:

Time IntervalCalculationsTime Between Edges
1 to 22500 - 1000 = 1500 counts = 1500 * 10 µsec = 15000 µsec = 15.0 msec15.0 msec
2 to 34500 - 2500 = 2000 counts = 2000 * 10 µsec = 20000 µsec = 20.0 msec20.0 msec
3 to 47000 - 4500 = 2500 counts = 2500 * 10 µsec = 25000 µsec = 25.0 msec25.0 msec
4 to 57500 - 7000 = 500 counts = 500 * 10 µsec = 5000 µsec = 5.0 msec5.0 msec
5 to 68500 - 7500 = 1000 counts = 1000 * 10 µsec = 10000 µsec = 10.0 msec10.0 msec
6 to 710000 - 8500 = 1500 counts = 1500 * 10 µsec = 15000 µsec = 15.0 msec15.0 msec

Transition Counter

There are three Transition Counter features available - Rising Edge Transition Counter, Falling Edge Transition Counter and All Edge Transition Counter.

Rising Edges Transition Counter

In this mode, the count of the number of Rising Edges is recorded. The counter is a 32-bit counter. The counter is can be reset by the application at any time.

Figure 7. Rising Edges Transition Counter Input Mode

For this example, the Transition Count register will be set to 4.

Falling Edges Transition Counter

In this mode, the count of the number of Falling Edges is recorded. The counter is a 32-bit counter. The counter is can be reset by the application at any time

Figure 8. Falling Edges Transition Counter Input Mode

For this example, the Transition Count register will be set to 3.

All Edges Transition Counter

In this mode, the count of the number of Rising and Falling Edges is recorded. The counter is a 32-bit counter. The counter is can be reset by the application at any time.

Figure 9. All Edges Transition Counter Input Mode

For this example, the Transition Count register will be set to 7.

Period Measurement

In this input mode, the data in the FIFO buffer is the measurement for each rising edge transition to the next rising edge transition. Timing measurements record the time interval (in 10 µs ticks).

Figure 10. Period Measurement Input Mode

For this example, the FIFO Word Count register will be set to 4 and the FIFO Buffer Data register will contain the following three values (counts of 10 µs):

  1. 2000 (0x0000 07D0)
  2. 2000 (0x0000 07D0)
  3. 2000 (0x0000 07D0)
  4. 2000 (0x0000 07D0)
Time IntervalCalculationsPeriod Measurements
12000 counts * 10 µsec = 20000 µsec = 20.0 msec20.0 msec
22000 counts * 10 µsec = 20000 µsec = 20.0 msec20.0 msec
32000 counts * 10 µsec = 20000 µsec = 20.0 msec20.0 msec
42000 counts * 10 µsec = 20000 µsec = 20.0 msec20.0 msec

Frequency Measurement

In this input mode, the data in the FIFO buffer is the number of rising edge transitions for the programmable time interval programmed in the Frequency Measurement Period register.

For this example, set the Frequency Measurement Period register = 4000 (4000 * 10 µs = 40000 µs = 40 msec)

Figure 11. Frequency Measurement Input Mode

For this example, the FIFO Word Count register will be set to 3 and the FIFO Buffer Data register will contain the following three values (number of rising edges:

  1. 2 (0x0000 0002)
  2. 2 (0x0000 0002)
  3. 2 (0x0000 0002)
Time IntervalCalculationsFrequency Measurements
12 counts/40 msec = 2 counts/0.04 seconds = 50 Hz50 Hz
22 counts/40 msec = 2 counts/0.04 seconds = 50 Hz50 Hz
32 counts/40 msec = 2 counts/0.04 seconds = 50 Hz50 Hz

Output Modes

There are three Enhanced Output Functionality modes: two PWM outputs and one Pattern Generator Output mode.

PWM Output

There are two PWM output modes, PWM Continuous and PWM Burst. The PWM timing is very precise with low jitter. In PWM Output mode, the Mode Select register is set to either “PWM Continuous or PWM Burst”. The value written to the PWM Period register specifies the period to output the PWM signal, the value written to the PWM Pulse Width register specifies the time for the “ON” state, and the value written to the PWM Output Polarity register specifies the initial edge of the output. For PWM Burst mode, the PWM Number of Cycles register specifies the number of cycles to output the signal. Note, there may be an initial “OFF” state level delay based on the Period time before the initial pulse is output.

PWM Continuous

Figure 12 and Figure 13 illustrate the PWM Continuous Output signal, one configured with PWM Output Polarity = Positive (0) and one configured with PWM Output Polarity = Negative (1). The configured PWM output is enabled and disabled with the Enable Measurements/Outputs register.

Figure 12. PWM Continuous Output (PWM Period = 15 msec, PWM Pulse Width = 10 msec, PWM Output Polarity = Positive (0))

Figure 13. PWM Continuous Output (PWM Period = 15 msec, PWM Pulse Width = 10 msec, PWM Output Polarity = Negative (1))

PWM Burst

Figure 14 and Figure 15 illustrate the PWM Burst Output signal with the PWM Number of Cycles = 5 pulses, one configured with PWM Output Polarity = Positive (0) and one configured with PWM Output Polarity = Negative (1). The configured PWM output is enabled with the Enable Measurements/Outputs register. Once the number of pulses that were requested is outputted, the value in the Enable Measurements/Outputs register will be reset (self-clearing) to allow for the output to be re-enabled.

Figure 14. PWM Burst Output (PWM Period = 15 msec, PWM Pulse Width = 10 msec, PWM Output Polarity = Positive (0), PWM Number of Cycles = 5)

Figure 15. PWM Burst Output (PWM Period = 15 msec, PWM Pulse Width = 10 msec, PWM Output Polarity = Negative (1), PWM Number of Cycles = 5)

Pattern Generator

For the Pattern Generator mode, there is 64K block of unsigned 32-bit words allocated to specify the data pattern for the output channels. The data in each 32-bit word is bit-mapped per channel. The Pattern RAM Start Address and Pattern RAM End Address registers specify the starting and ending address in the 64K block to use as the data to output for each channel configured for Pattern Generator mode. The Pattern RAM Period register specifies the pattern rate. The Pattern RAM Control and Pattern RAM Number of Cycles control the Pattern Generator output - Continuous, Burst with a specified number of cycles, Pause, or External Trigger from input from Channel 1.

Note

When any channel is configured for External Trigger Pattern Generator mode, Channel 1 MUST be set as an input.

Figure 16 illustrates the output of the 24 channels for the DT4 module all configured in Pattern Generator mode

Figure 16. Pattern Generator

REGISTER DESCRIPTIONS

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

Enhanced Input/Output Functionality Registers

The onboard Discrete I/O option provides enhanced input and output mode functionality. The Mode Select and Enable Output/Measurement registers are general control registers for the different enhanced input and output modes.

Mode Select
Function:Configures the Enhanced Functionality Modes to apply to the channel.
Type:unsigned binary word (32-bit)
Data Range:See table
Read/Write:R/W
Initialized Value:0
Operational Settings:It is important that the channel is correctly configured to either input or output in the Input/Output Format registers to correspond to the Enhanced Functionality Mode selected. Setting a 0 to this register will configure that channel to normal operation.
Mode Select Value (Decimal)Mode Select Value (Hexadecimal)Description
00x0000 0000Enhanced Functionality Disabled
Input Enhanced Functionality Mode
10x0000 0001High Time Pulse Measurements
20x0000 0002Low Time Pulse Measurements
30x0000 0003Transition Timestamp of All Rising Edges
40x0000 0004Transition Timestamp of All Falling Edges
50x0000 0005Transition Timestamp of All Edges
60x0000 0006Rising Edges Transition Counter
70x0000 0007Falling Edges Transition Counter
80x0000 0008All Edges Transition Counter
90x0000 0009Period Measurement
100x0000 000AFrequency Measurement
Output Enhanced Functionality Mode
320x0000 0020PWM Continuous
330x0000 0021PWM Burst
340x0000 0022Pattern Generator
Enable Measurements/Outputs
Function:Enables/starts the measurements or outputs based on the Mode Select for the channel.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x00FF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Setting the bit for the associated channel to a 1 will start the measurement or output depending on the Mode Select configuration for that channel. Setting the bit for the associated channel to 0 will stop the measurements/outputs.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000Ch24Ch23Ch22Ch21Ch20Ch19Ch18Ch17
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Input Mode Registers

After configuring the Mode Select register, write a 1 to the Reset Timer/Counter register resets the channel’s timestamp and counter used for input modes. Write a 1 to the Enable Measurements/Outputs register to begin the measurement of the input signal. Write a 0 to the Enable Measurements/Outputs register to stop the measurement of the input signal. The data can be read either while the measurements are being made on input signals or after stopping the measurements.

Reset Timer/Counter
Function:Resets the measurement timestamp and counter for the channel.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x00FF FFFF
Read/Write:W
Initialized Value:0
Operational Settings:Setting the bit for the associated channel to a 1 will: reset the timestamp used for the Pulse Measurements mode (1-2), Transition Timestamp mode (3-5), and Period Measurement mode (9) and Frequency Measurement mode (10) reset the counter used for Transition Counter mode (6-8)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000Ch24Ch23Ch22Ch21Ch20Ch19Ch18Ch17
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
FIFO Registers

The FIFO registers are used for the following input modes:

  • Pulse Measurements mode (1-2)
  • Transition Timestamp mode (3-5)
  • Period Measurement mode (9)
  • Frequency Measurement mode (10)
FIFO Buffer Data
Function:The data stored in the FIFO Buffer Data is dependent on the input mode.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0xFFFF FFFF
Read/Write:R
Initialized Value:N/A
Operational Settings:Refer to examples in Input Modes.
FIFO Word Count
Function:This is a counter that reports the number of 32-bit words stored in the FIFO buffer.
Type:unsigned binary word (32-bit)
Data Range:0 - 255 (0x0000 0000 to 0x0000 00FF)
Read/Write:R
Initialized Value:0
Operational Settings:Every time a read operation is made from the FIFO Buffer Data register, the value in the FIFO Word Count register will be decremented by one. The maximum number of words that can be stored in the FIFO is 255.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000DDDDDDDDD
Clear FIFO
Function:Clears FIFO by resetting the FIFO Word Count register.
Type:unsigned binary word (32-bit)
Data Range:0 or 1
Read/Write:W
Initialized Value:N/A
Operational Settings:Write a 1 to resets the Words in FIFO to zero; Clear FIFO register does not clear data in the buffer. A read to the buffer data will give “aged” data.
BitDescription
D31:D1Reserved. Set to 0
D0Set to 1 to reset the FIFO Word Count value to zero.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000000D
FIFO Status
Function:Sets the corresponding bit associated with the FIFO status type; there is a separate register for each channel.
Type:unsigned binary word (32-bit)
Data Range:See table
Read/Write:R
Initialized Value:0
BitNameDescription
D31:D4ReservedSet to 0
D3EmptySet to 1 when FIFO Word Count = 0
D2Almost EmptySet to 1 when FIFO Word Count <= 63 (25%)
D1Almost FullSet to 1 when FIFO Word Count >= 191 (75%)
D0FullSet to 1 when FIFO Word Count = 255
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000DDDD
Transition Count Registers

The Transition Count register are used for the following input modes:

  • Transition Counter mode (6-8)
Transition Count
Function:Contains the count of the transitions depending on the configuration in the Mode Select register - Rising Edges, Falling Edges or All Edges.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0xFFFF FFFF
Read/Write:R
Initialized Value:0
Operational Settings:Refer to examples in Transition Counter.
Frequency Measurement Registers

For the Frequency Measurement mode, the period to perform the frequency measurements must be specified in the Frequency Measurement Period register.

Frequency Measurement Period
Function:When the Mode Select register is programmed for Frequency Measurement mode (10), the value in the Frequency Measurement Period is used as the time interval for counting the number of rising edge transitions within that interval.
Type:unsigned binary word (32-bit)
Data Range:0x0 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the Frequency Measurement Period (LSB = 10 µs). Refer to examples in Frequency Measurement.

Output Modes Registers

After configuring the Mode Select register, write a 1 to the Enable Measurements/Outputs register to outputting the signal. Write a 0 to the Enable Measurements/Outputs register to stop the output signal.

PWM Registers

The PWM Period, PWM Pulse Width and PWM Output Polarity registers configure the PWM output signal. When the Mode Select register is configured for PWM Burst mode, the PWM Number of Cycles register is used to specify the number of cycles to repeat for the burst.

PWM Period
Function:When the Mode Select register is programmed for PWM Continuous or PWM Burst mode (32-33), the value in the PWM Period is used as the time interval for outputting the PWM signal.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0001 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the PWM Period (LSB = 10 µs). The PWM Period must be greater than the value set in the PWM Pulse Width register. Refer to examples in PWM Output.
PWM Pulse Width
Function:When the Mode Select register is programmed for PWM Continuous or PWM Burst mode (32-33), the value in the PWM Pulse Width is used as the time interval of the “ON” state for outputting the PWM signal.
Type:unsigned binary word (32-bit)
Data Range:0x0 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the PWM Pulse Width (LSB = 10 µs). The PWM Pulse Width must be less than the value set in the PWM Pulse Width register. Refer to examples in PWM Output.
PWM Output Polarity
Function:When the Mode Select register is programmed for PWM Continuous or PWM Burst mode (32-33), the value in the PWM Output Polarity is used to specify whether the PWM output signal starts with a rising edge (Positive (0)), or a falling edge (Negative (1)).
Type:unsigned binary word (32-bit)
Data Range:0x0 to 0x00FF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:The PWM Output Polarity register is used to program the starting edge of the PWM Pulse Period (rising or falling). When the PWM output Polarity is set to Positive (0), the output will start with a rising edge, when it's set to Negative (1), the output will start with a falling edge. The default is Positive (0), which is set when the PWM Polarity bit is 0. Refer to examples in PWM Output.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000Ch24Ch23Ch22Ch21Ch20Ch19Ch18Ch17
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
PWM Number of Cycles
Function:When the Mode Select register is programmed for PWM Burst mode (33), the value in the PWM Number of Cycles is used to specify the number of times to repeat the PWM output signal.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0001 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the number of times to output the PWM signal. Refer to examples in PWM Output.
Pattern Generator Registers

The Pattern RAM registers are a 64K block of unsigned 32-bit words allocated to specify the data pattern for the output channels. The Pattern RAM Start Address, Pattern RAM End Address, Pattern RAM Period and Pattern RAM Control registers configure the Pattern Generator output signals. When the Pattern RAM Control register is configured for Burst, the Pattern RAM Number of Cycles specify the number of cycles to repeat the pattern for the burst.

Pattern RAM
Function:Pattern Generator Memory Block from 0x40000 to 0x7FFFC.
Type:unsigned binary word (32-bit)
Address Range:0x0000 0000 to 0x00FF FFFF
Read/Write: R/W
Initialized Value:0
Operational Settings:64K block of unsigned 32-bit words. The data in each 32-bit word is bit-mapped per channel.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000Ch24Ch23Ch22Ch21Ch20Ch19Ch18Ch17
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch16Ch15Ch14Ch13Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
Pattern RAM Start Address
Function:When the Mode Select register is programmed for Pattern Generator mode (34), the Pattern RAM Start Address register specifies the starting address within the Pattern RAM block registers to use for the output.
Type:unsigned binary word (32-bit)
Data Range:0x0004 0000 to 0x0007 FFFC
Read/Write:R/W
Initialized Value:0
Operational Settings:The value in the Pattern RAM Start Address must be LESS than the value in the Pattern RAM End Address.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000DDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Pattern RAM End Address
Function:When the Mode Select register is programmed for Pattern Generator mode (34), the Pattern RAM End Address register specifies the end address within the Pattern RAM block registers to use for the output.
Type:unsigned binary word (32-bit)
Data Range:0x40000 to 0x7FFFC
Read/Write:R/W
Initialized Value:0
Operational Settings:The value in the Pattern RAM End Address must be GREATER than the value in the Pattern RAM Start Address.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000DDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Pattern RAM Period
Function:When the Mode Select register is programmed for Pattern Generator mode (34), the value in the Pattern RAM Period is used as the time interval for outputting the Pattern Generator signals.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0001 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the Pattern RAM Period (LSB = 10 µs).
Pattern RAM Control
Function:When the Mode Select register is programmed for Pattern Generator mode (34), the value in the Pattern RAM Control is used to control the outputting of the Pattern Generator signals.
Type:unsigned binary word (32-bit)
Data Range:See table
Read/Write:R/W
Initialized Value:0
Operational Settings:Configures the Pattern Generator for Continuous, Burst with a specified number of cycles, Pause, or External Trigger from input from Channel 1.

Note

When any channel is configured for External Trigger Pattern Generator mode, Channel 1 MUST be set as an input.

BitsDescription
D31-D5Reserved. Set to 0
D4Falling Edge External Trigger - Channel 1 used as the input for the trigger
D3Rising Edge External Trigger - Channel 1 used as the input for the trigger
D2Pause
D1Burst Mode - value in Pattern RAM Number of Cycles register defines number of cycles to output
D0Enable Pattern Generator
ValuesDescription
0x0000Disable Pattern Generator, Continuous Mode, No External Trigger
0x0001Enable Pattern Generator, Continuous Mode, No External Trigger
0x0002Disable Pattern Generator, Burst Mode, No External Trigger
0x0003Enable Pattern Generator, Burst Mode, No External Trigger
0x0005Enable Pattern Generator, Continuous Mode, Pause, No External Trigger
0x0007Enable Pattern Generator, Burst Mode, Pause, No External Trigger
0x0008Disable Pattern Generator, Continuous Mode, Rising External Trigger
0x0009Enable Pattern Generator, Continuous Mode, Rising External Trigger
0x000ADisable Pattern Generator, Burst Mode, Rising External Trigger
0x000BEnable Pattern Generator, Burst Mode, Rising External Trigger
0x000DEnable Pattern Generator, Continuous Mode, Pause, Rising External Trigger
0x000FEnable Pattern Generator, Burst Mode, Pause, Rising External Trigger
0x1000Disable Pattern Generator, Continuous Mode, Falling External Trigger
0x1001Enable Pattern Generator, Continuous Mode, Falling External Trigger
0x1002Disable Pattern Generator, Burst Mode, Falling External Trigger
0x1003Enable Pattern Generator, Burst Mode, Falling External Trigger
0x1005Enable Pattern Generator, Continuous Mode, Pause, Falling External Trigger
0x1007Enable Pattern Generator, Burst Mode, Pause, Falling External Trigger
0x0004, 0x0006, 0x000C, 0x000E, 0x1004, 0x1006, 0x1008-0x100FInvalid
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000DDDD
Pattern RAM Number of Cycles
Function:When the Mode Select register is programmed for Pattern Generator mode (34) and the Pattern RAM Control register is set for Burst mode, the value in the Pattern RAM Number of Cycles is used to specify the number of times to repeat the pattern output signal.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0001 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Set the number of times to output the pattern.

FUNCTION REGISTER MAP

Key:

Configuration/Control
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’).

MODE SELECT REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x300CMode Select Ch 1R/W
0x308CMode Select Ch 2R/W
0x310CMode Select Ch 3R/W
0x318CMode Select Ch 4R/W
0x320CMode Select Ch 5R/W
0x328CMode Select Ch 6R/W
0x330CMode Select Ch 7R/W
0x338CMode Select Ch 8R/W
0x340CMode Select Ch 9R/W
0x348CMode Select Ch 10R/W
0x350CMode Select Ch 11R/W
0x358CMode Select Ch 12R/W
0x360CMode Select Ch 13R/W
0x368CMode Select Ch 14R/W
0x370CMode Select Ch 15R/W
0x378CMode Select Ch 16R/W
0x380CMode Select Ch 17R/W
0x388CMode Select Ch 18R/W
0x390CMode Select Ch 19R/W
0x398CMode Select Ch 20R/W
0x3A0CMode Select Ch 21R/W
0x3A8CMode Select Ch 22R/W
0x3B0CMode Select Ch 23R/W
0x3B8CMode Select Ch 24R/W
0x2000Enable Measurements/OutputsR/W
INPUT MODES REGISTER
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x2004Reset Timer/CounterW
FIFO REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x3000FIFO Buffer Data Ch 1R0x3004FIFO Word Count Ch 1R
0x3080FIFO Buffer Data Ch 2R0x3084FIFO Word Count Ch 2R
0x3100FIFO Buffer Data Ch 3R0x3104FIFO Word Count Ch 3R
0x3180FIFO Buffer Data Ch 4R0x3184FIFO Word Count Ch 4R
0x3200FIFO Buffer Data Ch 5R0x3204FIFO Word Count Ch 5R
0x3280FIFO Buffer Data Ch 6R0x3284FIFO Word Count Ch 6R
0x3300FIFO Buffer Data Ch 7R0x3304FIFO Word Count Ch 7R
0x3380FIFO Buffer Data Ch 8R0x3384FIFO Word Count Ch 8R
0x3400FIFO Buffer Data Ch 9R0x3404FIFO Word Count Ch 9R
0x3480FIFO Buffer Data Ch 10R0x3484FIFO Word Count Ch 10R
0x3500FIFO Buffer Data Ch 11R0x3504FIFO Word Count Ch 11R
0x3580FIFO Buffer Data Ch 12R0x3584FIFO Word Count Ch 12R
0x3600FIFO Buffer Data Ch 13R0x3604FIFO Word Count Ch 13R
0x3680FIFO Buffer Data Ch 14R0x3684FIFO Word Count Ch 14R
0x3700FIFO Buffer Data Ch 15R0x3704FIFO Word Count Ch 15R
0x3780FIFO Buffer Data Ch 16R0x3784FIFO Word Count Ch 16R
0x3800FIFO Buffer Data Ch 17R0x3804FIFO Word Count Ch 17R
0x3880FIFO Buffer Data Ch 18R0x3884FIFO Word Count Ch 18R
0x3900FIFO Buffer Data Ch 19R0x3904FIFO Word Count Ch 19R
0x3980FIFO Buffer Data Ch 20R0x3984FIFO Word Count Ch 20R
0x3A00FIFO Buffer Data Ch 21R0x3A04FIFO Word Count Ch 21R
0x3A80FIFO Buffer Data Ch 22R0x3A84FIFO Word Count Ch 22R
0x3B00FIFO Buffer Data Ch 23R0x3B04FIFO Word Count Ch 23R
0x3B80FIFO Buffer Data Ch 24R0x3B84FIFO Word Count Ch 24R
0x3008FIFO Status Ch 1R
0x3088FIFO Status Ch 2R
0x3108FIFO Status Ch 3R
0x3188FIFO Status Ch 4R
0x3208FIFO Status Ch 5R
0x3288FIFO Status Ch 6R
0x3308FIFO Status Ch 7R
0x3388FIFO Status Ch 8R
0x3408FIFO Status Ch 9R
0x3488FIFO Status Ch 10R
0x3508FIFO Status Ch 11R
0x3588FIFO Status Ch 12R
0x3608FIFO Status Ch 13R
0x3688FIFO Status Ch 14R
0x3708FIFO Status Ch 15R
0x3788FIFO Status Ch 16R
0x3808FIFO Status Ch 17R
0x3888FIFO Status Ch 18R
0x3908FIFO Status Ch 19R
0x3988FIFO Status Ch 20R
0x3A08FIFO Status Ch 21R
0x3A88FIFO Status Ch 22R
0x3B08FIFO Status Ch 23R
0x3B88FIFO Status Ch 24R
0x2008Reset FIFOW
TRANSITION COUNT REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x3000Transition Count Ch 1R
0x3080Transition Count Ch 2R
0x3100Transition Count Ch 3R
0x3180Transition Count Ch 4R
0x3200Transition Count Ch 5R
0x3280Transition Count Ch 6R
0x3300Transition Count Ch 7R
0x3380Transition Count Ch 8R
0x3400Transition Count Ch 9R
0x3480Transition Count Ch 10R
0x3500Transition Count Ch 11R
0x3580Transition Count Ch 12R
0x3600Transition Count Ch 13R
0x3680Transition Count Ch 14R
0x3700Transition Count Ch 15R
0x3780Transition Count Ch 16R
0x3800Transition Count Ch 17R
0x3880Transition Count Ch 18R
0x3900Transition Count Ch 19R
0x3980Transition Count Ch 20R
0x3A00Transition Count Ch 21R
0x3A80Transition Count Ch 22R
0x3B00Transition Count Ch 23R
0x3B80Transition Count Ch 24R
FREQUENCY MEASUREMENT REGISTERS
NOTE: Base Address - 0x9010 C000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x3014Frequency Measurement Period Ch 1R/W
0x3094Frequency Measurement Period Ch 2R/W
0x3114Frequency Measurement Period Ch 3R/W
0x3194Frequency Measurement Period Ch 4R/W
0x3214Frequency Measurement Period Ch 5R/W
0x3294Frequency Measurement Period Ch 6R/W
0x3314Frequency Measurement Period Ch 7R/W
0x3394Frequency Measurement Period Ch 8R/W
0x3414Frequency Measurement Period Ch 9R/W
0x3494Frequency Measurement Period Ch 10R/W
0x3514Frequency Measurement Period Ch 11R/W
0x3594Frequency Measurement Period Ch 12R/W
0x3614Frequency Measurement Period Ch 13R/W
0x3694Frequency Measurement Period Ch 14R/W
0x3714Frequency Measurement Period Ch 15R/W
0x3794Frequency Measurement Period Ch 16R/W
0x3814Frequency Measurement Period Ch 17R/W
0x3894Frequency Measurement Period Ch 18R/W
0x3914Frequency Measurement Period Ch 19R/W
0x3994Frequency Measurement Period Ch 20R/W
0x3A14Frequency Measurement Period Ch 21R/W
0x3A94Frequency Measurement Period Ch 22R/W
0x3B14Frequency Measurement Period Ch 23R/W
0x3B94Frequency Measurement Period Ch 24R/W
PWM REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x3014PWM Period Ch 1R/W0x3010PWM Pulse Width Ch 1R/W
0x3094PWM Period Ch 2R/W0x3090PWM Pulse Width Ch 2R/W
0x3114PWM Period Ch 3R/W0x3110PWM Pulse Width Ch 3R/W
0x3194PWM Period Ch 4R/W0x3190PWM Pulse Width Ch 4R/W
0x3214PWM Period Ch 5R/W0x3210PWM Pulse Width Ch 5R/W
0x3294PWM Period Ch 6R/W0x3290PWM Pulse Width Ch 6R/W
0x3314PWM Period Ch 7R/W0x3310PWM Pulse Width Ch 7R/W
0x3394PWM Period Ch 8R/W0x3390PWM Pulse Width Ch 8R/W
0x3414PWM Period Ch 9R/W0x3410PWM Pulse Width Ch 9R/W
0x3494PWM Period Ch 10R/W0x3490PWM Pulse Width Ch 10R/W
0x3514PWM Period Ch 11R/W0x3510PWM Pulse Width Ch 11R/W
0x3594PWM Period Ch 12R/W0x3590PWM Pulse Width Ch 12R/W
0x3614PWM Period Ch 13R/W0x3610PWM Pulse Width Ch 13R/W
0x3694PWM Period Ch 14R/W0x3690PWM Pulse Width Ch 14R/W
0x3714PWM Period Ch 15R/W0x3710PWM Pulse Width Ch 15R/W
0x3794PWM Period Ch 16R/W0x3790PWM Pulse Width Ch 16R/W
0x3814PWM Period Ch 17R/W0x3810PWM Pulse Width Ch 17R/W
0x3894PWM Period Ch 18R/W0x3890PWM Pulse Width Ch 18R/W
0x3914PWM Period Ch 19R/W0x3910PWM Pulse Width Ch 19R/W
0x3994PWM Period Ch 20R/W0x3990PWM Pulse Width Ch 20R/W
0x3A14PWM Period Ch 21R/W0x3A10PWM Pulse Width Ch 21R/W
0x3A94PWM Period Ch 22R/W0x3A90PWM Pulse Width Ch 22R/W
0x3B14PWM Period Ch 23R/W0x3B10PWM Pulse Width Ch 23R/W
0x3B94PWM Period Ch 24R/W0x3B90PWM Pulse Width Ch 24R/W
0x3018PWM Number of Cycles Ch 1R/W
0x3098PWM Number of Cycles Ch 2R/W
0x3118PWM Number of Cycles Ch 3R/W
0x3198PWM Number of Cycles Ch 4R/W
0x3218PWM Number of Cycles Ch 5R/W
0x3298PWM Number of Cycles Ch 6R/W
0x3318PWM Number of Cycles Ch 7R/W
0x3398PWM Number of Cycles Ch 8R/W
0x3418PWM Number of Cycles Ch 9R/W
0x3498PWM Number of Cycles Ch 10R/W
0x3518PWM Number of Cycles Ch 11R/W
0x3598PWM Number of Cycles Ch 12R/W
0x3618PWM Number of Cycles Ch 13R/W
0x3698PWM Number of Cycles Ch 14R/W
0x3718PWM Number of Cycles Ch 15R/W
0x3798PWM Number of Cycles Ch 16R/W
0x3818PWM Number of Cycles Ch 17R/W
0x3898PWM Number of Cycles Ch 18R/W
0x3918PWM Number of Cycles Ch 19R/W
0x3998PWM Number of Cycles Ch 20R/W
0x3A18PWM Number of Cycles Ch 21R/W
0x3A98PWM Number of Cycles Ch 22R/W
0x3B18PWM Number of Cycles Ch 23R/W
0x3B98PWM Number of Cycles Ch 24R/W
0x200CPWM Output PolarityR/W
PATTERN GENERATOR REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0004_0000 to 0x0007_FFFCPattern RAMR/W
0x2010Pattern RAM PeriodR/W0x2014Pattern RAM Start AddressR/W
0x2018Pattern RAM End AddressR/W0x201CPattern RAM ControlR/W
0x2020Pattern RAM Number of CyclesR/W

REVISION HISTORY

Module Manual - Enhanced IO Functionality Revision History
RevisionRevision DateDescription
C2021-11-30C08896; Transition manual to docbuilder format - no technical info change.

DOCS.NAII REVISIONS

Revision DateDescription
2026-03-02Formatting updates to document; no technical changes.
Link to original

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 edge-triggered 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.

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

No Clearing of Latched StatusClearing of Latched Status (Edge-Triggered)Clearing of Latched Status(Level-Triggered)
TimeDynamic StatusLatched StatusActionLatched StatusActionLatched
T00x00x0Read Latched Register0x0Read Latched Register0x0
T10x10x1Read Latched Register0x10x1
T10x10x1Write 0x1 to Latched RegisterWrite 0x1 to Latched Register
T10x10x10x00x1
T20x00x1Read Latched Register0x0Read Latched Register0x1
T20x00x1Read Latched Register0x0Write 0x1 to Latched Register
T20x00x1Read Latched Register0x00x0
T30x20x3Read Latched Register0x2Read Latched Register0x2
T30x20x3Write 0x2 to Latched RegisterWrite 0x2 to Latched Register
T30x20x30x00x2
T40x20x3Read Latched Register0x1Read Latched Register0x3
T40x20x3Write 0x1 to Latched RegisterWrite 0x3 to Latched Register
T40x20x30x00x2
T50xC0xFRead Latched Register0xCRead Latched Register0xE
T50xC0xFWrite 0xC to Latched RegisterWrite 0xE to Latched Register
T50xC0xF0x00xC
T60xC0xFRead Latched Register0x0Read Latched0xC
T60xC0xFRead Latched Register0x0Write 0xC to Latched Register
T60xC0xFRead Latched Register0x00xC
T70x40xFRead Latched Register0x0Read Latched Register0xC
T70x40xFRead Latched Register0x0Write 0xC to Latched Register
T70x40xFRead Latched Register0x00x4
T80x40xFRead Latched Register0x0Read Latched Register0x4

Interrupt Examples

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

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

TimeLatched Status (Edge-Triggered - Clear Multi-Channel)Latched Status (Edge-Triggered - Clear Single Channel) 2+Latched Status (Level-Triggered - Clear Multi-Channel)Action
LatchedActionLatchedActionLatchedT1 (Int 1)
Interrupt Generated++``+
Read Latched Registers
0x1Interrupt Generated++``+
Read Latched Registers
0x1Interrupt Generated++``+
Read Latched Registers
0x1T1 (Int 1)
Write 0x1 to Latched RegisterWrite 0x1 to Latched RegisterWrite 0x1 to Latched RegisterT1 (Int 1)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear until T2.
0x1T3 (Int 2)
Interrupt Generated++``+
Read Latched Registers
0x2Interrupt Generated++``+
Read Latched Registers
0x2Interrupt Generated++``+
Read Latched Registers
0x2T3 (Int 2)
Write 0x2 to Latched RegisterWrite 0x2 to Latched RegisterWrite 0x2 to Latched RegisterT3 (Int 2)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear until T7.
0x2T4 (Int 3)
Interrupt Generated++``+
Read Latched Registers
0x1Interrupt Generated++``+
Read Latched Registers
0x1Interrupt Generated++``+
Read Latched Registers
0x3T4 (Int 3)
Write 0x1 to Latched RegisterWrite 0x1 to Latched RegisterWrite 0x3 to Latched RegisterT4 (Int 3)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear and 0x3 is reported in Latched Register until T5.
0x3T4 (Int 3)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear until T7.
0x2T6 (Int 4)
Interrupt Generated++``+
Read Latched Registers
0xCInterrupt Generated++``+
Read Latched Registers
0xCInterrupt Generated++``+
Read Latched Registers
0xET6 (Int 4)
Write 0xC to Latched RegisterWrite 0x4 to Latched RegisterWrite 0xE to Latched RegisterT6 (Int 4)
0x0Interrupt re-triggers++``+
Write 0x8 to Latched Register
0x8Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear and 0xE is reported in Latched Register until T7.
0xET6 (Int 4)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear and 0xC is reported in Latched Register until T8.
0xCT6 (Int 4)
0x00x0Interrupt re-triggers++``+
Note, interrupt re-triggers after each clear and 0x4 is reported in Latched Register always.
0x4

REVISION HISTORY

Motherboard Manual - Status and Interrupts Revision History
RevisionRevision DateDescription
C2021-11-30C08896; Transition manual to docbuilder format - no technical info change.

DOCS.NAII REVISIONS

Revision DateDescription
2026-03-02Formatting updates to document; no technical changes.
Link to original

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.

Figure 1. User Watchdog Timer Overview

Figure 2. User Watchdog Timer Example

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:Writes the window value (in microseconds) to be used 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.

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
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)StatusDescription
D31User Watchdog Timer Fault Status0 = No Fault + 1 = User Watchdog Timer Fault
D30:D0Reserved for Inter-FPGA Failure StatusChannel bit-mapped indicating channel inter FPGA communication failure detection.

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 VME1
Direct Interrupt to ARM Processor (via SerDes)
(Custom App on ARM or NAI Ethernet Listener App)
2
Direct Interrupt to PCIe Bus5
Direct Interrupt to cPCI Bus6

Function Register Map

KEY

Configuration/Control
Measurement/Status
USER WATCHDOG TIMER REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x01C0UWDT Quiet TimeR/W
0x01C4UWDT WindowR/W
0x01C8UWDT StrobeR/W
STATUS REGISTERS
*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”).
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x09B0Dynamic StatusR
0x09B4Latched Status*R/W
0x09B8Interrupt EnableR/W
0x09BCSet Edge/Level InterruptR/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.
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x056CModule 1 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x066CModule 1 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W
0x076CModule 2 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x086CModule 2 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W
0x096CModule 3 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x0A6CModule 3 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W
0x0B6CModule 4 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x0C6CModule 4 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W
0x0D6CModule 5 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x0E6CModule 5 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W
0x0F6CModule 6 Interrupt Vector 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W0x106CModule 6 Interrupt Steering 28 - User Watchdog Timer Fault/Inter-FPGA FailureR/W

REVISION HISTORY

Motherboard Manual - Status and Interrupts Revision History
RevisionRevision DateDescription
C2021-11-30C08896; Transition manual to docbuilder format - no technical info change.

DOCS.NAII REVISIONS

Revision DateDescription
2026-03-02Formatting updates to document; no technical changes.
Link to original

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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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:
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
day (5-bits)month (4-bits)year (6-bits)hr
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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

Note

little-endian order of ASCII values

Word 1 (Ex. 0x2079614D)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Space (0x20)Month ('y' - 0x79)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Month ('a' - 0x61)Month ('M' - 0x4D)
Word 2 (Ex. 0x32203731)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Year ('2' - 0x32)Space (0x20)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Day ('7' - 0x37)Day ('1' - 0x31)
Word 3 (Ex. 0x20393130)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Space (0x20)Year ('9' - 0x39)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Year ('1' - 0x31)Year ('0' - 0x30)
Word 4 (Ex. 0x31207461)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Hour ('1' - 0x31)Space (0x20)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
'a' (0x74)'t' (0x61)
Word 5 (Ex. 0x38333A35)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Minute ('8' - 0x38)Minute ('3' - 0x33)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
':' (0x3A)Hour ('5' - 0x35)
Word 6 (Ex. 0x0032333A)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
NULL (0x00)Seconds ('2' - 0x32)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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

Note

little-endian order of ASCII values

Word 1 (Ex. 0x2079614D)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Space (0x20)Month ('y' - 0x79)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Month ('a' - 0x61)Month ('M' - 0x4D)
Word 2 (Ex. 0x32203731)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Year ('2' - 0x32)Space (0x20)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Day ('7' - 0x37)Day ('1' - 0x31)
Word 3 (Ex. 0x20393130)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Space (0x20)Year ('9' - 0x39)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Year ('1' - 0x31)Year ('0' - 0x30)
Word 4 (Ex. 0x31207461)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Hour ('1' - 0x31)Space (0x20)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
'a' (0x74)'t' (0x61)
Word 5 (Ex. 0x38333A35)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Minute ('8' - 0x38)Minute ('3' - 0x33)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
':' (0x3A)Hour ('5' - 0x35)
Word 6 (Ex. 0x0032333A)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
NULL (0x00)Seconds ('2' - 0x32)
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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 0107
Operational Settings:A “1” in the bit associated with the capability indicates that it is supported.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000Flt-Pt00000PackFIFO BlkBlk
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Major Revision Number
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
PCB TemperatureZynq 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
00000000PCB 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
PCB TemperatureZynq 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
PCB TemperatureZynq 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
00000000PCB 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
00000000PCB 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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Signed Integer Part of Temperature
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Signed Integer Part of Temperature
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
Signed Integer Part of Temperature
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
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.
Bit(s)Sensor
D31:D6Reserved
D5Functional Board PCB Temperature
D4Interface Board PCB Temperature
D3:D0Reserved

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.

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.
Bit(s)Description
D31:D4Reserved
D3Exceeded Upper Critical Threshold
D2Exceeded Upper Warning Threshold
D1Exceeded Lower Critical Threshold
D0Exceeded 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

Configuration/Control
Measurement/Status/Board Information
MODULE INFORMATION REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x003CFPGA RevisionR0x0074Bare Metal RevisionR
0x0030FPGA Compile TimestampR0x0080Bare Metal Compile Time (Bit 0-31)R
0x0034FPGA SerDes RevisionR0x0084Bare Metal Compile Time (Bit 32-63)R
0x0038FPGA Template RevisionR0x0088Bare Metal Compile Time (Bit 64-95)R
0x0040FPGA Zynq Block RevisionR0x008CBare Metal Compile Time (Bit 96-127)R
0x0090Bare Metal Compile Time (Bit 128-159)R
0x0094Bare Metal Compile Time (Bit 160-191)R
0x007CFSBL RevisionR
0x00B0FSBL Compile Time (Bit 0-31)R
0x00B4FSBL Compile Time (Bit 32-63)R
0x00B8FSBL Compile Time (Bit 64-95)R
0x00BCFSBL Compile Time (Bit 96-127)R
0x00C0FSBL Compile Time (Bit 128-159)R
0x00C4FSBL Compile Time (Bit 160-191)R
0x0000Interface Board Serial Number (Bit 0-31)R0x0010Functional Board Serial Number (Bit 0-31)R
0x0034Interface Board Serial Number (Bit 32-63)R0x0014Functional Board Serial Number (Bit 32-63)R
0x0008Interface Board Serial Number (Bit 64-95)R0x0018Functional Board Serial Number (Bit 64-95)R
0x000CInterface Board Serial Number (Bit 96-127)R0x001CFunctional Board Serial Number (Bit 96-127)R
0x0070Module CapabilityR
0x01FCModule Memory Map RevisionR
MODULE MEASUREMENTS REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0200Interface Board PCB/Zynq Current TempR0x0208Functional Board PCB Current TempR
0x0218Interface Board PCB/Zynq Max TempR0x0228Functional Board PCB Max TempR
0x0220Interface Board PCB/Zynq Min TempR0x0230Functional Board PCB Min TempR
0x02C0Higher Precision Zynq Core TemperatureR
0x02C4Higher Precision Interface PCB TemperatureR
0x02E0Higher Precision Functional PCB TemperatureR
MODULE HEALTH MONITORING REGISTERS
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x07F8Module Sensor Summary StatusR
![](/_shared/images/Module_Sensor_Registers_Memory_Map.png)

REVISION HISTORY

Motherboard Manual - Module Common Registers Revision History
RevisionRevision DateDescription
C2023-08-11ECO C10649, initial release of module common registers manual.
C12024-05-15ECO C11522, removed Zynq Core/Aux/DDR Voltage register descriptions from Module Measurement Registers. Pg.16, updated Module Sensor Summary Status register to add PS references; updated Bit Table to change voltage/current bits to 'reserved'. Pg.16, updated Module/Power Supply Sensor Registers description to better describe register functionality and to add figure. Pg.17, added 'Exceeded' to threshold bit descriptions. Pg.17-18, removed voltage/current references from sensor descriptions. Pg.20, removed Zynq Core/Aux/DDR Voltage register offsets from Module Measurement Registers. Pg.20, updated Module Health Monitoring Registers offset tables.
C22024-07-10ECO C11701, pg.16, updated Module Sensor Summary Status register to remove PS references;updated Bit Table to change PS temperature bits to 'reserved'. Pg.16, updated Module SensorRegisters description to remove PS references. Pg.20, updated Module Health MonitoringRegisters offset tables to remove PS temperature register offsets.

DOCS.NAII REVISIONS

Revision DateDescription
2025-11-05Corrected register offsets for Interface Board Min Temp and Function Board Min & Max Temps.
2026-03-02Formatting updates to document; no technical changes.
Link to original

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:

Documentation

https://www.docs.naii.com

FAQ

http://www.naii.com/faqs

Application Notes

http://www.naii.com/applicationnotes

Calibration and Repairs

http://www.naii.com/calibrationrepairs

Call Us

(631) 567-1100

Link to original