INTRODUCTION

As a leading manufacturer of smart function modules, NAI offers over 100 different modules that cover a wide range of I/O, measurements and simulation, communications, Ethernet switch, and SBC functions. Our CM4 combination module offers users the functionality of two COSA® smart function modules in one physical module. Based on NAI’s SC3 and DT4 modules, the CM4 module provides four Serial Comms RS232/422/485 and twelve Discrete I/O channels in a single smart function module. This user manual is designed to help you get the most out of our CM4 smart function module.

For a brief description of the module and complete list of specifications, click here for the CM4 data sheet.

CM4 Overview

NAI’s CM4 module offers a range of features designed to suit a variety of system requirements, including:

Discrete I/O (DT4 Module-Type) Features

12 Channels of Programmable Discrete Input/Output: The DT4 function features 12 channels programmable for either discrete input or output that provide the following:

  • Input - voltage or contact sensing with programmable, pull-up/pull-down current sources, eliminating the need for external resistors or mechanical jumpers.
  • Output - programmable current source (high-side), sink (low-side) or push-pull switching up to 500 mA per channel from an applied 3- 60V external VCC source (or sink to ISO-GND).

Current Sharing: The DT4 function enables current sharing* by connecting multiple outputs in parallel, capable of sinking or sourcing up to 2A per bank, enhancing your system’s capacity and reliability.

(*) Current Share: The maximum output load per-channel is ±0.5A. Channels can be connected and operated in parallel to provide > 0.5A to act as a single channel. The load current between paralleled channels cannot be effectively characterized and is not expected to be equal due to factors including:

Channel/bank position, module position, motherboard/system platform configuration, operating temperature range including external application/configuration influences (e.g., external cabling).

Therefore, when operating in shared current (parallel channel) configuration, it is recommended to de-rate the per-channel maximum current output to at least 66% (or 333 mA/channel) to ensure that no single channel is overburdened by handling most of the load current.

For example: If the maximum continuous load current is expected to be 1A: 1/0.33 ≅ 3 channels (minimum).

Inrush Current Handling: The DT4 function can efficiently handle high inrush current loads, such as connecting two #327 incandescent lamps in parallel, without compromising performance.

Dual Turn-On Application Support: The DT4 function supports ‘dual turn-on’ applications, such as dual series ‘key’ missile launch control, providing seamless control in critical operations.

Debounce Circuitry: Programmable debounce circuitry with selectable time delay eliminates false signals caused by relay contact bounce, ensuring accurate data acquisition.

Background Built-In-Test (BIT): All channels have continuous background Built-In-Test (BIT), which provides real-time channel health to ensure reliable operation in mission-critical systems. This feature runs in the background and is transparent in normal operations.

Input Diagnostics: The DT4 function can sense broken input connections and detect if inputs are shorted to +V or ground, allowing for early detection and troubleshooting.

Voltage and Current Readings: The DT4 function offers the ability to read I/O voltage and output current, facilitating improved diagnostics and load status identification (indicates if load is connected).

Enhanced Functionality Features: The DT4 function 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.

Serial Communications (SC3 Module-Type) Features

Four Communication Channels: The SC3 function offers four high-speed, programmable communication channels supporting RS232, RS-422, and RS-485 protocols. These channels can be configured as four asynchronous (async)/GPIO channels, two asynchronous channels w/Flow Control (RTS/CTS) or two synchronous (sync) channels. In Sync Mode, the module can set up clock signals (clk) on the companion pair channels (CH1-CH2 clk companion channels are CH3-CH4)

General Purpose Input/Output (GPIO): The SC3 function includes General Purpose Input/Output (GPIO) functionality, enhancing its versatility.

Data Transfer Efficiency: For asynchronous communications, data transfers occur within just two baud clocks, ensuring rapid data exchange. Synchronous communications achieve efficient data transfers in as little as 15 baud clocks.

Digital Noise Filtering: The SC3 function features digital noise filtering on receivers, enhancing signal quality and reliability.

Receiver Control: Users can selectively enable or disable specific receivers, providing fine-grained control over the communication channels.

Interrupt-Driven Operation: The SC3 function can operate in an Interrupt-Driven environment, delivering notifications of all events to the system. When flow control mode is selected, the module handles operations automatically with minimal system intervention, streamlining the communication process.

Buffer Capacity: The module boasts 1MBx16 receive and transmit buffers, ensuring ample storage for data transfer.

Built-in Test: The SC3 function comes with a built-in test feature, simplifying diagnostics and maintenance.

Discrete Input/Output Function

Principle of Operation

The Discrete Input/Output communications function provides up to 12 individual digital I/O channels with BIT fault detection (DT4 module-type), which enables flagging of non-compliant outputs or inconsistent input readings between dual input measurements.

When channels are programmed as inputs, they can be used for either voltage or contact sensing. Channels set for contact sensing (e.g. sensing a relay contact position; OPEN-CLOSED) can be configured with a programmable “pull-up” or “pull-down” (current source or sink) which effectively provides the proper voltage level change to sense the open state of the contact. This unique design eliminates the need for external resistors or mechanical jumpers. Instead, this design offers a current source/sink (in banks of 6 channels) that the user programs to a desired current (0-5 mA) level.

When programmed as outputs, each channel can be set for high-side (current-source), low-side (current-sink) or push-pull (current-source-sink) operation. The load impedance determines the delivered switched output current drive - up to 500 mA per channel. Diode clamping is provided (useful for inductive loads, such as relays) and thermal protection.

Overcurrent protection is implemented using current sensing technology. When the current exceeds a programmed threshold of 650 mA steady-state, or a higher short duration, the overcurrent/short-circuit protection is triggered, shutting down the output drivers for safety. The overcurrent fault status will be indicated for the affected channels and will require a reset operation to restore output. To reset this condition, a reset command needs to be issued to the Overcurrent Reset register, which will restore drive output and allow the latched status to be reset. This is separate from the reset for the Overcurrent Interrupt Enable register on this module. It is recommended that a reset command is done whenever status is cleared to avoid a non-apparent output reset condition.

The 12 channels are configured as 2 banks of 6 channels. Each bank is provided with a separate external input VCC and a ground return (GND) pin. The GND pins are common within the module but are isolated from system (power) GND.

Operational requirements/assumptions:

  • An external source VCC supply must be wired for proper:
    • Output operation as a current source
    • Input operation when requiring a programmed pull-up current (i.e. programmed “pull-up” for input contact sense; OPEN/GND detect/state change).
  • An external source Ground/Return must be wired for all I/O configurations. The Ground/Return must be the input signal or the load current sink ground/reference.
Input/Output Interface

Each channel can be configured as an input or one of three types of outputs.

Output

When configured as an output, the interface can act as a “High-Side”, “Low-Side” or “Push-Pull” drive, providing up to 500 mA per channel or 1 A when two channels are connected in parallel. The total output per module is 8 A (2 A per bank).

Note

Maximum source current ‘rules’ for rear I/O connectors still apply - see specifications.

Input

When configured as an input, output drivers are disabled. The I/O interface can act as a constant current source, current sink or voltage sensing circuit. For contact sensing, each channel may be set for pull-up or pull-down using the Select Pull Up or Pull Down register and by entering the appropriate current level in the Pull-Up/Down Current register. Contact closure and hysteresis may be defined using the Upper Voltage and Lower Voltage Threshold registers. No additional resistors or hardware are required to provide for current flow. A current value of zero disables the current source/sink circuits and configures the module for voltage sensing. Default is voltage sensing. Level or contact sensing can be mixed within a channel bank if the contact sensing channels are externally pulled up or pulled down.

Note

If this module supplies the current for the contact sensing, then level and contact sensing cannot be mixed within a channel bank. All four threshold levels must be programmed in monotonic, increasing order of: Minimum Low, Lower, Upper and Maximum High. For input and output, threshold levels define logic state. For output, threshold levels are used in BIT test (wrap-around) signal monitoring. A pair of drive FETs and current circuits are provided at each I/O pin. See the functional representation of the drivers in the I/O Circuits interface diagram below.

Input/Output Circuits

Discrete I/O Threshold Programming

Four threshold levels: Max High Voltage Threshold, Upper Voltage Threshold, Lower Voltage Threshold, and Min Low Voltage 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 Voltage Threshold > Upper Voltage Threshold > Lower Voltage Threshold > Min Low Voltage Threshold

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

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

The Discrete Input/Output function supports automatic background BIT testing that verifies channel processing. The testing is totally transparent to the user, requires no external programming and has no effect on the operation of the module. This capability is accomplished by an additional test comparator that is incorporated into each module. The test comparator checks each channel and is compared against the operational channel. Depending upon the configuration, the Input data read, or Output logic written of the operational channel and test comparator must agree or a fault is indicated with the results available in the associated status register. The results of the tests are stored in the BIT Dynamic Status and BIT Latched Status registers.

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

In addition to BIT, the Discrete Input/Output function tests for overcurrent conditions and provides Above Max High Voltage, Below Min Low Voltage, and Mid-Range Voltage statuses for threshold signal transitioning.

Status and Interrupts

The Discrete Input/Output function provides registers that indicate faults or events. Refer to ‘Status and Interrupts Module Manual’ for the Principle of Operation description.

Module Common Registers

The Discrete Input/Output function 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.

Unit Conversions

The Discrete I/O Threshold and Measurement registers can be programmed to be utilized as a single precision floating point value (IEEE-754) or as a 32-bit integer value. The purpose for providing this feature is to offload the processing that is normally performed by the mission processor to convert the integer values to floating-point values.

When the Enable Floating Point Mode register is set to 1 (Floating Point Mode) the following registers are formatted as Single Precision Floating Point Value (IEEE-754):

  • Voltage Reading (Volts)
  • Current Reading (mA)
  • VCC Voltage Reading (Volts)
  • Max High Voltage Threshold (Volts)*
  • Upper Voltage Threshold (Volts)*
  • Lower Voltage Threshold (Volts)*
  • Min Low Voltage Threshold (Volts)*
  • Pull-Up/Down Current (mA)*

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

Note

when changing the Enable Floating Point Mode from Integer Mode to Floating Point Mode or vice versa, the following step should be followed to avoid faults from falsely being generated because data registers (such as Thresholds) or internal registers may have the incorrect binary representation of the values:

  1. Set the Enable Floating Point Mode register to the desired mode (Integer = 0 or Floating Point = 1).
  2. Wait for the Floating Point State register to match the value for the requested Floating Point Mode (Integer = 0, Floating Point = 1); this indicates that the module’s conversion of the register values and internal values is complete. Data registers will be converted to the units specified and can be read in that specified format.
  3. Initialize configuration and control registers with the values in the units specified (Integer or Floating Point).
User Watchdog Timer Capability

The Discrete Input/Output function provides registers that support User Watchdog Timer capability. Refer to ‘User Watchdog Timer Module Manual’ for the Principle of Operation description.

Enhanced Functionality Option

The Discrete Input/Output function offers a separate option for enhanced input and output mode functionality. For incoming signals (inputs), the enhanced modes include Pulse Measurements, Transition Timestamps, Transition Counters, Period Measurement and Frequency Measurement. For outputs, the enhanced modes include PWM (Pulse Width Modulation) Outputs and Pattern Generator Outputs.

Refer to ‘Enhanced Discrete I/O, Digital I/O Functionality Module Manual’ for the Principle of Operation description.

Register Descriptions

The register descriptions provide the Register Name, Type, Data Range, Read or Write information, power on default initialized values, a description of the function and a data table where applicable.

Discrete Input/Output Registers

Each channel can be configured as an input or one of three types of outputs. The I/O Format (Ch1-12) registers are used to set each channel’s Input/Output configuration. The Write Outputs register controls the output channels to either a High (1) or Low (0) state, and the Read I/O register contains the discrete channel’s state (High (1) or Low (0)) as specified by the channel’s threshold configurations.

I/O Format Ch1-12
Function:Sets channels 1-12 as inputs or outputs.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x00FF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Write integer 0 for input; 1, 2, or 3 for specific output format.
IntegerDHDL(2 bits per channel)
000Input
101Output, Low-side switched, with/without current pull up
210Output, High-side switched, with/without current pull down
311Output, push-pull
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
00000000Ch12Ch11Ch10Ch9
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
Write Outputs
Function:Drives output channels High 1 or Low 0
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R/W
Initialized Value:0
Operational Settings:Write 1 to drive output high. Write 0 to drive output low.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
Input/Output State
Function:Reads High 1 or Low 0 inputs or outputs as defined by internal channel threshold values.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R
Initialized Value:N/A
Operational Settings:Bit-mapped per channel.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
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.

Max High Voltage Threshold (Enable Floating Point Mode: Integer Mode)
Upper Voltage Threshold (Enable Floating Point Mode: Integer Mode)
Lower Voltage Threshold (Enable Floating Point Mode: Integer Mode)
Min Low Voltage Threshold (Enable Floating Point Mode: Integer Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000DDDDDDDDDD
Max High Voltage Threshold (Enable Floating Point Mode: Floating Point Mode)
Upper Voltage Threshold (Enable Floating Point Mode: Floating Point Mode)
Lower Voltage Threshold (Enable Floating Point Mode: Floating Point Mode)
Min Low Voltage Threshold (Enable Floating Point Mode: Floating Point Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Max High Voltage Threshold
Function:Sets the maximum high voltage threshold value. Programmable per channel from 0 VDC to 60 VDC.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R/W
Initialized Value:0x32
Operational Settings:Assumes that the programmed level is the minimum voltage used to indicate a Max High Voltage Threshold. If a signal is greater than the Max High Threshold value, a flag is set in the Max High Voltage Threshold Status register. The Max High Voltage 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. Integer Mode: LSB is 0.1 VDC. For example: to program 5.0 VDC, 5.0 / 0.1 = 50 (binary equivalent for 50 is 0x0000 0032). Floating Point Mode: Set Max High Voltage Threshold value as a Single Precision Floating Point Value (IEEE-754). For example, to program 5.0 V, enter 5.0 as a single precision floating point value (IEEE-754) (binary equivalent 5.0 is 0x40A0 0000).
Upper Voltage Threshold
Function:Sets the upper voltage threshold value. Programmable per channel from 0 VDC to 60 VDC.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R/W
Initialized Value:0x28
Operational Settings:A signal is considered logic High 1 when its value exceeds the Upper Voltage Threshold and does not consequently fall below the Upper Voltage Threshold in less than the programmed Debounce Time. Integer Mode: LSB is 0.1 VDC. For example: to program 3.5 VDC, 3.5 / 0.1 = 35 (binary equivalent for 35 is 0x0000 0023). Floating Point Mode: Set Upper Voltage Threshold value as a Single Precision Floating Point Value (IEEE-754). For example, to program 3.5 V, enter 3.5 as a single precision floating point value (IEEE-754) (binary equivalent 3.5 is 0x4060 0000).
Lower Voltage Threshold
Function:Sets the lower voltage threshold value. Programmable per channel from 0 VDC to 60 VDC.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R/W
Initialized Value:0x10
Operational Settings:A signal is considered logic Low 0 when its value falls below the Lower Voltage Threshold and does not consequently rise above the Lower Voltage Threshold in less than the programmed Debounce Time. Integer Mode: LSB is 0.1 VDC. For example: to program 1.5 VDC, 1.5 / 0.1 = 15 (binary equivalent for 15 is 0x0000 000F). Floating Point Mode: Set Lower Voltage Threshold value as a Single Precision Floating Point Value (IEEE-754). For example, to program 1.5 V, enter 1.5 as a single precision floating point value (IEEE-754) (binary equivalent 1.5 is 0x3FC0 0000).
Min Low Voltage Threshold
Function:Sets the minimum low voltage threshold. Programmable per channel 0 VDC to 60 VDC.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R/W
Initialized Value:0xA
Operational Settings:Assumes that the programmed level is the voltage used to indicate a minimum low threshold. If a signal is less than the Min Low Voltage Threshold value, a flag is set in the Min Low Voltage Threshold Status register. The Min Low VoltageThreshold 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. Integer Mode: LSB is 0.1 VDC. For example: to program 0.5 VDC, 0.5 / 0.1 = 5 (binary equivalent for 5 is 0x0000 0005). Floating Point Mode: Set Min Low Voltage Threshold value as a Single Precision Floating Point Value (IEEE-754). For example, to program 0.5 V, enter 0.5 as a single precision floating point value (IEEE-754) (binary equivalent 0.5 is 0x3F00 0000).
Discrete Input/Output Measurement Registers

The measured voltage at the I/O pin for each channel can be read from the Voltage Reading register.

Voltage Reading
Function:Reads actual voltage at I/O pin per individual channel.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R
Initialized Value:N/A
Operational Settings:Integer Mode: LSB is 0.1 VDC. If the register value is 261 (binary equivalent for 261 is 0x0000 0105), conversion to the voltage value is 261 * 0.1 = 26.1 V. Floating Point Mode: Read as a Single Precision Floating Point Value (IEEE-754). For example, if the register value is 0x41D0 CCCD, this is equivalent to is 26.1, which represent 26.1 V.
Voltage Reading (Enable Floating Point Mode: Integer Mode)``
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000DDDDDDDDDD
Voltage Reading (Enable Floating Point Mode: Floating Point Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Current Reading
Function:Reads actual output current through I/O pin per channel.
Type:signed binary word (32-bit (only lower 16-bit is used)) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      (2's compliment. 16-bit value sign extended to 32 bits) `      0x0000 0000 to 0x0000 00D0 (positive) or 0x0000 FF30 (negative) Enable Floating Point Mode: 1 (Floating Point Mode) +            Single Precision Floating Point Value (IEEE-754)
Read/Write:R
Initialized Value:N/A
Operational Settings:Integer Mode: LSB is 3.0 mA. Value is signed binary 16-bit word. Read as 2's complement value for positive and negative current readings. For example, if the register value is 50 (binary equivalent for 50 is 0x0000 0032), the conversion to the current value is 50 3.0 = 150 mA. If register value is -50 (binary equivalent for -150 is 0x0000 FFCE), the conversion to the current value is -50 3.0 = -150 mA. Floating Point Mode: Read as a Single Precision Floating Point Value (IEEE-754). The value will represent a positive or negative current reading. For example, if the register value is 0x4316 0000, this is equivalent to 150, which represent 150 mA. If the register value is 0xC316 0000, this is equivalent to -150, which represents -150 mA.
Current Reading (Enable Floating Point Mode: Integer Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Current Reading (Enable Floating Point Mode: Floating Point Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
VCC Bank Registers

There are two VCC banks where each bank controls 6 discrete channels. Configuration for each bank involves specifying if the bank is configured for pull-up or pull-down and the current for source/sink. The measured voltage for VCC can be read from the VCC Voltage Reading register.

Select Pull-Up or Pull-Down
Function:Configures Pull-up or Pull-down configuration per 6-channel bank
Type:unsigned binary word (32-bit)
Data Range:0 to 0x0000 0003
Read/Write:R/W
Initialized Value:0
Operational Settings:Set bit to 1 to configure channel bank to Pull-up. Set bit to 0 to configure channel bank to Pull-down. Each data bit configures entire bank of 6 channels.

Note

For contact (switch closure) applications, a current supply (Vcc) is required for internal pull-up.

Bit(s)NameDescription
D31:D2ReservedSet Reserved bits to 0.
D1Configure Bank 2 (Ch 07-12)1=Pull-Up, 0=Pull-Down
D0Configure Bank 1 (Ch 01-06)1=Pull-Up, 0=Pull-Down
Pull-Up/Down Current
Function:Sets current for source/sink per 6-channel bank. Programmable from 0 to 5 mA.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0032 Enable Floating Point Mode: 1 (Floating Point Mode) `      Floating Point Value (IEEE-754)
Read/Write:R/W
Initialized Value:0 (Voltage Sensing)
Operational Settings:A current of zero disables the current source/sink circuits and configures for voltage sensing (refer to Input in Input/Output Interface section). Integer Mode: LSB is 0.1 mA. For example: to program 5 mA, 5 / 0.1 = 50 (binary equivalent for 50 is 0x0000 0032). Floating Point Mode: Set the current for source/sink as a Single Precision Floating Point Value (IEEE-754). For example, to program 5 mA, enter 5.0 as a Single Precision Floating Point Value (IEEE-754) (binary equivalent for 5.0 is 0x40A0 0000).
Pull-Up/Down Current (Enable Floating Point Mode: Integer Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000000DDDDDD
Pull-Up/Down Current (Enable Floating Point Mode: Floating Point Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
VCC Voltage Reading
Function:Read the VCC bank voltage.
Type:unsigned binary word (32-bit) (Integer Mode) or Single Precision Floating Point Value (IEEE-754) (Floating Point Mode)
Data Range:Enable Floating Point Mode: 0 (Integer Mode) `      0x0000 0000 to 0x0000 0258 Enable Floating Point Mode: 1 (Floating Point Mode) `      Single Precision Floating Point Value (IEEE-754)
Read/Write:R
Initialized Value:N/A
Operational Settings:Integer Mode: LSB is 0.1 VDC. If the register value is 260 (binary equivalent for this value is 0x0000 0104), conversion to the voltage value is 260 * 0.1 = 26.0 V. Floating Point Mode: Read as a Single Precision Floating Point Value (IEEE-754). For example, the binary equivalent for 0x41D0 0000 is 26.0 which represent 26.0 V.
VCC Voltage Reading (Enable Floating Point Mode: Integer Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000DDDDDDDDDD
VCC Voltage Reading (Enable Floating Point Mode: Floating Point Mode)
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
DDDDDDDDDDDDDDDD
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
DDDDDDDDDDDDDDDD
Discrete Input/Output Control Registers

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

Debounce Time
Function:When set for inputs, the input signal will have the debounce filtering applied based on this programmed value. This is selectable for each channel.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0xFFFF FFFF
Read/Write:R/W
Initialized Value:0
Operational Settings:The Debounce Time register, when programmed for a non-zero value, is used with channels programmed as input 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 0 to disable debounce filtering.
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 word (32-bit)
Data Range:0x0000 0000 to 0x0000 0001
Read/Write:R/W
Initialized Value:0
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.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000000Ch1-12
Unit Conversion Programming Register

The Enable Floating Point register provides the ability to set the Threshold values as floating-point values and read the Voltage Reading registers as floating-point values. The purpose for this feature is to offload the processing that is normally performed by the mission processor to convert the integer values to floating-point values.

Enable Floating Point Mode
Function:Sets all channels for floating point mode or integer module.
Type:unsigned binary word (32-bit)
Data Range:0 to 1
Read/Write:R/W
Initialized Value:0
Operational Settings:Set bit to 1 to enable Floating Point Mode and 0 for Integer Mode. Wait for the Floating Point State register to match the value for the requested Floating Point Mode (Integer = 0, Floating Point = 1); this indicates that the module's conversion of the register values and internal values is complete before changing the values of the configuration and control registers with the values in the units specified (Integer or Floating Point).
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000000D
Background BIT Threshold Programming Registers

The Background BIT Threshold register provides the ability to specify the minimum time before the BIT fault is reported in the BIT Status registers. The Reset BIT register provides the ability to reset the BIT counter used in CBIT.

Background BIT Threshold
Function:Sets BIT Threshold value (in milliseconds) to use for all channels for BIT failure indication.
Type:unsigned binary word (32-bit)
Data Range:1 ms to 2^32 ms
Read/Write:R/W
Initialized Value:5 (5 ms)
Operational Settings:The interval at which BIT is performed is dependent and differs between module types. Rather than specifying the BIT Threshold as a “count”, the BIT Threshold is specified as a time in milliseconds. The module will convert the time specified to the BIT Threshold “count” based on the BIT interval for that module.
BIT Count Clear
Function:Resets the CBIT internal circuitry and count mechanism. Set the bit corresponding to the channel you want to clear.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:W
Initialized Value:0
Operational Settings:Set bit to 1 for channel to resets the CBIT mechanisms. Bit is self-clearing.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
User Watchdog Timer 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 Interrupt Registers

The Discrete Input/Output function provides status registers for BIT, Low-to-High Transition, High-to-Low Transition, Above Max High Voltage, Below Min Low Voltage, and Mid-Range Voltage.

Channel Status Enable
Function:Determines whether to update the status for the channels. This feature can be used to “mask” status bits of unused channels in status registers that are bitmapped by channel.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF (Channel Status)
Read/Write:R/W
Initialized Value:0x0000 0FFF
Operational Settings:When the bit corresponding to a given channel in the Channel Status Enable register is not enabled (0) the status will be masked and report “0” or “no failure”. This applies to all statuses that are bitmapped by channel (BIT Status, Low-to-High Transition Status, High-to-Low Transition Status, Overcurrent Status, Above Max High Voltage Status, Below Min Low Voltage Status, Mid-Range Voltage and Summary Status).

Note

Background BIT will continue to run even if the Channel Status Enable is set to 0.

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

BIT Status

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

Note

When a BIT fault is detected, reading the Voltage Reading Error and the Driver Error register will provide additional diagnostics on the cause of the BIT fault.

BIT Status
Function:Sets the corresponding bit associated with the channel's BIT error.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x000F 0FFF
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)
Initialized Value:0

Note

BIT Status is a shared register between the SC3 and DT4 functions. Bits D11:D0 are dedicated to the DT4 functions and bits D19:D16 are dedicated to the SC3 function.

BIT Dynamic Status
BIT Latched Status
BIT Interrupt Enable
BIT Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
000000000000SC3
Ch4
SC3
Ch3
SC3
Ch2
SC3
Ch1
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000DT4
Ch12
DT4
Ch11
DT4
Ch10
DT4
Ch9
DT4
Ch8
DT4
Ch7
DT4
Ch6
DT4
Ch5
DT4
Ch4
DT4
Ch3
DT4
Ch2
DT4
Ch1
Voltage Reading Error
Function:The Voltage Reading Error register is set when a redundant voltage measurement is inconsistent with the input voltage level detected.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R
Initialized Value:0
Operational Settings:1 is read when a fault is detected. 0 indicates no fault detected.

Note

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

Note

Clearing the latched BIT status will also clear this error register.

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
Driver Error
Function:The Driver Error register is set when the voltage reading mismatches active driver measurement and is inconsistent with the input driver level detected (Note: requires programming of thresholds).
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R
Initialized Value:0
Operational Settings:1 is read when a fault is detected. 0 indicates no fault detected.

Note

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

Note

Clearing the latched BIT status will also clear this error register.

D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Low-to-High Transition Status

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

Low-to-High Transition Status
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 0FFF
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.

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

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
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 0FFF
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 Dynamic Status
High-to-Low Transition Latched Status
High-to-Low Transition Interrupt Enable
High-to-Low Transition Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Overcurrent Status

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

Overcurrent Status
Function:Sets the corresponding bit associated with the channel's Overcurrent error.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
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

Latched 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 Clear register.

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

Above Max High Voltage Status

There are four registers associated with the Above Max High Voltage 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 Voltage Status
Function:Sets the corresponding bit associated with the channel's Above Max High Voltage event.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)
Initialized Value:0
Above Max High Voltage Dynamic Status
Above Max High Voltage Latched Status
Above Max High Voltage Interrupt Enable
Above Max High Voltage Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Below Min Low Voltage Status

There are four registers associated with the Below Min Low Voltage 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 Voltage Status
Function:Sets the corresponding bit associated with the channel's Below Min Low Voltage event.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)
Initialized Value:0
Below Min Low Voltage Dynamic Status
Below Min Low Voltage Latched Status
Below Min Low Voltage Interrupt Enable
Below Min Low Voltage Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

Mid-Range Voltage Status

There are four registers associated with the Mid-Range Voltage 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 Voltage Status
Function:Sets the corresponding bit associated with the channel's Mid-Range Voltage event.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
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.

Mid-Range Voltage Dynamic Status
Mid-Range Voltage Latched Status
Mid-Range Voltage Interrupt Enable
Mid-Range Voltage Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1

User Watchdog Timer Fault Status

The Discrete Input/Output function provides registers that support User Watchdog Timer capability. Refer to ‘User Watchdog Timer Module Manual’ for the User Watchdog Timer Fault Status Register descriptions.

Summary Status

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

Summary Status
Function:Sets the corresponding bit if any fault (BIT and Overcurrent) occurs on that channel.
Type:unsigned binary word (32-bit)
Data Range:0x0000 0000 to 0x0000 0FFF
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)
Initialized Value:0
Summary Status Dynamic Status
Summary Status Latched Status
Summary Status Interrupt Enable
Summary Status Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000Ch12Ch11Ch10Ch9Ch8Ch7Ch6Ch5Ch4Ch3Ch2Ch1
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
Enhanced Functionality Registers

Refer to ‘Enhanced Discrete I/O, Digital I/O Functionality Module Manual’ for the Register descriptions.

Function Register Map

KEY

Configuration/Control
Measurement/Status
DISCRETE INPUT/OUTPUT REGISTERS
NOTE: Base Address - 0x4000 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1038I/O Format Ch1-12R/W0x1000I/O StateR
0x1024Write OutputsR/W
DISCRETE INPUT/OUTPUT THRESHOLD PROGRAMMING REGISTERS
NOTE: Base Address - 0x4000 0000
**Data is represented in Floating Point if Enable Floating Point Mode register is set to Floating Point Mode (1).
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x20C0Max High Voltage Threshold Ch 1**R/W0x20C4Upper Voltage Threshold Ch 1**R/W
0x2140Max High Voltage Threshold Ch 2**R/W0x2144Upper Voltage Threshold Ch 2**R/W
0x21C0Max High Voltage Threshold Ch 3**R/W0x21C4Upper Voltage Threshold Ch 3**R/W
0x2240Max High Voltage Threshold Ch 4**R/W0x2244Upper Voltage Threshold Ch 4**R/W
0x22C0Max High Voltage Threshold Ch 5**R/W0x22C4Upper Voltage Threshold Ch 5**R/W
0x2340Max High Voltage Threshold Ch 6**R/W0x2344Upper Voltage Threshold Ch 6**R/W
0x23C0Max High Voltage Threshold Ch 7**R/W0x23C4Upper Voltage Threshold Ch 7**R/W
0x2440Max High Voltage Threshold Ch 8**R/W0x2444Upper Voltage Threshold Ch 8**R/W
0x24C0Max High Voltage Threshold Ch 9**R/W0x24C4Upper Voltage Threshold Ch 9**R/W
0x2540Max High Voltage Threshold Ch 10**R/W0x2544Upper Voltage Threshold Ch 10**R/W
0x25C0Max High Voltage Threshold Ch 11**R/W0x25C4Upper Voltage Threshold Ch 11**R/W
0x2640Max High Voltage Threshold Ch 12**R/W0x2644Upper Voltage Threshold Ch 12**R/W
0x20C8Lower Voltage Threshold Ch 1**R/W0x20CCMin Low Voltage Threshold Ch 1**R/W
0x2148Lower Voltage Threshold Ch 2**R/W0x214CMin Low Voltage Threshold Ch 2**R/W
0x21C8Lower Voltage Threshold Ch 3**R/W0x21CCMin Low Voltage Threshold Ch 3**R/W
0x2248Lower Voltage Threshold Ch 4**R/W0x224CMin Low Voltage Threshold Ch 4**R/W
0x22C8Lower Voltage Threshold Ch 5**R/W0x22CCMin Low Voltage Threshold Ch 5**R/W
0x2348Lower Voltage Threshold Ch 6**R/W0x234CMin Low Voltage Threshold Ch 6**R/W
0x23C8Lower Voltage Threshold Ch 7**R/W0x23CCMin Low Voltage Threshold Ch 7**R/W
0x2448Lower Voltage Threshold Ch 8**R/W0x244CMin Low Voltage Threshold Ch 8**R/W
0x24C8Lower Voltage Threshold Ch 9**R/W0x24CCMin Low Voltage Threshold Ch 9**R/W
0x2548Lower Voltage Threshold Ch 10**R/W0x254CMin Low Voltage Threshold Ch 10**R/W
0x25C8Lower Voltage Threshold Ch 11**R/W0x25CCMin Low Voltage Threshold Ch 11**R/W
0x2648Lower Voltage Threshold Ch 12**R/W0x264CMin Low Voltage Threshold Ch 12**R/W
DISCRETE INPUT/OUTPUT MEASUREMENT REGISTERS
NOTE: Base Address - 0x4000 0000
**Data is represented in Floating Point if Enable Floating Point Mode register is set to Floating Point Mode (1).
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x20E0Voltage Reading Ch 1**R0x20E4Current Reading Ch 1**R
0x2160Voltage Reading Ch 2**R0x2164Current Reading Ch 2**R
0x21E0Voltage Reading Ch 3**R0x21E4Current Reading Ch 3**R
0x2260Voltage Reading Ch 4**R0x2264Current Reading Ch 4**R
0x22E0Voltage Reading Ch 5**R0x22E4Current Reading Ch 5**R
0x2360Voltage Reading Ch 6**R0x2364Current Reading Ch 6**R
0x23E0Voltage Reading Ch 7**R0x23E4Current Reading Ch 7**R
0x2460Voltage Reading Ch 8**R0x2464Current Reading Ch 8**R
0x24E0Voltage Reading Ch 9**R0x24E4Current Reading Ch 9**R
0x2560Voltage Reading Ch 10**R0x2564Current Reading Ch 10**R
0x25E0Voltage Reading Ch 11**R0x25E4Current Reading Ch 11**R
0x2660Voltage Reading Ch 12**R0x2664Current Reading Ch 12**R
VCC BANK REGISTERS
NOTE: Base Address - 0x4000 0000
**Data is represented in Floating Point if Enable Floating Point Mode register is set to Floating Point Mode (1).
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1104Select Pullup or PulldownR/W
0x20D0Pull-Up/Down Current Bank 1 (Ch1-6)**R/W0x20ECVCC Voltage Reading Bank 1 (Ch 1-6)**R
0x2150Pull-Up/Down Current Bank 2 (Ch7-12)**R/W0x216CVCC Voltage Reading Bank 2 (Ch 7-12)**R
DISCRETE INPUT/OUTPUT CONTROL REGISTERS
NOTE: Base Address - 0x4000 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x20D4Debounce Time Ch 1R/W
0x2154Debounce Time Ch 2R/W
0x21D4Debounce Time Ch 3R/W
0x2254Debounce Time Ch 4R/W
0x22D4Debounce Time Ch 5R/W
0x2354Debounce Time Ch 6R/W
0x23D4Debounce Time Ch 7R/W
0x2454Debounce Time Ch 8R/W
0x24D4Debounce Time Ch 9R/W
0x2554Debounce Time Ch 10R/W
0x25D4Debounce Time Ch 11R/W
0x2654Debounce Time Ch 12R/W
0x1100Overcurrent ResetW
UNIT CONVERSION PROGRAMMING REGISTERS
NOTE: Base Address - 0x4000 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x02B4Enable Floating PointR/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.
CHANNEL STATUS REGISTER
NOTE: Base Address - 0x4000 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x02B0Channel Status EnableR/W
BIT 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).
NOTE: Base Address - 0x4000 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0800Dynamic StatusR
0x0804Latched Status*R/W
0x0808Interrupt EnableR/W
0x080CSet Edge/Level InterruptR/W
0x1200Voltage Reading Error DynamicR0x1208Driver Error DynamicR
0x1204Voltage Reading Error Latched*R/W0x120CDriver Error Latched*R/W
0x0248Test EnabledR/W0x02ACPower-on BIT Complete++R
0x02B8Background BIT ThresholdR/W0x02BCBIT Count ClearW
++After power-on, Power-on BIT Complete should be checked before reading the BIT Latched Status.
STATUS REGISTERS
NOTE: Base Address - 0x4000 0000
Low-to-High TransitionHigh-to-Low Transition
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0810Dynamic StatusR0x0820Dynamic StatusR
0x0814Latched Status*R/W0x0824Latched Status*R/W
0x0818Interrupt EnableR/W0x0828Interrupt EnableR/W
0x081CSet Edge/Level InterruptR/W0x082CSet Edge/Level InterruptR/W
OvercurrentAbove Max High Voltage
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0830Dynamic StatusR0x0840Dynamic StatusR
0x0834Latched Status*R/W0x0844Latched Status*R/W
0x0838Interrupt EnableR/W0x0848Interrupt EnableR/W
0x083CSet Edge/Level InterruptR/W0x084CSet Edge/Level InterruptR/W
Below Min Low VoltageMid-Range Voltage
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0850Dynamic StatusR0x0860Dynamic StatusR
0x0854Latched Status*R/W0x0864Latched Status*R/W
0x0858Interrupt EnableR/W0x0868Interrupt EnableR/W
0x085CSet Edge/Level InterruptR/W0x086CSet Edge/Level InterruptR/W
User Watchdog Timer Fault/Inter-FPGA Failure
The Discrete I/O function 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.
Summary
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x09A0Dynamic StatusR
0x09A4Latched Status*R/W
0x09A8Interrupt EnableR/W
0x09ACSet Edge/Level InterruptR/W
ENHANCED FUNCTIONALITY REGISTERS
Refer to 'Enhanced Discrete I/O, Digital I/O Functionality Module Manual' for the 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. NOTE: Vector/Steering 1-7 & 27-28 are allocated for the Discrete I/O function; vector/steering 17-20 are allocated for the Serial Function
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0500Module 1 Interrupt Vector 1 - BITR/W0x0600Module 1 Interrupt Steering 1 - BITR/W
0x0504Module 1 Interrupt Vector 2 - Low-HighR/W0x0604Module 1 Interrupt Steering 2 - Low-HighR/W
0x0508Module 1 Interrupt Vector 3 - High LowR/W0x0608Module 1 Interrupt Steering 3 - High LowR/W
0x050CModule 1 Interrupt Vector 4 - OvercurrentR/W0x060CModule 1 Interrupt Steering 4 - OvercurrentR/W
0x0510Module 1 Interrupt Vector 5 - Max-HighR/W0x0610Module 1 Interrupt Steering 5 - Max-HighR/W
0x0514Module 1 Interrupt Vector 6 - Min-LowR/W0x0614Module 1 Interrupt Steering 6 - Min-LowR/W
0x0518Module 1 Interrupt Vector 7 - Mid RangeR/W0x0618Module 1 Interrupt Steering 7 - Mid RangeR/W
0x051C to 0x053CModule 1 Interrupt Vector 8 to 16 - ReservedR/W0x061C to 0x063CModule 1 Interrupt Steering 8 to 16 - ReservedR/W
0x0540Module 1 Interrupt Vector 17 - Channel Status Ch 1R/W0x0640Module 1 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0544Module 1 Interrupt Vector 18 - Channel Status Ch 2R/W0x0644Module 1 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0548Module 1 Interrupt Vector 19 - Channel Status Ch 3R/W0x0648Module 1 Interrupt Steering 19 - Channel Status Ch 3R/W
0x054CModule 1 Interrupt Vector 20 - Channel Status Ch 4R/W0x064CModule 1 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0550 to 0x0564Module 1 Interrupt Vector 21 to 26 - ReservedR/W0x0650 to 0x0664Module 1 Interrupt Steering 21 to 26 - ReservedR/W
0x0568Module 1 Interrupt Vector 27 - Summary StatusR/W0x0668Module 1 Interrupt Steering 27 - Summary StatusR/W
0x056CModule 1 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x066CModule 1 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0570 to 0x057CModule 1 Interrupt Vector 29 to 32 - ReservedR/W0x0670 to 0x067CModule 1 Interrupt Steering 29 to 32 - ReservedR/W
0x0700Module 2 Interrupt Vector 1 - BITR/W0x0800Module 2 Interrupt Steering 1 - BITR/W
0x0704Module 2 Interrupt Vector 2 - Low-HighR/W0x0804Module 2 Interrupt Steering 2 - Low-HighR/W
0x0708Module 2 Interrupt Vector 3 - High LowR/W0x0808Module 2 Interrupt Steering 3 - High LowR/W
0x070CModule 2 Interrupt Vector 4 - OvercurrentR/W0x080CModule 2 Interrupt Steering 4 - OvercurrentR/W
0x0710Module 2 Interrupt Vector 5 - Max-HighR/W0x0810Module 2 Interrupt Steering 5 - Max-HighR/W
0x0714Module 2 Interrupt Vector 6 - Min-LowR/W0x0814Module 2 Interrupt Steering 6 - Min-LowR/W
0x0718Module 2 Interrupt Vector 7 - Mid RangeR/W0x0818Module 2 Interrupt Steering 7 - Mid RangeR/W
0x071C to 0x073CModule 2 Interrupt Vector 8 to 16 - ReservedR/W0x081C to 0x083CModule 2 Interrupt Steering 8 to 16 - ReservedR/W
0x0740Module 2 Interrupt Vector 17 - Channel Status Ch 1R/W0x0840Module 2 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0744Module 2 Interrupt Vector 18 - Channel Status Ch 2R/W0x0844Module 2 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0748Module 2 Interrupt Vector 19 - Channel Status Ch 3R/W0x0848Module 2 Interrupt Steering 19 - Channel Status Ch 3R/W
0x074CModule 2 Interrupt Vector 20 - Channel Status Ch 4R/W0x084CModule 2 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0750 to 0x0764Module 2 Interrupt Vector 21 to 26 - ReservedR/W0x0850 to 0x0864Module 2 Interrupt Steering 21 to 26 - ReservedR/W
0x0768Module 2 Interrupt Vector 27 - Summary StatusR/W0x0868Module 2 Interrupt Steering 27 - Summary StatusR/W
0x076CModule 2 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x086CModule 2 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0770 to 0x077CModule 2 Interrupt Vector 29 to 32 - ReservedR/W0x0870 to 0x087CModule 2 Interrupt Steering 29 to 32 - ReservedR/W
0x0900Module 3 Interrupt Vector 1 - BITR/W0x0A00Module 3 Interrupt Steering 1 - BITR/W
0x0904Module 3 Interrupt Vector 2 - Low-HighR/W0x0A04Module 3 Interrupt Steering 2 - Low-HighR/W
0x0908Module 3 Interrupt Vector 3 - High LowR/W0x0A08Module 3 Interrupt Steering 3 - High LowR/W
0x090CModule 3 Interrupt Vector 4 - OvercurrentR/W0x0A0CModule 3 Interrupt Steering 4 - OvercurrentR/W
0x0910Module 3 Interrupt Vector 5 - Max-HighR/W0x0A10Module 3 Interrupt Steering 5 - Max-HighR/W
0x0914Module 3 Interrupt Vector 6 - Min-LowR/W0x0A14Module 3 Interrupt Steering 6 - Min-LowR/W
0x0918Module 3 Interrupt Vector 7 - Mid RangeR/W0x0A18Module 3 Interrupt Steering 7 - Mid RangeR/W
0x091C to 0x093CModule 3 Interrupt Vector 8 to 16 - ReservedR/W0x0A1C to 0x0A3CModule 3 Interrupt Steering 8 to 16 - ReservedR/W
0x0940Module 3 Interrupt Vector 17 - Channel Status Ch 1R/W0x0A40Module 3 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0944Module 3 Interrupt Vector 18 - Channel Status Ch 2R/W0x0A44Module 3 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0948Module 3 Interrupt Vector 19 - Channel Status Ch 3R/W0x0A48Module 3 Interrupt Steering 19 - Channel Status Ch 3R/W
0x094CModule 3 Interrupt Vector 20 - Channel Status Ch 4R/W0x0A4CModule 3 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0950 to 0x0964Module 3 Interrupt Vector 21 to 26 - ReservedR/W0x0A50 to 0x0A64Module 3 Interrupt Steering 21 to 26 - ReservedR/W
0x0968Module 3 Interrupt Vector 27 - Summary StatusR/W0x0A68Module 3 Interrupt Steering 27 - Summary StatusR/W
0x096CModule 3 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0A6CModule 3 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0970 to 0x097CModule 3 Interrupt Vector 29 to 32 - ReservedR/W0x0A70 to 0x0A7CModule 3 Interrupt Steering 29 to 32 - ReservedR/W
0x0B00Module 4 Interrupt Vector 1 - BITR/W0x0C00Module 4 Interrupt Steering 1 - BITR/W
0x0B04Module 4 Interrupt Vector 2 - Low-HighR/W0x0C04Module 4 Interrupt Steering 2 - Low-HighR/W
0x0B08Module 4 Interrupt Vector 3 - High LowR/W0x0C08Module 4 Interrupt Steering 3 - High LowR/W
0x0B0CModule 4 Interrupt Vector 4 - OvercurrentR/W0x0C0CModule 4 Interrupt Steering 4 - OvercurrentR/W
0x0B10Module 4 Interrupt Vector 5 - Max-HighR/W0x0C10Module 4 Interrupt Steering 5 - Max-HighR/W
0x0B14Module 4 Interrupt Vector 6 - Min-LowR/W0x0C14Module 4 Interrupt Steering 6 - Min-LowR/W
0x0B18Module 4 Interrupt Vector 7 - Mid RangeR/W0x0C18Module 4 Interrupt Steering 7 - Mid RangeR/W
0x0B1C to 0x0B3CModule 4 Interrupt Vector 8 to 16 - ReservedR/W0x0C1C to 0x0C3CModule 4 Interrupt Steering 8 to 16 - ReservedR/W
0x0B40Module 4 Interrupt Vector 17 - Channel Status Ch 1R/W0x0C40Module 4 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0B44Module 4 Interrupt Vector 18 - Channel Status Ch 2R/W0x0C44Module 4 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0B48Module 4 Interrupt Vector 19 - Channel Status Ch 3R/W0x0C48Module 4 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0B4CModule 4 Interrupt Vector 20 - Channel Status Ch 4R/W0x0C4CModule 4 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0B50 to 0x0B64Module 4 Interrupt Vector 21 to 26 - ReservedR/W0x0C50 to 0x0C64Module 4 Interrupt Steering 21 to 26 - ReservedR/W
0x0B68Module 4 Interrupt Vector 27 - Summary StatusR/W0x0C68Module 4 Interrupt Steering 27 - Summary StatusR/W
0x0B6CModule 4 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0C6CModule 4 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0B70 to 0x0B7CModule 4 Interrupt Vector 29 to 32 - ReservedR/W0x0C70 to 0x0C7CModule 4 Interrupt Steering 29 to 32 - ReservedR/W
0x0D00Module 5 Interrupt Vector 1 - BITR/W0x0E00Module 5 Interrupt Steering 1 - BITR/W
0x0D04Module 5 Interrupt Vector 2 - Low-HighR/W0x0E04Module 5 Interrupt Steering 2 - Low-HighR/W
0x0D08Module 5 Interrupt Vector 3 - High LowR/W0x0E08Module 5 Interrupt Steering 3 - High LowR/W
0x0D0CModule 5 Interrupt Vector 4 - OvercurrentR/W0x0E0CModule 5 Interrupt Steering 4 - OvercurrentR/W
0x0D10Module 5 Interrupt Vector 5 - Max-HighR/W0x0E10Module 5 Interrupt Steering 5 - Max-HighR/W
0x0D14Module 5 Interrupt Vector 6 - Min-LowR/W0x0E14Module 5 Interrupt Steering 6 - Min-LowR/W
0x0D18Module 5 Interrupt Vector 7 - Mid RangeR/W0x0E18Module 5 Interrupt Steering 7 - Mid RangeR/W
0x0D1C to 0x0D3CModule 5 Interrupt Vector 8 to 16 - ReservedR/W0x0E1C to 0x0E3CModule 5 Interrupt Steering 8 to 16 - ReservedR/W
0x0D40Module 5 Interrupt Vector 17 - Channel Status Ch 1R/W0x0E40Module 5 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0D44Module 5 Interrupt Vector 18 - Channel Status Ch 2R/W0x0E44Module 5 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0D48Module 5 Interrupt Vector 19 - Channel Status Ch 3R/W0x0E48Module 5 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0D4CModule 5 Interrupt Vector 20 - Channel Status Ch 4R/W0x0E4CModule 5 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0D50 to 0x0D64Module 5 Interrupt Vector 21 to 26 - ReservedR/W0x0E50 to 0x0E64Module 5 Interrupt Steering 21 to 26 - ReservedR/W
0x0D68Module 5 Interrupt Vector 27 - Summary StatusR/W0x0E68Module 5 Interrupt Steering 27 - Summary StatusR/W
0x0D6CModule 5 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0E6CModule 5 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0D70 to 0x0D7CModule 5 Interrupt Vector 29 to 32 - ReservedR/W0x0E70 to 0x0E7CModule 5 Interrupt Steering 29 to 32 - ReservedR/W
0x0F00Module 6 Interrupt Vector 1 - BITR/W0x1000Module 6 Interrupt Steering 1 - BITR/W
0x0F04Module 6 Interrupt Vector 2 - Low-HighR/W0x1004Module 6 Interrupt Steering 2 - Low-HighR/W
0x0F08Module 6 Interrupt Vector 3 - High LowR/W0x1008Module 6 Interrupt Steering 3 - High LowR/W
0x0F0CModule 6 Interrupt Vector 4 - OvercurrentR/W0x100CModule 6 Interrupt Steering 4 - OvercurrentR/W
0x0F10Module 6 Interrupt Vector 5 - Max-HighR/W0x1010Module 6 Interrupt Steering 5 - Max-HighR/W
0x0F14Module 6 Interrupt Vector 6 - Min-LowR/W0x1014Module 6 Interrupt Steering 6 - Min-LowR/W
0x0F18Module 6 Interrupt Vector 7 - Mid RangeR/W0x1018Module 6 Interrupt Steering 7 - Mid RangeR/W
0x0F1C to 0x0F3CModule 6 Interrupt Vector 8 to 16 - ReservedR/W0x101C to 0x103CModule 6 Interrupt Steering 8 to 16 - ReservedR/W
0x0F40Module 6 Interrupt Vector 17 - Channel Status Ch 1R/W0x1040Module 6 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0F44Module 6 Interrupt Vector 18 - Channel Status Ch 2R/W0x1044Module 6 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0F48Module 6 Interrupt Vector 19 - Channel Status Ch 3R/W0x1048Module 6 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0F4CModule 6 Interrupt Vector 20 - Channel Status Ch 4R/W0x104CModule 6 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0F50 to 0x0F64Module 6 Interrupt Vector 21 to 26 - ReservedR/W0x1050 to 0x1064Module 6 Interrupt Steering 21 to 26 - ReservedR/W
0x0F68Module 6 Interrupt Vector 27 - Summary StatusR/W0x1068Module 6 Interrupt Steering 27 - Summary StatusR/W
0x0F6CModule 6 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x106CModule 6 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0F70 to 0x0F7CModule 6 Interrupt Vector 29 to 32 - ReservedR/W0x1070 to 0x107CModule 6 Interrupt Steering 29 to 32 - ReservedR/W

SC3 FUNCTION

Principle of Operation

The CM4 provides (4) channels of programmable serial communication buses (SC3 module-type). Each channel of the module can be individually software configured for RS-232C, RS-422 or RS-485 Asynchronous/Synchronous Serial Communications or GPIO. See CM4 module pinout tables for more specific pinouts between modes. The architecture avoids latency problems because all data transfer is done in hardware and not in software. Any incoming data, no matter how many channels are active, in whatever mode, can be immediately extracted. FPGA design simplifies programming and usage.

Configuration

Before the user can write to any configuration register, certain steps must be followed to ensure the module accepts the user specified configuration. The steps are as follows:

  1. Write a 0 to the Enable Channel bit of the Tx-Rx Configuration register to tell the hardware that we are about to change the configuration.

  2. Wait for the Channel Configured status of the Realtime Channel Status registers to read a 0.

  3. Write all desired configuration registers.

  4. Set the Enable Channel bit of the Tx-Rx Configuration register to 1 to notify the hardware that it can read all the configuration registers.

  5. Wait for the Channel Configured status in the Realtime Channel Status register to read a 1 before proceeding to send/receive data.

Async/Sync Modes

All four channels can be configured in asynchronous mode or the first two channels can be configured for synchronous modes. Mixing asynchronous and synchronous modes is also possible.

Sync Mode Channel Pairs

The user can configure any of the first two channels of the SC3 function to operate in any of the following synchronous modes: HDLC, Mono-Synchronous or Bi-Synchronous. When any of these channels are configured for a synchronous mode, the channel will need to pair with another channel to make sue of its transmitter and receiver to handle clock input and output signals. Channel pairs are as follows: 1&3, 2&4.

Hardware Flow Control

The user can configure any of the first two channels of the SC3 function to operate in hardware flow control mode by setting the RTS/CTS Flow Control bit of the Tx-Rx Configuration register to a 1. When a channel is configured in this mode, the channel pair’s transmitter and receiver will be used for the Request to Send (RTS) and Clear to Send (CTS) signals. The channels pairs are the same as in sync mode.

GPIO Mode

The SC3 function is configured for GPIO mode via the Interface Levels register. Setting the GPIO bit to 1, sets a channel to GPIO mode. It is also necessary to choose either RS-232 or RS-422 to determine the GPIO signal level.

Note

As shown in the CM4 module pinout tables, single ended RS-232 provides GPI 1, GPI 2, GPO1 and GPO 2. RS-422 provides GPI 1 and GPO 1 only.

To set an output (GPO) channel to a high state, set the Channel Control register RTS/GPO 1 or GPO 2 bits, to 1. The default is 0 (low). Inputs (GPI) are monitored by the Dynamic Status register, bits CTS/GPI 1 and GPI 2, which provide real-time status monitoring of the GPI inputs. The Latched Status register, bits CTS/GPI 1 and GPI 2, latch when an input is received and are cleared when a 1 is written to the register. The Interrupt Enable register bits CTS/GPI 1 and GPI 2 when set to a 1, will create an interrupt. To invert the GPI/GPO inputs and outputs, set the Tx-Rx Configuration register bits Invert CTS (GPI) and Invert RTS (GPO), to 1. See the Register Descriptions for more information.

Gap Timeout Status

The Gap Timeout Occurred status gets set when there’s data in a channel’s receive buffer but there’s no activity on a channel’s receiver for approximately three byte-times. To use the Gap Timeout feature, set the Enable Gap Timeout bit in the Tx-Rx Configuration register to a 1. When receiving asynchronous data, monitor the Gap Timeout status bit of the Channel Status register to know if a timeout occurred. The status is cleared after all the data in the receive buffer is read or cleared.

Serial Built-In Test/Diagnostic Capability

The SC3 function supports two types of built-in tests: Power-On and Initiated. The results of these tests are logically ORed together and stored in the BIT Dynamic Status and BIT Latched Status registers.

Power-on Self-Test (POST)/Power-on BIT (PBIT)/Start-up BIT (SBIT)

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

Initiated Built-In Test

The Initiated Built-In-Test (IBIT) is an internal loopback available for each channel of the SC3 module. The test is initiated by setting the bit for the associated channel in the Test Enabled register or (for legacy applications) setting the Initiate BIT bit of the Tx-Rx-Configuration register to a 1. Prior to initiating the test, the user must disable the channel, and its respective pair, by writing a 0 to the Enable Channel bit of the channel’s Tx-Rx Configuration register. BIT will not run if the channel is enabled. After the user disables the channel and initiates BIT, they must wait a minimum of 5 msec then check to see if the bit for the associated channel in the Test Enabled register or (for legacy application) Initiate BIT bit of the Tx-Rx-Configuration register reads a 0. When the SC3 clears the bit, it means that the test has completed, and its results can be checked. If the bit has not cleared after 10ms, the test has timed out and not run. In the event this should occur, the user should verify that the channel, and its pair, has been disabled. The results of the IBIT is stored in the BIT Dynamic Status and BIT Latched Status registers, a 0 indicates that the channel has passed and a 1 indicates that it failed.

Receiver Enable/Disable

A Receiver Enable/Disable function allows the user to turn selected receivers ON/OFF. When a receiver is disabled, no data will be placed in the buffer.

Serial Data Transmit Enhancement

An additional asynchronous mode to support “Immediate Transmit” operation has been incorporated. This mode immediately transmits serial data anytime the transmit buffer is not empty. There is no requirement to set the Tx Initiate bit before each transmission, which simplifies system traffic and overhead, since only the actual data byte being transmitted needs be sent to the transmit buffer. Each channel has its own configurable Transmit and Receive buffer. The upper byte of each received word provides status information for that word.

The transmitter and receivers of up to 32 channels can be tied together in either Half or Full-Duplex mode. While in Multi-Drop Link Mode, the transmit line for each channel will automatically tri-state. When data in the transmit buffer is initiated, the transmitter will be taken out of tri-state and send the data. Once transmission is completed, the transmit line is automatically changed back to tri-state mode. To program the serial channel for Multi-Drop mode, the interface level must be set to RS485, and the Tristate Transmit Line bit in the Channel Control register must be set to a 1.

Communication Module Factory Defaults: Registers and Delays

Address Recognition:Off
Baud Rate:9600
CTS/RTS:Disabled
Protocol:0, Asynchronous
Interface Levels:5 (Tri-state mode)
Termination Character:0x0003h
Interrupt Level:0
Interrupt Vector:0x00
Mode:Asynchronous
Number of Data Bits:8
Parity:Disabled
Receivers:Disabled
Transmit Buffer Word Count:0
Receive Buffer Word Count:0
Receive Buffer, Almost Full:0xFFF9B
Stop Bits:1
Transmit Buffer, Almost Empty:0x0064
Tx-Rx Configuration:0
Channel Control:0
Data Configuration:0x0108
Preamble:0
Receive Buffer High Watermark:0xFFF9B
Receive Buffer Low Watermark:0x0800h
XON:0x0011h
XOFF:0x0013h
XON/XOFF:Disabled
Time Out Value:0x9C40

A write to the following registers takes place immediately:

  • Transmit Data
  • Channel Control
  • Channel Interrupt Enable
  • Channel Interrupt Edge/Level
  • Summary Interrupt Enable
  • Summary Edge/Level
  • Interrupt Vector
  • Interrupt Steering
    For all other registers, channel configuration protocol must be followed.

Status and Interrupts

The SC3 Serial Communications function provide registers that indicate faults or events. Refer to “Status and Interrupts Module Manual” for the Principle of Operation description.

Module Common Registers

The SC3 Serial Communications function 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.

Register Descriptions

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

Receive Registers

Serial data received are placed in the Receive FIFO Buffer register. The Receive FIFO Buffer Word Count provide the count of the number of elements in the Receive FIFO Buffer. The Receive FIFO Buffer Almost Full, Receive FIFO Buffer High Watermark and Receive FIFO Buffer Low Watermark registers provide the ability to specify the thresholds for the associated status in the Channel FIFO Status register.

Receive FIFO Buffer
Receive FIFO Buffer
Function:Received data is placed in this buffer.
Type:unsigned binary word (32-bit).
Data Range:0x 0000 0000 to 0x 0000 FFFF
Read/Write:R
Initialized Value:N/A
Operational Settings:Data is received is based on Protocol.

Note

Receive FIFO Buffer is a self-clearing register. Performing a register read of the Receive FIFO marks the current location as ‘read’. This moves the pointer to the next unread location and decrements the Receive FIFO Buffer Word Count register count by one.

Asynchronous/Asynchronous-GPI
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
PEFE000EOFPDDDDDDDDD
Bi-Synchronous/Mono-Synchronous
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000EOF0DDDDDDDD
HDLC
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0BOF0ER2ER1ER0EOF0DDDDDDDD
Asynchronous/Asynchronous-GPI
PE= Parity ErrorA 1 indicates the calculated parity does not match the received parity bit.
FE= Framing ErrorA 1 indicates a framing error was detected.
EOF= End of FrameA 1 indicates an ETx character was received. Termination Character Detection must be turned on.
P= Parity BitThis bit carries the parity bit of the last received character.
Bi-Synchronous/Mono-Synchronous
EOF= End of FrameA 1 indicates the End of Frame. Useful to identify multiple frames in large buffer.
HDLC
BOF= Beginning of FrameA 1 indicates first character of frame. Useful to identify multiple frames in large buffer.
EOF= End of FrameA 1 indicates End of Frame. Useful to identify multiple frames in large buffer.
ER2:ER0= Last Frame Status000 = Good Frame, 111 = CRC Error
Receive FIFO Buffer Word Count
Function:Contains the number of words in the Receive FIFO Buffer waiting to be read back.
Type:unsigned binary word (32-bits)
Data Range:0 to 0x0010 0000 (Buffer Size)
Read/Write:R
Initialized Value:0
Operational Settings:Reads Integers.
Receive FIFO Almost Full
Function:Contains the number of words in the Receive FIFO Buffer waiting to be read back.Specifies the maximum size, in bytes, of the receive buffer before the Receive FIFO Almost Full Status bit D0 in the FIFO Status register is flagged (High True).
Type:unsigned binary word (32-bits)
Data Range:0 to 0x0010 0000 (Buffer Size)
Read/Write:R/W
Initialized Value:1048475 (0x000F FF9B)
Operational Settings:If the interrupt is enabled (see Interrupt Enable register), a System interrupt will be generated.
Receive FIFO Buffer High Watermark
Function:Defines the Receive Buffer High Watermark value.
Type:unsigned binary word (32-bits)
Data Range:Low Watermark < High Watermark < 0xFFF9B
Read/Write:R/W
Initialized Value:1048475 (0xFFF9B)
Operational Settings:When Receive FIFO Buffer size equals the High Watermark value, the High Watermark bit in both the FIFO Status and Channel Status registers is set to a 1 and: If XON/XOFF is enabled, XOFF is sent, and/or If RTS/CTS is enabled, RTS goes inactive. The Watermark registers are used for XON/XOFF and/or RTS/CTS flow control. The Receive Buffer High Watermark register value controls when the XOFF character is sent when using software flow control and controls when the RTS signal would be negated when using hardware flow control. For software flow control operation, the XOFF character would be sent once when the number of bytes in the Receive FIFO Buffer equals the value in the Receive Buffer High Watermark register. Once the XOFF has been sent, it cannot be sent again until the XON character has been sent. The valid state transitions to sending the XOFF character can be either no previous XON/XOFF character sent or a previous XON character sent. There is also a High Watermark Reached interrupt enable/disable bit in the Channel Interrupt Enable register and a High Watermark Reached bit in the Channel Interrupt Status Register. When the High Watermark is reached, an interrupt request will be generated, when the interrupt enable/disable bit is enabled.
Receive FIFO Buffer Low Watermark
Function:Defines the Receive Buffer Low Watermark value.
Type:unsigned binary word (32-bits)
Data Range:0 < Low Watermark < High Watermark < 0xFFF9B
Read/Write:R/W
Initialized Value:2048 (0x0800)
Operational Settings:When Receive Buffer size equals the Low Watermark value, the Low Watermark bit in both the FIFO Status and Channel Status registers is set to a 1 and: If XON/XOFF is enabled, XON is sent, and/or If RTS/CTS is enabled, RTS goes active. The Watermark registers are used for XON/XOFF and/or RTS/CTS flow control. The Receive Buffer Low Watermark register value controls when the XON character is sent when using software flow control and controls when the RTS signal would be asserted when using hardware flow control. For software flow control operation, the XON character would be sent once when the number of bytes in the Receive FIFO Buffer equals the value in the Receive Buffer Low Watermark register AND an XOFF character has been sent prior to this XON character. The valid state transition to sending the XON character can only be from the state of a previous XOFF character that has been sent. There is a Low Watermark Reached interrupt enable/disable bit in the Channel Interrupt Enable register and a Low Watermark Reached bit in the Channel Interrupt Status Register. When the Low Watermark is reached, an interrupt request will be generated, when the interrupt enable/disable bit is enabled.

Transmit Registers

Serial data to be transmitted are placed in the Transmit FIFO Buffer register. The Transmit FIFO Buffer Word Count provides the count of the number of elements in the Transmit FIFO Buffer. The Receive FIFO Buffer Almost Empty register provide the ability to specify the threshold for the associated status in the Channel FIFO Status register.

Transmit FIFO Buffer
Function:Data to be transmitted is placed in this buffer prior to transmission.
Type:unsigned binary word (32-bits)
Data Range:0x 0000 0000 to 0x 0000 01FF
Read/Write:W
Initialized Value:N/A
Operational Settings:Data words are 8-bit and occupy the register's lowest significant bits (LSBs), or low byte.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000D1DDDDDDDD

Note 1: Data only in Asynchronous mode when data bits are set to 9.

Transmit FIFO Buffer Word Count
Function:Contains the number of words in the Transmit FIFO Buffer waiting to be transmitted.
Type:unsigned binary word (32-bits)
Data Range:0 to 0x0010 0000 (Buffer Size)
Read/Write:R
Initialized Value:0
Transmit FIFO Buffer Almost Empty
Function:Specifies the minimum size, in bytes, of the transmit buffer before the Transmit Buffer Almost Empty Status bit D1 in the FIFO Status register is flagged (High True).
Type:unsigned binary word (32-bits)
Data Range:0 to 0x0010 0000 (Buffer Size)
Read/Write:R/W
Initialized Value:256 (0x100)
Operational Settings:If the interrupt is enabled (see Interrupt Enable register), a System interrupt will be generated.

Configuration Registers

SC3 configurations includes setting the Interface Levels, Baud Rate, Protocol, Tx-Rx Configuration and if applicable, the Termination Character registers. Additional registers need to be configured specifically for Async or Sync modes.

Interface Levels
Function:Configures the interface level (RS-232, RS-422, RS-485, Loopback, Tri-State, FPGA Loop-Back, GPIO) for the associated channel.
Type:unsigned binary word (32-bits)
Data Range:See table
Read/Write:R/W
Initialized Value:5 (Tri-State)
Operational Settings:Loopback selection connects the channel's transmit and receive line internally. To implement, user must send data and look at Receive FIFO to verify that the sent data. Loopback is usually used for testing. Notes: Channels are programmed for loop back in pairs. For example, if channel 1 is programmed for loop back, then channel 2 will be also. This includes channels 3 and 4.
Bit(s)InterfaceDescription
D31:D15ReservedSet Reserved bits to 0.
D14GPIONeeds to be ORed with either RS232 or RS422.
D13:D8ReservedSet Reserved bits to 0.
D7Disable termination resistorDisables termination resistor in-between the differential pairs of the transmitter and the receiver. Useful for RS485 Multi-Drop.
D6:D3ReservedSet Reserved bits to 0.
D2:D0Interface LevelThese bits set the interface level: (0:0:0) RS232 ` (0:1:0) RS422 ` (0:1:1) RS485 ` (1:0:0) Loopback ` (1:0:1) Tri-State
Baud Rate
Function:Sets the baud rate for communications.
Type:unsigned binary word (32-bits)
Data Range:300 bps to 10 Mbps Sync (1.5 Mbps Async)
Read/Write:R/W
Initialized Value:2580 bps
Protocol
Function:Configures the associated channel for either asynchronous, mono-synchronous, bi-synchronous, HDLC mode or mixed asynchronous and GPIO modes.
Type:unsigned binary word (32-bits)
Data Range:See table
Read/Write:R/W
Initialized Value:0 (Asynchronous)
Operational Settings:See table below.
Bit(s)ProtocolDescription
D31:D6ReservedSet Reserved bits to 0.
D5:D00x00 - Async ` 0x01 - Mono-Synchronous ` 0x02 - Bi-Synchronous ` 0x03 - HDLC ` 0x10 - Async-GPO + 0x20 - Async-GPIAsync-GPO: This mode can transmit general purpose signals on the channels transmitter while being able to receive async serial data on the receiver. Async-GPI: This mode can transmit async serial data on the channels transmitter while being able to receive general purpose signals on the receiver.
Tx-Rx Configuration
Function:Sets the transmit/receive configuration for the associated channel.
Type:unsigned binary word (32-bits)
Data Range:See table
Read/Write:R/W
Initialized Value:0
Operational Settings:BIT - Set Enable Channel bit, D24 low (0) to clear the selected channel. Set Initiate BIT bit D27 high (1) to initiate BIT. After 5 msec, a 0 should be read, which indicates that the BIT test is complete. The BIT Status register reports the channel status.
Bit(s)NameDescription
D31:D28ReservedSet Reserved bits to 0.
D27Initiate BITWrite a 1 to start built-in-test. The channel running BIT needs to be disabled, as well as it's channel pair. For common module functionality see the Test Enabled register.
D26Invert RTS/GPO0 = Normal + 1 = Invert.
D25Invert CTS/GPI0 = Normal + 1 = Invert.
D24Enable Channel0 = Disable + 1 = Enable.
D23Rx Suppression0 = Receiver Always On + 1 = Receiver Off During Transmission (RS485 only)
D22ReservedSet Reserved bits to 0.
D21Idle FlagIdle Flag (0x7E) Transmission
D20Enable Gap Timeout0 = Ignore gap timeout + 1 = Set Gap Timeout Occurred status when there is no activity on the receiver's bus for more than 3-byte times.
D19Append CRC0 = No CRC + 1 = Append CRC to Tx Data, Expect CRC with Rx data
D18:D17CRC(0:0) 16-Bit CRC (Mono/Bi-Sync only) ` (0:1) 32-Bit CRC (HDLC only) ` (1:0) 16-Bit CCITT
D16CRC Reset Value0 = Ones + 1 = Zeros
D15Timeout DetectionTurns on timeout detection
D14XON/XOFF Char as Data0 = Stripped + 1 = Keep in data
D13XON/XOFF Flow ControlTurns on Software Flow Control
D12Termination Character Detection0 = Ignore termination character + 1 = Set Rx Complete/ETx Received status bit when termination character is received.
D11Sync char as data0 = Stripped + 1 = Keep in data
D10:D8ReservedSet Reserved bits to 0.
D7Address Length0 = 8 bits + 1 = 16 bits
D6:D4Address Transmission/Recognition (HLDC only): 0x0 - Addressing Off ` 0x1 - Rx Address Recognition only ` 0x2 - Tx Address Transmission only + 0x4 - Addressing OnAddressing Off: Don't send address, receive data from any address. Rx Address Recognition: Expect address on Rx, but don't send address. Tx Address Transmission: Send address, but don't expect it. Addressing On: Send and expect address.
D3:D1ReservedSet Reserved bits to 0.
D0RTS/CTS Flow ControlTurns on Hardware Flow Control
Termination Character
Function:Contains the termination character used for termination detection.
Type:unsigned character (usually a member of the ASCII data set)
Data Range:0x00 to 0xFF
Read/Write:R/W
Initialized Value:0x03
Operational Settings:When using the Asynchronous or Mono/Bi-Synchronous modes, the receive data stream is monitored for the occurrence of the termination character. When this character is detected, the Rx COMPLETE / ETx RECEIVED bit is set in the Channel Status register, an interrupt is generated, if enabled.
Async Only Configuration

In Async mode, additional configurations include setting the Data Configuration, Time Out Value, XOFF Character and XON Character registers.

Data Configuration
Function:Channel data configuration.
Type:unsigned binary word (32-bits)
Data Range:See table
Read/Write:R/W
Initialized Value:0x108
Operational Settings:Sets up the Serial channel configuration.
Bit(s)NameDescription
D31:D15ReservedSet Reserved bits to 0.
D14:D12EncodingThe following sets the Data Encoding: (0:0:0) No Encoding (NRZ) ` (1:1:0) Manchester (GE Thomas) ` (1:1:1) Manchester (IEEE 802.3)
D11:D10ReservedSet Reserved bits to 0.
D9:D8Stop BitsThe following sets the number of stop bits: (0:1) 1 Stop bit + (1:0) 2 Stop bits
D7ReservedSet Reserved bits to 0.
D6:D4ParityThe following sets the Parity: (0:0:0) No Parity ` (0:0:1) Space Parity ` (0:1:0) Reserved ` (0:1:1) Odd Parity ` (1:0:0) Reserved ` (1:0:1) Even Parity ` (1:1:1) Mark Parity
D3:D0Number of Data BitsActual number of data bits between 5 and 9. For Asynchronous Protocol only.
Time Out Value
Function:Determines the timeout period.
Type:unsigned binary word (32-bits)
Data Range:0 to 0xFFFF
Read/Write:R/W
Initialized Value:0x9C40 (1 second)
Operational Settings:If there is no receive line activity for the configured period of time, a timeout is indicated in the Interrupt Status register, bit D10. LSB is 25µs. Modes Affected: Async.
XON Character
Function:Specifies the XON character for asynchronous flow control mode.
Type:unsigned binary word 32-bits (usually a member of the ASCII dataset)
Data Range:0x00 to 0xFF
Read/Write:R/W
Initialized Value:0x11
Modes Affected:Async
Operational Settings:When software flow control is enabled, this value is sent as the XON character.
XOFF Character
Function:Specifies the XOFF character for asynchronous software flow control mode.
Type:unsigned binary word 32-bits (usually a member of the ASCII data set)
Data Range:0x00 to 0xFF
Read/Write:R/W
Initialized Value:0x13
Modes Affected:Async
Operational Settings:When software flow control is enabled, this value is sent as the XOFF character.
Sync Only Configuration

In Sync mode, additional configurations include setting the Clock Mode, HDLC Rx Address/Sync Character and HDLC Tx Address/Sync Character registers.

Clock Mode
Function:Configures clock for internal (driven) or external (received) transmit/receive clocks
Type:unsigned binary word (32-bits)
Data Range:See table.
Read/Write:R/W
Initialized Value:0
Operational Settings:Applicable only for Mono/bi-synchronous or HDLC as set by Protocol register.
Default:0
Bit(s)NameDescription
D31:D8ReservedSet Reserved bits to 0.
D7Invert Rx ClockSwap receive clock edge.
D6Invert Tx ClockSwap transmit clock edge.
D5Tristate Clock after Tx
D4:D2ReservedSet Reserved bits to 0.
D1:D00x0: Internal ` 0x1: External ` 0x2: Tx-Internal, Rx-External + 0x3: ReservedInternal: Module always drives clock. External: Module always receives clock. Tx-Internal, Rx-External: Module drives clock for Tx, Module receives clock for Rx.
HDLC Rx Address/Sync Character
Function:Mode dependent for HDLC and Synchronous modes. See Operational Settings.
Type:unsigned binary word (32-bits)
Data Range:0x0000 to 0xFFFF
Read/Write:R/W
Initialized Value:0xA5
Operational Settings:HDLC Mode: This value is compared to the address of the received message and if it's equal, the message is stored in the receive buffer. Mono/Bi-Synchronous Mode: this value is considered the “Sync Character” and is used for communication synchronization. The receiver searches incoming data for the Sync Character. Once found, communication is synchronized, and additional data is valid. When in Bi-Synchronous, low byte is sent before high byte.
HDLC
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000008-bit address when Address Length bit in Tx-Rx Configuration register is 0.
16-bit address when Address Length bit in Tx-Rx Configuration register is 1.
Mono-Synchronous
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000008-bit synchronization character
Bi-Synchronous
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
Second 8-bit synchronization characterFirst 8-bit synchronization character
HDLC Tx Address/Sync Character
Function:Mode dependent for HDLC and Synchronous modes. See Operational Settings.
Type:unsigned binary word (32-bits)
Data Range:0x0000 to 0xFFFF
Read/Write:R/W
Initialized Value:0xA5
Operational Settings:If using HDLC Mode: this value is compared to the address of the received message and if it's equal, the message is stored in the receive buffer. Mono/Bi-Synchronous Mode: this value is considered the “Sync Character” and is used for communication synchronization. The receiver searches incoming data for the Sync Character. Once found, communication is synchronized, and additional data is valid. When in Bi-Synchronous, low byte is sent before high byte.
Preamble
Function:Determines the number of preambles and the preamble pattern sent during a preamble transmission.
Type:unsigned binary word (32-bits)
Data Range:0x0000 to 0x70FF
Read/Write:R/W
Initialized Value:0
Operational Settings:In HDLC Mode: zero-bit insertion is disabled during preamble transmission.
Bit(s)NameDescription
D31:D15ReservedSet Reserved bits to 0.
D14:D12Number of PreamblesThe number of Preamble Patterns to be sent.
D11:D8ReservedSet Reserved bits to 0.
D7:D0Preamble PatternActual data byte to be sent.

Control Register

The Channel Control register provides control of the serial channel.

Channel Control
Function:Channel control configuration.
Type:unsigned binary word (32-bits)
Data Range:See table.
Read/Write:R/W
Initialized Value:0
Operational Settings:Real time control of the Serial channel.
Bit(s)NameDescription
D31:D19ReservedSet Reserved bits to 0.
D18Enable Receiver
D17Tx Always (Async Only)Transmit data as soon as data is buffered.
D16Tx InitiateTransmit data in Tx buffer. (The data bit is cleared when all data from the Tx Buffer is transmitted)
D15Clear Tx FIFOClear all data in the Tx FIFO. The data bit is self-clearing.
D14Clear Rx FIFOClear all data in the Rx FIFO. The data bit is self-clearing.
D13Reset Channel FIFOs & UARTClear both FIFOs and reset channel. Bit is not self-clearing.
D12:D11ReservedSet Reserved bits to 0.
D10Set/Release Break0 = Break not set + 1 = Pull transmitter low
D9ReservedSet Reserved bits to 0.
D8Tristate Transmit LineTristate the transmit line after transmitting, for use with RS485 Multi-Drop mode.
D7:D2ReservedSet Reserved bits to 0.
D1GPO 2General purpose output two control.
D0RTS/GPO 1*General purpose output one control.

Note

*RTS/CTS as GPO when RTS/CTS Flow Control disabled.

Serial Test Registers

The serial module provides the ability to run an initiated test (IBIT). Writing a 1 to the bit associated with the channel in the Test Enabled register.

Note

This register has the same effect as writing a 1 to the Initiate BIT bit of the Tx-Rx Configuration register for legacy applications.

Test Enabled
Function:Set the bit corresponding to the channel you want to run Initiated Built-In-Test.
Type:unsigned binary word (32-bit)
Data Range:0 to 0x0000 000F
Read/Write:R/W
Initialized Value:0x0
Operational Settings:Set bit to 1 for channel to run an Initiated BIT test. Failures in the BIT test are reflected in the BIT Status registers for the corresponding channels that fail. In addition, an interrupt (if enabled in the BIT Interrupt Enable register) can be triggered when the BIT testing detects failures. Bit is self-clearing.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000Ch4Ch3Ch2Ch1

Background BIT Threshold Programming Registers

The Background BIT Threshold register provides the ability to specify the minimum time before the BIT fault is reported in the BIT Status registers. The Reset BIT register provides the ability to reset the BIT counter used in CBIT.

Background BIT Threshold
Function:Sets background BIT Threshold value to use for all channels for BIT failure indication. This value is a scalar for the internal BIT counter, refer to Continuous Background Built-In Test. To filter out momentary or intermittent anomalies in background BIT errors, this value can be increased to allow the error to “come and go” before the BIT status is flagged.
Data Range:0x1 to 0xFFFF
Read/Write:R/W
Initialized Value:5
Reset BIT
Function:Resets the CBIT internal circuitry and count mechanism. Set the bit corresponding to the channel you want to clear.
Type:unsigned binary word (32-bit)
Data Range:0 to 0x0000 000F
Read/Write:W
Initialized Value:0
Operational Settings:Set bit to 1 for channel to resets the CBIT mechanisms. Bit is self-clearing.
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000Ch4Ch3Ch2Ch1

Module Common Registers

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

Status and Interrupt Registers

The SC3 Module provides status registers for BIT, Channel, Summary and Channel FIFO.

BIT Status

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

BIT Status
Function:Sets the corresponding bit associated with the channel's BIT error.
Type:unsigned binary word (32-bits)
Data Range:0x0000 0000 to 0x000F 0FFF
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Edge/Level Interrupt)
Initialized Value:0

Note

BIT Status is a shared register between the SC3 and DT4 functions. Bits D11:D0 are dedicated to the DT4 functions and bits D19:D16 are dedicated to the SC3 function.

BIT Dynamic Status
BIT Latched Status
BIT Interrupt Enable
BIT Set Edge/Level Interrupt
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
000000000000SC3
Ch4
SC3
Ch3
SC3
Ch2
SC3
Ch1
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000DT4
Ch12
DT4
Ch11
DT4
Ch10
DT4
Ch9
DT4
Ch8
DT4
Ch7
DT4
Ch6
DT4
Ch5
DT4
Ch4
DT4
Ch3
DT4
Ch2
DT4
Ch1
Power-on BIT (PBIT) Complete

After power-on, the Power-on BIT Complete register should be checked to ensure that POST/PBIT/SBIT test is complete before reading the BIT Dynamic Status and BIT Latched Status registers.

Power-on BIT (PBIT) Complete
Function:Indication if Power-on BIT has completed.
Type:unsigned binary word (32-bits)
Data Range:0x0000 0000 to 0x0000 0001
Read/Write:R
Initialized Value:0
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
000000000000000PBIT Complete
Channel Status
Function:Sets the corresponding bit associated with each event type. There are separate registers for each channel.
Type:unsigned binary word (32-bits)
Data Range:See table.
Read/Write:R (Dynamic), R/W (Latched, Interrupt Enable, Set Edge/Level Interrupt)
Initialized Value:0
Channel Dynamic Status
Channel Latched Status
Channel Interrupt Enable
Channel Set Edge/Level Interrupt
Bit(s)NameConfigurableDescription
D31Channel ConfiguredNoModule is configured and ready to operate.
D30Built-in-Self Test PassedNoIndicates the status of the last ran IBIT test.
D29:D18ReservedNoSet Reserved bits to 0.
D17Gap Timeout OccurredYesRx FIFO has data in it, but there hasn't been activity on the bus in 3-byte times.
D16GPI 2NoBinary value of general-purpose input 2.
D15CTS/GPI1NoBinary value of general-purpose input 1 or CTS.
D14CTS Low Detect (fall)NoCTS falling edge detected.
D13CTS High Detect (rise)NoCTS rising edge detected.
D12ReservedNoSet Reserved bits to 0.
D11Break/AbortNoBreak recognized.
D10Timeout OccurredYesNo receive line activity within timeout value.
D9Tx CompleteNoWhile transmitting, Tx FIFO count reaches zero.
D8Tx FIFO Almost EmptyYesTransmit FIFO Almost Empty Threshold reached.
D7Low Watermark ReachedYesRx Buffer Low Watermark Threshold reached.
D6High Watermark ReachedYesRx Buffer High Watermark Threshold reached.
D5Rx OverrunNoData was received while the Rx FIFO was full.
D4Rx Data AvailableNoReceive FIFO count is greater than zero.
D3Rx Complete/ET x ReceivedNoAsync: Termination character received (Only if termination detection is turned on.) HDLC: End of frame flag detected. Mono/Bi-Sync: Termination character received.
D2CRC Error (Sync & HDLC)NoCRC calculation did not match.
D1Rx FIFO Almost FullYesReceive FIFO Almost Full Threshold
D0Parity ErrorNoParity bit did not match.

Note

For the Latched Channel Status register, the interrupts are cleared when a 1 is written to the specific bit.

Channel FIFO Status
Function:Describes current FIFO Status.
Type:unsigned binary word (32-bits)
Data Range:See Table
Read/Write:R
Initialized Value:0
Operational Settings:See Rx Almost Full, Tx Almost Empty, Rx High Watermark and Rx Low Watermark specific registers for function description and programming.
Bit(s)NameConfigurable?Description
D5Tx FIFO FullNoTx FIFO has reached maximum buffer size.
D4Rx FIFO EmptyNoRx FIFO count is zero.
D3Low Watermark ReachedYesRx Buffer Low Watermark Threshold reached.
D2High Watermark ReachedYesRx Buffer High Watermark Threshold reached.
D1Tx FIFO Almost EmptyYesTx FIFO Almost Empty Threshold reached.
D0Rx FIFO Almost FullYesRx FIFO Almost Full Threshold reached
D31D30D29D28D27D26D25D24D23D22D21D20D19D18D17D16
0000000000000000
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0
0000000000DDDDDD

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

Function Register Map

KEY

Incoming Data
Outgoing Data
Configuration/Control
Status
RECEIVE REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1004Receive FIFO Buffer Ch 1R0x100CReceive FIFO Buffer Word Count Ch 1R
0x1084Receive FIFO Buffer Ch 2R0x108CReceive FIFO Buffer Word Count Ch 2R
0x1104Receive FIFO Buffer Ch 3R0x110CReceive FIFO Buffer Word Count Ch 3R
0x1184Receive FIFO Buffer Ch 4R0x118CReceive FIFO Buffer Word Count Ch 4R
0x1034Receive FIFO Buffer Almost Full Ch 1R/W0x1038Receive FIFO Buffer High Watermark Ch 1R/W
0x10B4Receive FIFO Buffer Almost Full Ch 2R/W0x10B8Receive FIFO Buffer High Watermark Ch 2R/W
0x1134Receive FIFO Buffer Almost Full Ch 3R/W0x1138Receive FIFO Buffer High Watermark Ch 3R/W
0x11B4Receive FIFO Buffer Almost Full Ch 4R/W0x11B8Receive FIFO Buffer High Watermark Ch 4R/W
0x103CReceive FIFO Buffer Low Watermark Ch 1R/W
0x10BCReceive FIFO Buffer Low Watermark Ch 2R/W
0x113CReceive FIFO Buffer Low Watermark Ch 3R/W
0x11BCReceive FIFO Buffer Low Watermark Ch 4R/W
TRANSMIT REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1000Transmit FIFO Buffer Ch 1W0x1008Transmit FIFO Buffer Word Count Ch 1R
0x1080Transmit FIFO Buffer Ch 2W0x1088Transmit FIFO Buffer Word Count Ch 2R
0x1100Transmit FIFO Buffer Ch 3W0x1108Transmit FIFO Buffer Word Count Ch 3R
0x1180Transmit FIFO Buffer Ch 4W0x1188Transmit FIFO Buffer Word Count Ch 4R
0x1030Transmit FIFO Buffer Almost Empty Ch 1R/W
0x10B0Transmit FIFO Buffer Almost Empty Ch 2R/W
0x1130Transmit FIFO Buffer Almost Empty Ch 3R/W
0x11B0Transmit FIFO Buffer Almost Empty Ch 4R/W
CONFIGURATION REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1018Interface Levels Ch 1R/W0x1028Baud Rate Ch 1R/W
0x1098Interface Levels Ch 2R/W0x10A8Baud Rate Ch 2R/W
0x1118Interface Levels Ch 3R/W0x1128Baud Rate Ch 3R/W
0x1198Interface Levels Ch 4R/W0x11A8Baud Rate Ch 4R/W
0x1010Protocol Ch 1R/W0x101CTx-Rx Configuration Ch 1R/W
0x1090Protocol Ch 2R/W0x109CTx-Rx Configuration Ch 2R/W
0x1110Protocol Ch 3R/W0x111CTx-Rx Configuration Ch 3R/W
0x1190Protocol Ch 4R/W0x119CTx-Rx Configuration Ch 4R/W
0x1050Termination Character Ch 1R/W
0x10D0Termination Character Ch 2R/W
0x1150Termination Character Ch 3R/W
0x11D0Termination Character Ch 4R/W
ASYNC ONLY CONFIGURATION REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1024Data Configuration Ch 1R/W0x1054Time Out Value Ch 1R/W
0x10A4Data Configuration Ch 2_R/W0x10D4Time Out Value Ch 2R/W
0x1124Data Configuration Ch 3_R/W0x1154Time Out Value Ch 3R/W
0x11A4Data Configuration Ch 4_R/W0x11D4Time Out Value Ch 4R/W
0x1048XON Character Ch 1R/W0x104CXOFF Character Ch 1R/W
0x10C8XON Character Ch 2R/W0x10CCXOFF Character Ch 2R/W
0x1148XON Character Ch 3R/W0x114CXOFF Character Ch 3R/W
0x11C8XON Character Ch 4R/W0x11CCXOFF Character Ch 4R/W
SYNC ONLY CONFIGURATION REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1014Clock Mode Ch 1R/W0x1040HDLC Rx Address/Sync Character Ch 1R/W
0x1094Clock Mode Ch 2R/W0x10C0HDLC Rx Address/Sync Character Ch 2R/W
0x1114Clock Mode Ch 3R/W0x1140HDLC Rx Address/Sync Character Ch 3R/W
0x1194Clock Mode Ch 4R/W0x11C0HDLC Rx Address/Sync Character Ch 4R/W
0x1044HDLC Tx Address/Sync Character Ch 1R/W0x102CPreamble Ch 1R/W
0x10C4HDLC Tx Address/Sync Character Ch 2R/W0x10ACPreamble Ch 2R/W
0x1144HDLC Tx Address/Sync Character Ch 3R/W0x112CPreamble Ch 3R/W
0x11C4HDLC Tx Address/Sync Character Ch 4R/W0x11ACPreamble Ch 4R/W
CONTROL REGISTERS
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1020Channel Control Ch 1R/W
0x10A0Channel Control Ch 2R/W
0x1120Channel Control Ch 3R/W
0x11A0Channel Control Ch 4R/W
BIT 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).
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0800Dynamic StatusR
0x0804Latched Status*R/W
0x0808Interrupt EnableR/W
0x080CSet Edge/Level InterruptR/W
NOTE: Base Address - 0x4010 0000
0x0248Test EnabledR/W0x02ACPower-on BIT Complete++R
0x02B8Background BIT ThresholdR/W0x02BCReset BITW
++After power-on, Power-on BIT Complete should be checked before reading the BIT Latched Status.
CHANNEL 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).
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0900Channel Dynamic Status Ch 1R0x0910Channel Dynamic Status Ch 2R
0x0904Channel Latched Status Ch 1*R/W0x0914Channel Latched Status Ch 2*R/W
0x0908Channel Interrupt Enable Ch 1R/W0x0918Channel Interrupt Enable Ch 2R/W
0x090CChannel Set Edge/Level Interrupt Ch 1R/W0x091CChannel Set Edge/Level Interrupt Ch 2R/W
0x0920Channel Dynamic Status Ch 3R0x0930Channel Dynamic Status Ch 4R
0x0924Channel Latched Status Ch 3*R/W0x0934Channel Latched Status Ch 4*R/W
0x0928Channel Interrupt Enable Ch 3R/W0x0938Channel Interrupt Enable Ch 4R/W
0x092CChannel Set Edge/Level Interrupt Ch 3R/W0x093CChannel Set Edge/Level Interrupt Ch 4R/W
FIFO STATUS REGISTER
NOTE: Base Address - 0x4010 0000
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x1058FIFO Status Ch 1R
0x10D8FIFO Status Ch 2R
0x1158FIFO Status Ch 3R
0x11D8FIFO Status Ch 4R
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. NOTE: Vector/Steering 1-7 & 27-28 are allocated for the Discrete I/O function; vector/steering 17-20 are allocated for the Serial Function
OFFSETREGISTER NAMEACCESSOFFSETREGISTER NAMEACCESS
0x0500Module 1 Interrupt Vector 1 - BITR/W0x0600Module 1 Interrupt Steering 1 - BITR/W
0x0504Module 1 Interrupt Vector 2 - Low-HighR/W0x0604Module 1 Interrupt Steering 2 - Low-HighR/W
0x0508Module 1 Interrupt Vector 3 - High LowR/W0x0608Module 1 Interrupt Steering 3 - High LowR/W
0x050CModule 1 Interrupt Vector 4 - OvercurrentR/W0x060CModule 1 Interrupt Steering 4 - OvercurrentR/W
0x0510Module 1 Interrupt Vector 5 - Max-HighR/W0x0610Module 1 Interrupt Steering 5 - Max-HighR/W
0x0514Module 1 Interrupt Vector 6 - Min-LowR/W0x0614Module 1 Interrupt Steering 6 - Min-LowR/W
0x0518Module 1 Interrupt Vector 7 - Mid RangeR/W0x0618Module 1 Interrupt Steering 7 - Mid RangeR/W
0x051C to 0x053CModule 1 Interrupt Vector 8 to 16 - ReservedR/W0x061C to 0x063CModule 1 Interrupt Steering 8 to 16 - ReservedR/W
0x0540Module 1 Interrupt Vector 17 - Channel Status Ch 1R/W0x0640Module 1 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0544Module 1 Interrupt Vector 18 - Channel Status Ch 2R/W0x0644Module 1 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0548Module 1 Interrupt Vector 19 - Channel Status Ch 3R/W0x0648Module 1 Interrupt Steering 19 - Channel Status Ch 3R/W
0x054CModule 1 Interrupt Vector 20 - Channel Status Ch 4R/W0x064CModule 1 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0550 to 0x0564Module 1 Interrupt Vector 21 to 26 - ReservedR/W0x0650 to 0x0664Module 1 Interrupt Steering 21 to 26 - ReservedR/W
0x0568Module 1 Interrupt Vector 27 - Summary StatusR/W0x0668Module 1 Interrupt Steering 27 - Summary StatusR/W
0x056CModule 1 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x066CModule 1 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0570 to 0x057CModule 1 Interrupt Vector 29 to 32 - ReservedR/W0x0670 to 0x067CModule 1 Interrupt Steering 29 to 32 - ReservedR/W
0x0700Module 2 Interrupt Vector 1 - BITR/W0x0800Module 2 Interrupt Steering 1 - BITR/W
0x0704Module 2 Interrupt Vector 2 - Low-HighR/W0x0804Module 2 Interrupt Steering 2 - Low-HighR/W
0x0708Module 2 Interrupt Vector 3 - High LowR/W0x0808Module 2 Interrupt Steering 3 - High LowR/W
0x070CModule 2 Interrupt Vector 4 - OvercurrentR/W0x080CModule 2 Interrupt Steering 4 - OvercurrentR/W
0x0710Module 2 Interrupt Vector 5 - Max-HighR/W0x0810Module 2 Interrupt Steering 5 - Max-HighR/W
0x0714Module 2 Interrupt Vector 6 - Min-LowR/W0x0814Module 2 Interrupt Steering 6 - Min-LowR/W
0x0718Module 2 Interrupt Vector 7 - Mid RangeR/W0x0818Module 2 Interrupt Steering 7 - Mid RangeR/W
0x071C to 0x073CModule 2 Interrupt Vector 8 to 16 - ReservedR/W0x081C to 0x083CModule 2 Interrupt Steering 8 to 16 - ReservedR/W
0x0740Module 2 Interrupt Vector 17 - Channel Status Ch 1R/W0x0840Module 2 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0744Module 2 Interrupt Vector 18 - Channel Status Ch 2R/W0x0844Module 2 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0748Module 2 Interrupt Vector 19 - Channel Status Ch 3R/W0x0848Module 2 Interrupt Steering 19 - Channel Status Ch 3R/W
0x074CModule 2 Interrupt Vector 20 - Channel Status Ch 4R/W0x084CModule 2 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0750 to 0x0764Module 2 Interrupt Vector 21 to 26 - ReservedR/W0x0850 to 0x0864Module 2 Interrupt Steering 21 to 26 - ReservedR/W
0x0768Module 2 Interrupt Vector 27 - Summary StatusR/W0x0868Module 2 Interrupt Steering 27 - Summary StatusR/W
0x076CModule 2 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x086CModule 2 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0770 to 0x077CModule 2 Interrupt Vector 29 to 32 - ReservedR/W0x0870 to 0x087CModule 2 Interrupt Steering 29 to 32 - ReservedR/W
0x0900Module 3 Interrupt Vector 1 - BITR/W0x0A00Module 3 Interrupt Steering 1 - BITR/W
0x0904Module 3 Interrupt Vector 2 - Low-HighR/W0x0A04Module 3 Interrupt Steering 2 - Low-HighR/W
0x0908Module 3 Interrupt Vector 3 - High LowR/W0x0A08Module 3 Interrupt Steering 3 - High LowR/W
0x090CModule 3 Interrupt Vector 4 - OvercurrentR/W0x0A0CModule 3 Interrupt Steering 4 - OvercurrentR/W
0x0910Module 3 Interrupt Vector 5 - Max-HighR/W0x0A10Module 3 Interrupt Steering 5 - Max-HighR/W
0x0914Module 3 Interrupt Vector 6 - Min-LowR/W0x0A14Module 3 Interrupt Steering 6 - Min-LowR/W
0x0918Module 3 Interrupt Vector 7 - Mid RangeR/W0x0A18Module 3 Interrupt Steering 7 - Mid RangeR/W
0x091C to 0x093CModule 3 Interrupt Vector 8 to 16 - ReservedR/W0x0A1C to 0x0A3CModule 3 Interrupt Steering 8 to 16 - ReservedR/W
0x0940Module 3 Interrupt Vector 17 - Channel Status Ch 1R/W0x0A40Module 3 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0944Module 3 Interrupt Vector 18 - Channel Status Ch 2R/W0x0A44Module 3 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0948Module 3 Interrupt Vector 19 - Channel Status Ch 3R/W0x0A48Module 3 Interrupt Steering 19 - Channel Status Ch 3R/W
0x094CModule 3 Interrupt Vector 20 - Channel Status Ch 4R/W0x0A4CModule 3 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0950 to 0x0964Module 3 Interrupt Vector 21 to 26 - ReservedR/W0x0A50 to 0x0A64Module 3 Interrupt Steering 21 to 26 - ReservedR/W
0x0968Module 3 Interrupt Vector 27 - Summary StatusR/W0x0A68Module 3 Interrupt Steering 27 - Summary StatusR/W
0x096CModule 3 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0A6CModule 3 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0970 to 0x097CModule 3 Interrupt Vector 29 to 32 - ReservedR/W0x0A70 to 0x0A7CModule 3 Interrupt Steering 29 to 32 - ReservedR/W
0x0B00Module 4 Interrupt Vector 1 - BITR/W0x0C00Module 4 Interrupt Steering 1 - BITR/W
0x0B04Module 4 Interrupt Vector 2 - Low-HighR/W0x0C04Module 4 Interrupt Steering 2 - Low-HighR/W
0x0B08Module 4 Interrupt Vector 3 - High LowR/W0x0C08Module 4 Interrupt Steering 3 - High LowR/W
0x0B0CModule 4 Interrupt Vector 4 - OvercurrentR/W0x0C0CModule 4 Interrupt Steering 4 - OvercurrentR/W
0x0B10Module 4 Interrupt Vector 5 - Max-HighR/W0x0C10Module 4 Interrupt Steering 5 - Max-HighR/W
0x0B14Module 4 Interrupt Vector 6 - Min-LowR/W0x0C14Module 4 Interrupt Steering 6 - Min-LowR/W
0x0B18Module 4 Interrupt Vector 7 - Mid RangeR/W0x0C18Module 4 Interrupt Steering 7 - Mid RangeR/W
0x0B1C to 0x0B3CModule 4 Interrupt Vector 8 to 16 - ReservedR/W0x0C1C to 0x0C3CModule 4 Interrupt Steering 8 to 16 - ReservedR/W
0x0B40Module 4 Interrupt Vector 17 - Channel Status Ch 1R/W0x0C40Module 4 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0B44Module 4 Interrupt Vector 18 - Channel Status Ch 2R/W0x0C44Module 4 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0B48Module 4 Interrupt Vector 19 - Channel Status Ch 3R/W0x0C48Module 4 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0B4CModule 4 Interrupt Vector 20 - Channel Status Ch 4R/W0x0C4CModule 4 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0B50 to 0x0B64Module 4 Interrupt Vector 21 to 26 - ReservedR/W0x0C50 to 0x0C64Module 4 Interrupt Steering 21 to 26 - ReservedR/W
0x0B68Module 4 Interrupt Vector 27 - Summary StatusR/W0x0C68Module 4 Interrupt Steering 27 - Summary StatusR/W
0x0B6CModule 4 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0C6CModule 4 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0B70 to 0x0B7CModule 4 Interrupt Vector 29 to 32 - ReservedR/W0x0C70 to 0x0C7CModule 4 Interrupt Steering 29 to 32 - ReservedR/W
0x0D00Module 5 Interrupt Vector 1 - BITR/W0x0E00Module 5 Interrupt Steering 1 - BITR/W
0x0D04Module 5 Interrupt Vector 2 - Low-HighR/W0x0E04Module 5 Interrupt Steering 2 - Low-HighR/W
0x0D08Module 5 Interrupt Vector 3 - High LowR/W0x0E08Module 5 Interrupt Steering 3 - High LowR/W
0x0D0CModule 5 Interrupt Vector 4 - OvercurrentR/W0x0E0CModule 5 Interrupt Steering 4 - OvercurrentR/W
0x0D10Module 5 Interrupt Vector 5 - Max-HighR/W0x0E10Module 5 Interrupt Steering 5 - Max-HighR/W
0x0D14Module 5 Interrupt Vector 6 - Min-LowR/W0x0E14Module 5 Interrupt Steering 6 - Min-LowR/W
0x0D18Module 5 Interrupt Vector 7 - Mid RangeR/W0x0E18Module 5 Interrupt Steering 7 - Mid RangeR/W
0x0D1C to 0x0D3CModule 5 Interrupt Vector 8 to 16 - ReservedR/W0x0E1C to 0x0E3CModule 5 Interrupt Steering 8 to 16 - ReservedR/W
0x0D40Module 5 Interrupt Vector 17 - Channel Status Ch 1R/W0x0E40Module 5 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0D44Module 5 Interrupt Vector 18 - Channel Status Ch 2R/W0x0E44Module 5 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0D48Module 5 Interrupt Vector 19 - Channel Status Ch 3R/W0x0E48Module 5 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0D4CModule 5 Interrupt Vector 20 - Channel Status Ch 4R/W0x0E4CModule 5 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0D50 to 0x0D64Module 5 Interrupt Vector 21 to 26 - ReservedR/W0x0E50 to 0x0E64Module 5 Interrupt Steering 21 to 26 - ReservedR/W
0x0D68Module 5 Interrupt Vector 27 - Summary StatusR/W0x0E68Module 5 Interrupt Steering 27 - Summary StatusR/W
0x0D6CModule 5 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x0E6CModule 5 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0D70 to 0x0D7CModule 5 Interrupt Vector 29 to 32 - ReservedR/W0x0E70 to 0x0E7CModule 5 Interrupt Steering 29 to 32 - ReservedR/W
0x0F00Module 6 Interrupt Vector 1 - BITR/W0x1000Module 6 Interrupt Steering 1 - BITR/W
0x0F04Module 6 Interrupt Vector 2 - Low-HighR/W0x1004Module 6 Interrupt Steering 2 - Low-HighR/W
0x0F08Module 6 Interrupt Vector 3 - High LowR/W0x1008Module 6 Interrupt Steering 3 - High LowR/W
0x0F0CModule 6 Interrupt Vector 4 - OvercurrentR/W0x100CModule 6 Interrupt Steering 4 - OvercurrentR/W
0x0F10Module 6 Interrupt Vector 5 - Max-HighR/W0x1010Module 6 Interrupt Steering 5 - Max-HighR/W
0x0F14Module 6 Interrupt Vector 6 - Min-LowR/W0x1014Module 6 Interrupt Steering 6 - Min-LowR/W
0x0F18Module 6 Interrupt Vector 7 - Mid RangeR/W0x1018Module 6 Interrupt Steering 7 - Mid RangeR/W
0x0F1C to 0x0F3CModule 6 Interrupt Vector 8 to 16 - ReservedR/W0x101C to 0x103CModule 6 Interrupt Steering 8 to 16 - ReservedR/W
0x0F40Module 6 Interrupt Vector 17 - Channel Status Ch 1R/W0x1040Module 6 Interrupt Steering 17 - Channel Status Ch 1R/W
0x0F44Module 6 Interrupt Vector 18 - Channel Status Ch 2R/W0x1044Module 6 Interrupt Steering 18 - Channel Status Ch 2R/W
0x0F48Module 6 Interrupt Vector 19 - Channel Status Ch 3R/W0x1048Module 6 Interrupt Steering 19 - Channel Status Ch 3R/W
0x0F4CModule 6 Interrupt Vector 20 - Channel Status Ch 4R/W0x104CModule 6 Interrupt Steering 20 - Channel Status Ch 4R/W
0x0F50 to 0x0F64Module 6 Interrupt Vector 21 to 26 - ReservedR/W0x1050 to 0x1064Module 6 Interrupt Steering 21 to 26 - ReservedR/W
0x0F68Module 6 Interrupt Vector 27 - Summary StatusR/W0x1068Module 6 Interrupt Steering 27 - Summary StatusR/W
0x0F6CModule 6 Interrupt Vector 28 - WDT & Inter-FPGA FailureR/W0x106CModule 6 Interrupt Steering 28 - WDT & Inter-FPGA FailureR/W
0x0F70 to 0x0F7CModule 6 Interrupt Vector 29 to 32 - ReservedR/W0x1070 to 0x107CModule 6 Interrupt Steering 29 to 32 - ReservedR/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)4 CH Serial (Async) & 12 CH Discrete I/O (CM4)4 CH Serial (Sync) & 12 CH Discrete I/O (CM4)
DATIO121012IO-CH01IO-CH01
DATIO224352627IO-CH02IO-CH02
DATIO331123IO-CH03IO-CH03
DATIO425362728IO-CH04IO-CH04
DATIO551345VCC1 (1-6)VCC1 (1-6)
DATIO627382930DT-IO-GNDDT-IO-GND
DATIO771456IO-CH07IO-CH07
DATIO829393031IO-CH08IO-CH08
DATIO981567IO-CH09IO-CH09
DATIO1030403132IO-CH10IO-CH10
DATIO11101789VCC2 (7-12)VCC2 (7-12)
DATIO1232423334DT-IO-GNDDT-IO-GND
DATIO131218917RXDLO-CH1*RXDLO-CH1*
DATIO1434433442RXDHI-CH1*RXDHI-CH1*
DATIO1513191018TXDLO-CH1*TXDLO-CH1*
DATIO1635443543TXDHI-CH1*TXDHI-CH1*
DATIO1715211220RXDLO-CH2*RXDLO-CH2*
DATIO1837463745RXDHI-CH2*RXDHI-CH2*
DATIO1917221321TXDLO-CH2*TXDLO-CH2*
DATIO2039473846TXDHI-CH2*TXDHI-CH2*
DATIO2118231422RXDLO-CH3*CLKIN-LO-CH1*
DATIO2240483947RXDHI-CH3*CLKIN-HI-CH1*
DATIO2320251624TXDLO-CH3*CLKOUT-LO-CH1*
DATIO2442504149TXDHI-CH3*CLKOUT-HI-CH1*
DATIO2541234IO-CH05IO-CH05
DATIO2626372829IO-CH06IO-CH05
DATIO2791678IO-CH11IO-CH11
DATIO2831413233IO-CH12IO-CH12
DATIO2914201119RXDLO-CH4*CLKIN-LO-CH2*
DATIO3036453644RXDHI-CH4*CLKIN-HI-CH2*
DATIO3119241523TXDLO-CH4*CLKOUT-LO-CH2*
DATIO3241494048TXDHI-CH4*CLKOUT-HI-CH2*
DATIO336
DATIO3428
DATIO3511
DATIO3633
DATIO3716
DATIO3838
DATIO3921
DATIO4043
N/A

*Pin signals for SC3 function are dependent on number of channels used and how those channels are programmed. See table below for additional pinout details.

CM4 (SC3 Function) PinoutsRS232 AsyncRS232 GPIORS232 Async w/ HW FlowRS232 SyncRS422/485 AsyncRS422/485 GPIORS422/485 Async w/ HW FlowRS422/485 Sync
RXDLO-CH1RXD-CH1GPI2-CH1RXD-CH1RXD-CH1RXDLO-CH1GPI-LO-CH1RXDLO-CH1RXDLO-CH1
RXDHI-CH1n/aGPI1-CH1n/an/aRXDHI-CH1GPI-HI-CH1RXDHI-CH1RXDHI-CH1
TXDLO-CH1TXD-CH1GPO2-CH1TXD-CH1TXD-CH1TXDLO-CH1GPO-LO-CH1TXDLO-CH1TXDLO-CH1
TXDHI-CH1n/aGPO1-CH1n/an/aTXDHI-CH1GPO-HI-CH1TXDHI-CH1TXDHI-CH1
RXDLO-CH2RXD-CH2GPI2-CH2RXD-CH2RXD-CH2RXDLO-CH2GPI-LO-CH2RXDLO-CH2RXDLO-CH2
RXDHI-CH2n/aGPI1-CH2n/an/aRXDHI-CH2GPI-HI-CH2RXDHI-CH2RXDHI-CH2
TXDLO-CH2TXD-CH2GPO2-CH2TXD-CH2TXD-CH2TXDLO-CH2GPO-LO-CH2TXDLO-CH2TXDLO-CH2
TXDHI-CH2n/aGPO1-CH2n/an/aTXDHI-CH2GPO-HI-CH2TXDHI-CH2TXDHI-CH2
RXDLO-CH3RXD-CH3GPI2-CH3n/an/aRXDLO-CH3GPI-LO-CH3CTS-LO-CH1CLKIN-LO-CH1
RXDHI-CH3n/aGPI1-CH3CTS-CH1CLKIN-CH1RXDHI-CH3GPI-HI-CH3CTS-HI-CH1CLKIN-HI-CH1
TXDLO-CH3TXD-CH3GPO2-CH3n/an/aTXDLO-CH3GPO-LO-CH3RTS-LO-CH1CLKOUT-LO-CH1
TXDHI-CH3n/aGPO1-CH3RTS-CH1CLKOUTLO-CH1TXDHI-CH3GPO-HI-CH3RTS-HI-CH1CLKOUT-HI-CH 1
RXDLO-CH4RXD-CH4GPI2-CH4n/an/aRXDLO - 4GPI-LO-CH4CTS-LO-CH2CLKIN-LO-CH2
RXDHI-CH4n/aGPI1-CH4CTS-CH2CLKIN-CH2RXDHI - 4GPI-HI-CH4CTS-HI-CH2CLKIN-HI-CH 2
TXDLO-CH4TXD-CH4GPO2-CH4n/an/aTXDLO - 4GPO-LO-CH4RTS-LO-CH2CLKOUT-LO-CH2
TXDHI-CH4n/aGPO1-CH4RTS- CH2CLKOUTLO-CH2TXDHI - 4GPO-HI-CH4RTS-HI-CH2CLKOUT-HI-CH2

DOCS.NAII REVISIONS

Revision DateDescription
2026-03-19Initial release of CM4 manual.

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

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

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