Integrator Resources

The official home for NAI Support

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

Toggle Components with Visual Button
JavaScript Form Processing

MIL-STD-1553 and ARINC 429 Combination

CM5 Function Modules Combination Module: 2 Ch. Dual-Redundant MIL-STD-1553 & 8 Ch. ARINC 429/575 Communications Interfaces

The CM5 provides a combined function alternative which mitigates SWaP-C system integration and configuration challenges. The CM5 function essentially combines two of NAI’s popular functions on a single-slot function module:

MIL-STD-1553 Communications Interface : The CM5 smart function provides a MIL-STD-1553 interface Bus Controller (BC), Remote Terminal (RT) or Bus Monitor (BM) function (programmable per channel). The IP/Core MIL-STD-1553 firmware supports NAI software/API Assisted Mode Capability (AMC).

ARINC 429/575 Communications Interface : The CM5 smart function provides a fully programmable ARINC 429/575 communications interface. ARINC 429 (and legacy ARINC 575) is a data transfer standard for aircraft avionics. It uses a self-clocking, self-synchronizing data bus protocol. The physical connection wires are twisted pairs carrying balanced differential signaling. Data words are 32 bits in length and most messages consist of a single data word. Messages are transmitted at either 12.5 or 100 kbps to other system elements that monitor the bus messages. The transmitter constantly transmits either 32-bit data words or the NULL state. A single-wire pair is limited to one transmitter and no more than 20 receivers. The protocol allows for self-clocking at the receiver end, thus eliminating the need to transmit clocking data.

CM5img1

Features

•Independent (dual-redundant) MIL-STD-1553 interface channel: Bus Controller (BC), Remote Terminal (RT), and Bus Monitor (BM) or RT/BM combined mode operation •64KB onboard memory per channel •IP-core register-compatible with DDC™ family of devices •Ability to set message retry policy •Message scheduling capability •Asynchronous message capability •Message FIFO capability

Specifications

MIL-STD-1553

Number of Channels:

2 Dual-Redundant (Transformer-Coupled)

IP Core:

IP-core compatible with DDC™ family of devices. 64KB onboard memory per channel.

User Interface:

NAI Assisted Mode Capable (AMC) interface for rapid setup, transmission and/or reception of packets.

UI Onboard RAM:

Three 1K words FIFOs per channel

Operational Modes:

Programmable as Bus Controller (BC), Remote Terminal (RT), Bus Monitor (BM), or BM/RT

Output Signal:

~24 Vp-p, as per MIL-STD-1553

ARINC 429/575

Input/Output Format:

Eight channels, programmed for either Rx or Tx per channel

Frequency:

100 kHz or 12.5 kHz operation (programmable)

Buffers:

255 message FIFO Rx or Tx FIFO buffering or scheduled transmits; SDI/Label Filtering

Self-Test:

Loopback test

Format:

AR429 or 575 programmable/channel ARINC 429 reserves bit 32 for parity, while ARINC 575 can use bit 32 for either parity (when BNR) or data (when BCD).

Signal Levels Specifications

ARINC 429

ARINC 575

Mode of Operation

Differential

Differential

Data Rate

100 kHz

12.5 kHz

Driver Output Signal Level (Min Loaded)

±10.0 V

±10.0 V

Receiver Input Voltage Range

-17 V to +17 V

-17 V to +17 V

Receiver Input Resistance (Ohms)

15 K

15 K

General

Power:

5 VDC @ 1150 mA +/-12V @ 0.15 A MIL-STD-1553,, estimated at 100% duty cycle (1-channel)

Weight:

1.75 oz. (50 g)

abc

Architected for Versatility

NAI’s Custom-On-Standard Architecture™ (COSA®) offers a choice of over 40 Intelligent I/O, communications, or Ethernet switch functions, providing the highest packaging density and greatest flexibility of any 3U SBC in the industry. Preexisting, fully-tested functions can be combined in an unlimited number of ways quickly and easily.

Board Support Package and Software Support

The 75PPC1 includes BSP and SDK support for Wind River® VxWorks®. In addition, software support kits are supplied, with source code and board-specific library I/O APIs, to facilitate system integration. Each I/O function has dedicated processing, unburdening the SBC from unnecessary data management overhead.

Background Built-In-Test (BIT)

BIT continuously monitors the status of all I/O during normal operations and is totally transparent to the user. SBC resources are not consumed while executing BIT routines. This simplifies maintenance, assures operational readiness, reduces life-cycle costs and— keeps your systems mission ready.

One-Source Efficiencies

Eliminate man-months of integration with a configured, field-proven system from NAI. Specification to deployment is a seamless experience as all design, state-of-the-art manufacturing, assembly and test are performed— by one trusted source. All facilities are in the U.S. and optimized for high-mix/low volume production runs and extended lifecycle support.

Product Lifecycle Management

From design-in to production, and beyond, NAI’s product lifecycle management strategy ensures the long-term availability of COTS products through configuration management, technology refresh, and obsolescence component purchase and storage.

INTRODUCTION

As a leading manufacturer of smart function modules, NAI offers over 100 different modules that cover a wide range of I/O, measurement and simulation, communications, Ethernet switch, and SBC functions. Our CM5 combination module offers users the functionality of two COSA® smart function modules in one physical module. Based on NAI’s FTB (MIL-STD-1553B) and AR1 modules, the CM5 provides two MIL-STD- 1553B, Notice 2 compliant interface channels, and eight channels of ARINC 429/575 I/O that are programmable for either Rx or Tx per channel. This user manual is designed to help you get the most out of our CM5 smart function module.

CM5 Overview

NAI’s CM5 module offers a wide range of features designed to suit a variety of system requirements, including: MIL-STD-1553B (FTB Module-Type) Features

Independent Dual-Redundant Channels:

The FTB function provides two dual-redundant MIL-STD-1553B interface channels. Each channel can be configured to act as a Bus Controller (BC), Remote Terminal (RT), Bus Monitor (BM), or RT/BM combined mode. This flexibility allows for versatile operation and redundancy in critical systems.

Assisted Mode (AM):

The FTB function utilizes a built-in secondary (ARM) processor dedicated to ‘assisting' the movement of 1553 messages from the 1553 device to host interface, minimizing host CPU activity (reads & writes to device), reducing application memory required on the host, and improving data transfer time between 1553 device and host interface while also reducing data transfer delays.

Ample On-Board Memory:

With a substantial 64K words of on-board memory per channel, this function offers ample storage capacity for data and messages, facilitating efficient data handling and processing.

IP-Core Register Compatibility:

Users familiar with the DDC™ family of devices will appreciate that the function’s IP-core registers are compatible with these devices. This compatibility ensures seamless integration into existing systems and reduces the learning curve for engineers already familiar with DDC™ products.

Message Retry Policy:

The FTB function provides the ability to configure and set a message retry policy, proving invaluable in ensuring data integrity and system reliability, particularly in environments where communication errors may occur.

Message Scheduling Capability:

This feature allows precise timing and coordination of messages, making it ideal for applications that require synchronized data exchange.

Asynchronous Message Capability:

The FTB function supports asynchronous messaging, which is crucial for real-time systems where data needs to be transmitted and received without fixed time intervals. This feature ensures efficient communication in dynamic environments.

Message FIFO Capability:

The inclusion of a message FIFO (First-In-First-Out) capability enhances data management and flow control. Users can optimize data handling and prioritize messages as needed, contributing to system efficiency.

ARINC 429/575 (AR1 Module-Type) Features

ARINC communications:

The AR1 function supports the following ARINC communications:

ARINC 429

ARINC 429 is a widely adopted data transfer standard, serving as an alternative to MIL-STD-1553. It utilizes a self-clocking, selfsynchronizing data bus protocol with separate transmit and receive ports. The physical connection consists of twisted pairs carrying balanced differential signaling. Each data word is 32 bits in length, with most messages containing a single data word. Messages are transmitted at either 12.5 or 100 kbps, allowing other system elements to monitor the bus messages. The transmitter continuously transmits 32-bit data words or the NULL state. A single-wire pair can accommodate one transmitter and up to 20 receivers. Notably, the receiver end of the protocol enables self-clocking, eliminating the need for transmitting clocking data.

ARINC 575

In addition to ARINC 429, the AR1 function also supports ARINC 575, a data transfer protocol specifically used for the Digital Air Data System (DADS) on commercial and transport aircraft. ARINC 575 defines a digital data bus that distributes crucial air-data information to displays, autopilots, and flight control instrumentation.

While there are minor differences between the digital data bus of ARINC 575 and ARINC 429, the most significant distinction lies in the usage of bit 32. In ARINC 429, bit 32 is reserved for parity, whereas ARINC 575 can utilize bit 32 for either parity (when using BNR encoding) or data (when using BCD encoding).

Receive/Transmit Mode Programmability:

Each channel of the AR1 function can be programmed to operate in either receive or transmit mode according to your specific application needs.

Flexible Operation:

The AR1 function supports both 100 kHz and 12.5 kHz operation per channel, allowing you to choose the appropriate speed for your communication requirements.

Transmit Capabilities:

Enjoy the convenience of a 255 message FIFO or scheduled transmits per channel, allowing you to efficiently manage and control the transmission of messages. Additionally, asynchronous transmits can be performed alongside scheduled transmits.

Receive Capabilities:

Benefit from a 255 message FIFO or mailbox buffering per channel, providing ample storage for incoming messages. This ensures reliable reception and efficient handling of data.

Message Validation:

The AR1 function supports SDI/Label Filtering, enabling you to validate received messages based on specific criteria per channel. This feature enhances the overall data integrity and ensures only relevant information is processed.

Hardware parity:

You have the option to enable selectable hardware parity generation/checking, which adds an extra layer of data integrity verification during transmission and reception.

Receive Time Stamping:

Gain valuable insight into message reception with the functions’s receive time stamping feature. This allows precise timing analysis and synchronization in your communication system.

Continuous Built-In Test (BIT):

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

Loop-Back Test:

Verify the integrity of the AR1 function by performing loop-back tests. This feature allows you to validate the communication path and confirm proper functionality.

Tri-State Outputs:

The AR1 function’s outputs support tri-state functionality, allowing you to control the state of the outputs as needed. This enables seamless integration with other system components.

High and Low-Speed Slew Rate Outputs:

The AR1 function offers both high and low-speed slew rate outputs, providing flexibility in meeting the requirements of various communication interfaces.

MIL-STD-1553B

The MIL-STD-1553B communications function is similar to the standard FTB communications function module (FTB may be used as a reference/guide within the context of this document)

Principle of Operation

The CM5 provides (2) channels of dual-redundant MIL-STD-1553B communication buses (FTB module-type). MIL-STD-1553 is a military standard that defines the characteristic for a Digital Time Division Command/Response Multiplexed Data Bus. The 1553 data bus is a dualredundant, bi-directional, Manchester II encoded data bus with a high bit error reliability. It is used commonly for both military and civilian applications in avionics, aircraft and spacecraft data handling.

Table 1 provides a summary of the MIL-STD-1553 characteristics.

|Terminal Types| |Bus Controller Remote Terminal Bus Monitor| |Number of Remote Terminals| |Maximum of 31| |Transmission Technique| |Half-duplex| |Operation| |Asynchronous| |Encoding| |Manchester II bi-phase leve| |Fault Tolerance| |Typically, Dual Redundant Bus, which means there are two independent bus networks (one bus is called the Primary or “A” bus and the other is the Secondary or “B” bus. 1553 messages are usually only transmitted on either the A or B bus network at a time, but it does not usually matter which bus is used for the message transfer – devices on the 1553 network are supposed to handle messages on either the A or B bus with equal priority.| |Coupling| |Transformer or direct| |Data Rate| |1 MHz| |Word Length| |20 bits| |Data Bits/Word| |16 bits| |Message Length| |Maximum of 32 Data Words| |Protocol| |Command/response| |Message Formats| |Bus Controller to Remote Terminal (BC-RT message) Remote Terminal to Bus Controller (RT-BC message) Remote Terminal to Remote Terminal (RT-RT message) Broadcast System control (Tx and Rx Mode codes)|

The MIL-STD-1553 Data Bus is defined as a twisted shielded pair transmission line consisting of the main bus and a number of stubs. There is one stub for each remote terminal connected to the bus. The main bus is terminated at each end with a resistance equal to the cable’s characteristic impedance (± 2%). This termination makes the data bus behave electrically like an infinite transmission line. Stubs, which are added to the main bus to connect the terminals, provide “local” loads and produce impedance mismatch where added. This mismatch, if not properly controlled, produces electrical reflections and degrades the performance of the main bus. Table 2 provides a summary of the MIL-STD-1553 Transmission Media characteristics.

*Table 2. Summary of MIL-STD-1553 Transmission Media Characteristics*

|Cable Type| |Twisted Shielded Pair| |Capacitance| |30.0 pF/ft max, wire to wire| |Characteristic Impedance| |70.0 to 85.0 ohms at 1 MHz| |Cable Attenuation| |1.5 dB/100 ft. max, at 1 MHz| |Cable Twists| |4 Twists per ft., minimum| |Shield Coverage| |90% minimum| |Cable Termination| |Cable impedance (± 2%)| |Direct Coupled Stub Length| |Maximum of 1 foot| |XFMR Coupled Stub Length| |Maximum of 20 feet|

Each 1553 channel on the FTA-FTF module employs a Sital Technology BRM1553D core, which is based on Sital’s proven 1553 IP cores, with DDC® Enhanced Mini-Ace® compatible interface. The core may operate in Bus Controller (BC), Remote Terminal (RT), Bus Monitor (BM) or RT/BM combined mode.

Bus Controller

The Bus Controller (BC) provides data flow control for all transmissions on the bus. In addition to initiating all data transfers, the BC must transmit, receive and coordinate the transfer of information on the data bus. All information is communicated in command/response mode – the BC sends a command to the RTs, which reply with a response, unless the message is BC→broadcast receive message, in which case, there will be no RT response.

Remote Terminal

The Remote Terminal (RT) is a device designed to interface various subsystems with the 1553 data bus. The RT receives and decodes commands from the BC, detects any errors and reacts to those errors. The RT must be able to properly handle both protocol errors (missing data, extra words, etc.) and electrical errors (waveform distortion, rise time violations, etc.). RT characteristics include: •Up to 31 Remote Terminals can be connected to the data bus •Each Remote Terminal can have 31 Sub addresses, where SA 0 and SA 31 signify a Mode code message. In which case the data word count would be the Mode Code number. •No Remote Terminal shall speak unless spoken to first by the Bus Controller and specifically commanded to transmit.

Bus Monitor

The Bus Monitor (BM) listens to all messages on the data bus and records selected activities. The BM is a passive device that collects data for real-time or post capture analysis. The BM can store all or portions of traffic on the bus, including electrical and protocol errors. BMs are primarily used for instrumentation and data bus testing.

MIL-STD-1553 Protocol

MIL-STD-1553 data bus system consists of a Bus Controller (BC) controlling multiple Remote Terminals (RT) all connected by a data bus providing a single data path between the Bus Controller and all the associated Remote Terminals. There may also be one or more Bus Monitors (BM); however, Bus Monitors are specifically not allowed to take part in data transfers and are only used to capture or record data for analysis.

Message Formats

The following transactions are allowed between the BC and a specific RT:

1.BC to RT Transfer The Bus Controller sends one 16-bit receive command word, immediately followed by 1 to 32 16-bit data words. The selected Remote Terminal then sends a single 16-bit Status word 2.RT to BC Transfer The Bus Controller sends one transmit command word to a Remote Terminal. The Remote Terminal then sends a single Status word, immediately followed by 1 to 32 data words. 3.Mode Command Without Data Word (Transmit) The Bus Controller sends one command word with a Sub-address of 0 or 31 signifying a Mode Code type command. The Remote Terminal responds with a Status word 4.Mode Command with Data Word (Transmit) The Bus Controller sends one command word with a Sub-address of 0 or 31 signifying a Mode Code type command. The Remote Terminal responds with a Status word immediately followed by a single Data word 5.Mode Command with Data Word (Receive) The Bus Controller sends one command word with a Sub-address of 0 or 31 signifying a Mode Code type command immediately followed by a single data word. The Remote Terminal responds with a Status word

The following transaction is allowed between the BC and a pair of RTs: 1.RT to RT Transfers The Bus Controller sends out one receive command word immediately followed by one transmit command word. The transmitting Remote Terminal sends a Status word to the BC, immediately followed by 1 to 32 data words to the receiving RT. The receiving Terminal then sends its Status word to the BC.

The following are broadcast transactions that are allowed between the BC and all capable RTs: 1.BC to RT(s) Transfers The Bus Controller sends one receive command word with a Terminal address of 31 signifying a broadcast type command, immediately followed by 0 to 32 data words. All Remote Terminals will accept the data but will not respond back to the BC

2.RT to RT(s) Transfers The Bus Controller sends out one receive command word with a Terminal address of 31 signifying a broadcast type command, immediately followed by one transmit command. The transmitting Remote Terminal sends a Status word immediately followed by 1 to 32 data words to all other RT(s). All Remote Terminals will accept the data but will not respond back to the BC.

3.Mode Code without Data Word (Broadcast) The Bus Controller sends one command word with a Terminal address of 31 signifying a broadcast type command and a sub-address of 0 or 31 signifying a Mode Code type command. No Remote Terminals will respond back to the BC.

4.Mode Code with Data Word (Broadcast) The Bus Controller sends one command word with a Terminal address of 31 signifying a broadcast type command and a sub-address of 0 or 31 signifying a Mode Code type command, immediately followed by one Data word, if it is an Rx Mode code. No Remote Terminals will respond.

CM5img2

Message Components

The following are three components that make up the 1553 messages: •Command Word •Data Word •Status Word Each word type is 20 bits in length. The first 3 bits are used as a synchronization field, thereby allowing the decode clock to re-sync at the beginning of each new word. The next 16 bits are the information field. The last bit is the parity bit. Parity is based on odd parity for the single word.

Command Word

The Command Word specifies the function that the Remote Terminal is to perform.

The RT Address field states which unique remote terminal the command is intended for (no two terminals may have the same address). Note the address of 0x00 (00000b) is a valid address, and the address 0x1F (11111b) is always reserved as a broadcast address. The maximum number of terminals the data bus can support is 31.

The Transmit/Receive bit defines the direction of information flow and is always from the point of view of the Remote Terminal. A transmit command (logic 1) indicates that the Remote Terminal is to transmit data, while a receive command (logic 0) indicates that the Remote Terminal is going to receive data

The Sub-Address/Mode Code and Word Count/Mode Code fields are defined as follows:

|Sub-Address/Mode Command Field| |Word Count/Mode Code Field| |0x00 (00000b) or 0x1F (11111b) indicates Mode Code Command| |Mode Code number to be performed| |0x01 (00001b) to 0x1E (11110b) indicates the Sub-Address 1 to Sub-Address 30| |Word Count – note 0x00 (00000b) is decoded as 32 data words|

Data Word

The Data Word contains the actual information that is being transferred within a message. Data Words can be transmitted by either a Remote Terminal (Transmit command) or a Bus Controller (Receive command).

Status Word

When the Remote Terminal receives a message, it will respond with a Status Word. The Status Word is used to convey to the Bus Controller whether a message was properly received or to convey the state of the Remote Terminal (i.e., service request, busy, etc.).

The RT Address in the Status Word should match the RT Address within the Command Word that the Remote Terminal received. With a RT-RT Transfer message, the RT address within either Status Word received (Rx or Tx), should match the RT address within the corresponding Command word sent (Rx or Tx).

|Status Bit| |Description| |Message Error (Bit 9)| |This bit is set by the Remote Terminal upon detection of an error in the message or upon detection of an invalid message (i.e. Illegal Command). The error may occur in any of the Data Words within the message. When the terminal detects an error and sets this bit, none of the data received within the message is used.| |Instrumentation (Bit 10)| |This bit is always set to logic “0”.| |Service Request (Bit 11)| |This bit is set to a logic “1” by the subsystem if servicing is needed. This bit is typically used when the Bus Controller is “polling” terminals to determine if they require processing.| |Broadcast Command Received (Bit 15)| |This bit indicates that the Remote Terminal received a valid broadcast command. On receiving a valid broadcast command, the Remote Terminal sets this bit to logic “1” and suppresses the transmission of its Status Word. The Bus Controller may issue a Transmit Status Word or Transmit Last Command Word Mode Code to determine if the Remote Terminal received the message properly.| |Busy (Bit 16)| |This bit indicates to the Bus Controller that the Remote Terminal is unable to move data between the Remote Terminal and the Sub-system in compliance to a command from the Bus Controller. In the earlier days of 1553, the Busy bit was required because many subsystem interfaces (analog, synchros, etc.) were much slower compared to the speed of the multiplex data bus. So instead of losing data, a terminal was able to set the Busy bit indicating to the Bus Controller to try again later. As new systems have been developed, the need for the busy bit has been reduced.| |Subsystem Flag (Bit 17)| |This bit provides “health” data regarding the subsystems to which the Remote Terminal is connected. Multiple subsystems may logically “OR” their bits together to form a composite health indicator.| |Dynamic Bus Control Acceptance Bit (Bit 19)| |This bit informs the Bus Controller that the Remote Terminal has received the Dynamic Bus Control Mode Code and has accepted control of the bus. The Remote Terminal, on transmitting its status word, becomes the Bus Controller. The Bus Controller, on receiving the status word from the Remote Terminal with this bit set, ceases to function as the Bus Controller and may become a Remote Terminal or Bus Monitor.| |Terminal Flag (Bit 20)| |This bit informs the Bus Controller of a fault or failure within the Remote Terminal. A logic “1” indicates a fault condition.|

CM5img3

External RT Address and Auto Start-up Modes

External discrete signals are available to support “hardwired” RT Address and configuration as well as start-up modes for MIL-STD-1760A.

External RT Address

The 1553 modules are completely software RT Address programmable and configurable. Notice 2 of the MIL-STD-1553 standard requires that the Remote Terminal address be wire-programmable from an external I/O connector, and the Remote Terminal perform an odd parity test upon on the wired terminal address. An open circuit on an address line is detected as a logic “1” and connecting the address line to ground is detected as a logic “0”. The 1553 modules provided the ability to externally set the RT Address and Parity via discrete signals (CHx-RT-ADDR (0-4) and CHxPARITY). These discrete signals are considered additional and optional based on specific application requirements. The discrete signals are single-ended and System-GND referenced.

Because of the platform (module-thru-board) available physical pin limitations, only one set of discrete signals are provided for a channel (CH) pair (channel pair 1 = CH1, CH2 and channel pair 2 = CH3, CH4). The discrete pins are provided for the odd-numbered channel, which will use these signals directly. The even channel of the channel pair will use these same pins, but the RT addressing for the even channel will be set as a “hard +1” offset from the odd-channel discrete pattern.

For example: If the CH1 external pins are either grounded or left open to yield: CH1-RT-ADDR0-4 pins + Parity pin = 01101 + 0 =0xD (13d)

and the hard offset for CH2 is “1” (0x1)
then, the CH1 RT address is 0xD (13d) (wired) and the CH2 RT address will be 0xE (14d) (wired plus the hard offset).

|DISCRETE SIGNAL PIN| |DESCRIPTION| |CHx-RT-ADDR0 thru CHx-RT-ADDR4| |Five (5) External RT address signal pins, binary bit-weighted (ADDR0=LSB); for applying a “hardwire” RT address (special applications only)| |CHx-PARIT| |Used in conjunction with external RT address signal pins. A single bit that complements the parity of CHx-RT-ADDR wire to odd parity. If the wrong parity is detected by core, only Broadcast commands would be valid for the core. If not masked, an interrupt will be generated in the event of wrong parity.|

Start-up Modes

In addition to supporting external RT Addressing, the 1553 modules provide discrete signals (CHx-STANDARD and CHx-MODE0) to support MILSTD-1760 auto start-up modes.

|DISCRETE SIGNAL PIN| |DESCRIPTION| |CHx-STANDARD| |‘1' – Support for MIL-STD-1760. Will power up as RT with Busy bit set. ‘0' – Powers up as inactive BC or Idle.| |CHx-MODE0| |‘1' – Support for MIL-STD-1760. Will power up as RT with Busy bit set. ‘0' – Powers up as inactive BC or Idle.|

Assisted Mode (AM)

The FTA-FTF 1553 modules have been improved to include the “Assisted Mode (AM)” feature. In the legacy FT1-FT6 modules, the 1553 messages are fetched from the 1553 device by accessing device registers directly from the host application as shown in Figure 1. The dotted lines indicate read/write access over the bus interface. The bus interface in some cases may be relatively “slow” (ex. Ethernet interface). In this design, four bus accesses are required from the host to fetch one new 1553 message. The number of accesses increases proportionately with the number of 1553 messages to fetch from the 1553 device.

CM5img4

The FTA-FTF 1553 modules utilize the secondary (ARM) processor built into the module that is dedicated for the purpose of “assisting” the movement of 1553 messages from the 1553 device to the host interface. This is made possible through a system of FIFOs that carry command and response messages to and from the host CPU to a bare metal application running on the secondary processor (refer to Diagram B in Figure 2). In addition, these modules have the option of funneling all 1553 messages (per channel) to a 4k byte Message FIFO (refer to Diagram A in Figure 2) that is accessible from the host.

CM5img5

In Figure 2, the dotted lines indicate slower bus read/write accesses (PCI, Ethernet) whereas the solid lines indicate fast bus accesses. When the Message FIFO is utilized (Diagram A), the Message FIFO is filled as new 1553 messages arrive. Moving the 1553 messages from the Message FIFO to the Host Processor requires 2 “slower” bus accesses to fetch all the new 1553 messages that are in the Message FIFO.

If the Message FIFO is not utilized (Diagram B only), for example to fully support DDC API compatibility, 2 writes and at least 2 reads via the “slower” bus is required to fetch one new 1553 message. The write access to the Command FIFO initiates the transfer of 1553 messages from the device to the Response FIFO and when the transfer is complete, the host can read the Response FIFO. In DDC API compatibility mode, the benefits of the “assisted” design provide significantly improved response times compared to the legacy FT module(s), especially with bulk 1553 transfers.

Figure 3 and Table 3 depict the latent time (time required for 1553 message(s) transfer from 1553 device to host memory when initiated by the host CPU) as a function of the number of 1553 messages being transferred. The three candidates for comparison are (1) Assisted Module running in Message FIFO Mode, (2) Assisted Module running in Standard Mode and (3) the Non-Assisted (Legacy) FT Module.

CM5img6

The benefits of this approach include: 1. Reduced number of host CPU reads and writes to the device. 2. Reduced host memory footprint (less application memory required on the host). 3. Lower latency from 1553 bus to host memory.

Status and Interrupts

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

Module Common Registers

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

AM Commands Registers

The Assisted Mode registers are comprised of registers that support the AM Command and AM 1553 Message FIFOs.

The registers associated with the AM Commands are divided into the following:

  • Command FIFO Management (FIFO Buffer, FIFO Count, FIFO Update)

  • Response FIFO Management (FIFO Buffer, FIFO Count) The Command FIFO registers are used by the host to send commands to the AM processor in order to configure and operate the 1553 IP core. For every command sent from the host processor to the AM processor, the AM processor responds with a message that is sent to the host processor via the Response FIFO Buffer. The content of the response message will vary depending on the command and may contain configuration information, status information or 1553 data.

AM Command FIFO Buffer

Function: Used to communicate with the 1553 core via the AM (secondary) processor.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: W

Initialized Value: 0

Operational Settings: The host writes a command message to the AM Command FIFO Buffer and it is read out by the secondary processor. The secondary processor acts on the 1553 core based on the command that was read out. The AM processor will be unaware any new command messages in the AM Command FIFO Buffer until an update is performed by writing a ‘1' to the AM Command FIFO Update register.

AM Command FIFO Count

Function: This register contains the value representing the number of 32-bit words that are currently loaded in the AM Command FIFO Buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: When the host writes a command message to the AM Command FIFO Buffer, the value of the AM Command FIFO Count represents the number of 32-bit words contained in the command message. Once the message is fully read out by the AM processor, the AM Command FIFO Count goes to zero.

AM Command FIFO Update

Function: This register is used to update the AM Command FIFO count as it is presented to the AM processor. The purpose of this register is to ensure that the AM Command FIFO Buffer does not present incomplete command messages to the AM processor.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0001

Read/Write: W

Initialized Value: 0

Operational Settings: The user should write a ‘1' to this register to update the AM Command FIFO count as it is seen from the AM processor.The proper way to handle sending commands to the AM processor is to write a full command message to the AM Command FIFO Buffer, then update the count by writing a ‘1' to the AM Command FIFO Update register.

AM Response FIFO Buffer

Function: Used by the AM (secondary) processor to send response messages to the host.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: After the host writes a valid command message to the AM Command FIFO Buffer and it is read out by the AM processor, the AM processor acts on the 1553 core based on the command type. Once the action is completed, the AM processor sends a response to the host processor via the AM Response FIFO Buffer.

AM Response FIFO Count

Function: This register contains the value that represents the number of 32-bit words that are present in the AM Response FIFO Buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: When a command is sent from the host to the AM processor and it completes the commanded task, it loads the AM Response FIFO with a response message and the AM Response FIFO Count is updated with the number of 32-bit words that are contained in the response message. Once the host reads out the full response message from the AM Response FIFO Buffer, the AM Response FIFO Count will read zero.

AM 1553 Message FIFO Registers

The Message FIFO Management registers consists of the FIFO Buffer, FIFO Count, FIFO Clear command, and the FIFO Threshold which specify threshold associated with for the “1553 Message FIFO Almost Full” status bits in the Channel Status register.

AM 1553 Message FIFO Buffer

Function: When the channel is operating in Message FIFO mode, 1553 messages are stored in the 1553 Message FIFO Buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: When the channel is configured for Message FIFO mode, new 1553 messages (comprising 1553 data words, 1553 status words, timestamp and message status information) are stored in the 1553 Message FIFO Buffer and the host can perform a block read on this register to read out a chain of 1553 messages in a single transaction. The number of 32-bit words to read out of the 1553 Message FIFO Buffer is reported in the 1553 Message FIFO Count register. Refer to Appendix: 1553 Receive Message FIFO Format to decode the single 1553 message or a chain of 1553 messages read from this buffer.

AM 1553 Message FIFO Count

Function: While the channel is operating in Message FIFO mode, the number of 32-bit words in the 1553 Message FIFO Buffer is reported in this register.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: When the channel is configured for Message FIFO mode, new 1553 messages (comprising 1553 data words, 1553 status words, timestamp and message status information) are stored in the 1553 Message FIFO Buffer. The 32-bit count of a 1553 message can vary depending on the 1553 message type and 1553 data payload size. This register provides the count of 32-bit words that are currently present in the 1553 Message FIFO Buffer instead of providing the count of 1553 messages. When retrieving data from the 1553 Message FIFO Buffer, use the 1553 Message FIFO Count to obtain all 1553 messages and refer to Appendix: 1553 Receive Message FIFO Format to decode 1553 messages.

AM 1553 Message FIFO Clear

Function: When the channel is operating in Message FIFO mode, this register is used to clear the 1553 Message FIFO Buffer.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: W

Initialized Value: 0

Operational Settings: Write a ‘1' to this register to clear the 1553 Message FIFO Buffer. Once the buffer is cleared, the 1553 Message FIFO Count register should read zero.

AM 1553 Message FIFO Threshold

Function: Set the “1553 Message FIFO Almost Full” status threshold value.

Type: unsigned binary word (32-bit)

Data Range: 1 to 1002

Read/Write: R/W

Initialized Value: 512

Operational Settings: This register sets the “1553 Message FIFO Almost Full” threshold such that when the number of 32-bit words reach or surpass the threshold value, the 1553 Message FIFO Almost Full status bit will report a ‘1'. If interrupts are enabled for this status bit, an interrupt will be generated when the number of 32-bit words reach or surpass the threshold value.

Auxiliary Registers

Reset

Function: A write to this register causes a reset of the channel/core.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

Read/Write: W (Reset)

Initialized Value: 0

Operational Settings: Reset - Write a 1 to reset the core.

Reset

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D

RT Address from Backplane

Function: Provides the Remote Terminal address and the parity.

Type: unsigned binary word (32-bit)

Data Range: See table

Read/Write: R

Initialized Value: 0

Operational Settings: The RT values are set at the backplane and read from this register.

D31..D6

Reserved

D5

RT Parity Bit: 1=Even Parity, 0=Odd Parity

D4..D0

RT Address of the channel.

RT Address from Backplane Register

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

Miscellaneous Bits

Function: Provides various control and configuration functions as well as status.

Type: unsigned binary word (32-bit)

Data Range: See table

Read/Write: R/W

Initialized Value: 0

Operational Settings: Refer to table for definitions.

D31..D16

Reserved

D15

If set, overrides external BC_DISABLE (Bus Controller Mode) with the value from bit D14.

D14

BC_DISABLE override value.

D13

If set, overrides external M1760 hardware input (Standard) with the value from bit D12.

D12

M1760 override value.

D11

Reserved.

D10

Mode value from backplane (Read Only).

D9

Standard value from backplane (Read Only) Default.

D8

Terminate RS-422: 0=No termination, 1=termination.

D7

Transceiver Type: 0=Sital, 1=COTS (Read Only).

D6

BC_DISABLE setting at the core (Read Only).

D5

SSFLAG: RT Mode Only – Sets the Sub System flag (bit 2) high in the status word.

D4

RTAD_SW_EN: 0=No software change of RT address available, 1=Enables software change of RT Address by configuration reg #6.

D3

RT_ADR_LAT: 0=RT Address and parity are used as-is, Rising edge=Last RT Address and parity are sampled and stored in the core. Changes to the values are ignored, 1=RT Address and parity can be latched by writing to configuration reg #5.

D2

M1760 Setting at the core (Read Only).

D1

Tx_inhB: 0=Enable core transmission on bus B, 1=inhibit core transmission on bus B.

D0

Tx_inhA: 0=Enable core transmission on bus A, 1=inhibit core transmission on bus A.

Miscellaneous Bits

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

0

D

D

D

D

D

D

D

D

D

D

D

Module Common Registers

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

Status and Interrupt Registers

The registers may be set for any or all channels and will latch if a transition is detected on a channel or channels. Each channel(s) will remain latched until the channel is cleared. Multiple channels may be cleared simultaneously, if desired. Each channel bit in the register is polled for a read status. Any subsequent channel(s) transition, if detected, will propagate through to be read (rolling-latch).

Once the status register has been read, the act of writing a 1 back to the applicable status register to any specific bit (channel) location (bit mapped per channel), will “clear” the bit (set the bit to 0) if the actual interruptible event condition has cleared. If the interruptible condition “event” is still persistent while clearing, this may retrigger the interrupt.

There is a corresponding Interrupt Enable and vector associated with each “Latched” Status. Each status type may be “polled” (at any time) or is “interruptible” when interrupts are enabled and the associated Interrupt Service Routine (ISR) vectors are programmed accordingly. When programmed for “interruptible” status, interrupts are typically generated and flagged with the programmed vector available as data. The host or single board computer (SBC) typically services the interrupt by a general or specific ISR, which reads the (typically) unique programmed vector (identifier of which status generated the interrupt), reads the associated status register to determine which channel in the status register was “flagged” and then “clears” the status register. This essentially resets the interrupt mechanism, which is now ready to be triggered by the next status register detected event “flag”. “Latched Status” will trigger on either “sense on edge” or “sense on level” based on the settings of the associated Set Edge/Level Interrupt register. Sense on “edge” requires a change from low to high state to trigger the status detection, while sense on “level” is independent of the previous state. Unless otherwise specified, all status or fault indications are bit set per channel. BIT Stat

BIT Status

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

BIT Dynamic Status

BIT Latched Status

BIT Interrupt Enable

BIT Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Ch2

Ch1

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 000F

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

Initialized Value: 0

Channel Status

There are four registers associated with the Channel Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Use this register to read current or real-time status.

Bit

Description

Notes

D0

1553 Core Interrupt

Indicates an interrupt signaled from the 1553 core. Specific events triggering the interrupt can be identified by reading core status registers.

D1

1553 Message FIFO Full

Indicates if the 1553 Message FIFO is full and cannot store additional messages until cleared or messages are read out.

D2

1553 Message FIFO Almost Full

Indicates if the 1553 Message FIFO is almost full. The threshold for almost full can be set using a specific register.

D3

1553 Message FIFO Empty

Indicates if the 1553 Message FIFO does not contain any messages.

D4

1553 Message FIFO Rx Available

Indicates whether the 1553 Message FIFO contains one or more messages.

Channel Dynamic Status

Channel Latched Status

Channel Interrupt Enable

Channel Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

D

D

D

D

D

Function: Sets the corresponding bit associated with the event type. There are separate registers for each channel.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 001F

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

Initialized Value: N/A

~

Receive FIFO Mode Registers

The registers listed are associated with data that is received on the AR1 channels. Two modes of message storage are supported: Receive FIFO and Receive Mailbox

The Receive FIFO Mode Registers contain information about ARINC messages that are received via the Receive FIFO buffer on the AR1 channel. The registers associated with this feature are:

  • Receive FIFO Message Buffer

  • Receive FIFO Message Count

  • Receive FIFO Almost Full Threshold

  • Receive FIFO Size

Receive FIFO Message Buffer

Function: In FIFO receive mode, the received ARINC messages are stored in this buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: N/A

Operational Settings: Perform two reads from this register to retrieve the Status word and the ARINC data word, respectively. If Time Stamping is enabled, perform one more read to retrieve the timestamp.

Receieve Fifo Message Buffer

Message Status Word

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

N

PE

Data Word

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Timestamp Word (*if enabled)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

PE = Parity Error

‘1’ Calculated parity does not match the received parity bit

N = New message

‘1’ Message has not been read yet

Receive FIFO Message Count

Function: Contains the number of ARINC messages in the receive FIFO in Receive FIFO mode.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: A received message consists of the message status word and the ARINC data word. If time stamping is enabled, a 32-bit timestamp is also included in the message. For example, if this register reads ‘1', indicating one message is loaded in the receive FIFO, perform two reads from the Receive FIFO Message Buffer register to retrieve the full message (status word and ARINC data word) if time stamping is disabled or perform three reads from the Receive FIFO Message Buffer register to retrieve the full message (status word, ARINC data word and timestamp word) if time stamping is enabled.

CM5img10

Receive FIFO Message Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Almost Full Threshold

Function: Specifies the level of the receive FIFO buffer, equal or above, at which the Rx FIFO Almost Full Status bit D1 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 128 (0x0080)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Receive FIFO Almost Full Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Size

Function: Specifies the size of the Rx FIFO buffer. The default size is 255 messages.

Type: unsigned binary word (32-bit)

Range: 1 to 255

Read/Write: R/W

Initialized Value: 255 (0xFF)

Operational Settings: This setting affects the Rx FIFO size when the Rx FIFO is configured in either Rx FIFO Bounded or Circular mode.

Receive FIFO Size

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive Mailbox Mode Registers

The Receive Mailbox Mode Registers contain information about ARINC messages that are received via mailboxes on the AR1 channel. The registers associated with this feature are: - Receive FIFO SDI/Label Buffer - Receive FIFO SDI/Label Count - Receive FIFO Almost Full Threshold - Receive FIFO Size - Mailbox Status Data - Mailbox Message Data - Mailbox Timestamp Data

Receive FIFO SDI/Label Buffer

Function: In Mailbox receive mode, SDI/Label of received messages are stored in this buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 03FF

Read/Write: R

Initialized Value: N/A

Operational Settings: In Mailbox receive mode, this FIFO contains the 10-bit SDI/Label of newly received messages. This provides a list to the user showing which mailboxes contain new messages since the last time this FIFO was read.

Receive FIFO SDI/Label Buffer

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

A10

A9

A8

A7

A6

A5

A4

A3

A2

A1

A8-A1 = Label (A8 is MSB and A1 is LSB)

A10-A9 = SDI

Receive FIFO SDI/Label Count

Function: Contains the number of newly received SDI/Labels in the receive FIFO in Receive Mailbox mode.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: In Mailbox receive mode, this register contains the number of newly received SDI/Labels in the receive FIFO. The user may perform this number of reads on the Receive FIFO SDI/Label Buffer register to retrieve all SDI/Labels.

Receive FIFO SDI/Label Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Almost Full Threshold

Function: Specifies the level of the receive FIFO buffer, equal or above, at which the Rx FIFO Almost Full Status bit D1 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 128 (0x0080)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Receive FIFO Almost Full Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Size

Function: Specifies the size of the Rx FIFO buffer. The default size is 255 SDI/Labels.

Type: unsigned binary word (32-bit)

Range: 1 to 255

Read/Write: R/W

Initialized Value: 255 (0xFF)

Operational Settings: This setting affects the Rx FIFO size when the Rx FIFO is configured in either Rx FIFO Bounded or Circular mode.

Receive FIFO Size

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Mailbox Status Data

Function: Stores ARINC Status data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0003

Read/Write: R

Initialized Value: 0

Operational Settings: This is a 32-bit value that contains status information associated with the received ARINC word. D1 of ‘1' indicates that the received ARINC word is a new message. D0 of ‘1' indicates a parity error is present in the ARINC message. There are 1024 Mailbox Status Data registers, one for each SDI/Label. The user can determine which Mailbox Status Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Mailbox Status Data

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

N

PE

PE = Parity Error

‘1’ Calculated parity does not match the received parity bit

N = New message

‘1’ This is a new ARINC message

Mailbox Message Data

Function: Stores ARINC Message data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: This is the 32-bit ARINC data word. There are 1024 Mailbox Message Data registers, one for each SDI/Label. The user can determine which Mailbox Message Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Mailbox Timestamp Data

Function: Stores ARINC Timestamp data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: This is the 32-bit timestamp associated with the received ARINC word. There are 1024 Mailbox Timestamp Data registers, one for each SDI/Label. The user can determine which Mailbox Timestamp Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Timestamp Registers

Timestamp Control

Function: Determines the resolution of the timestamp counter.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0007

Read/Write: R/W

Initialized Value: 0 (1 µsec)

Operational Settings: The LSB can have one of four time values. Set bit D2 to zero out the timestamp counter.

Timestamp Control

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

Z

D

D

Timestamp Control Register

Bit(s)

Name

Description

D31:D3

Reserved

Set Reserved bits to 0.

D2

Zero Timestamp

Set the bit to zero out the timestamp counter.

D1:D0

Resolution (R/W)

The following sets the Resolution:

(0:0) 1 µs

(0:1) 10 µs

(1:0) 100 µs

(1:1) 1 ms

Timestamp Value

Function: Reads the current 32-bit timestamp.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: NA

Operational Settings: The time value of each LSB is determined by the resolution set in the Timestamp Control register.

Timestamp Value

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Message Validation Registers

If message validation (filtering) is enabled, the module compares the SDI/Label of incoming ARINC messages to a list of desired SDI/Labels in validation (match) memory and only stores messages with an SDI/Label in the list.

Match Enable

Function: Enables or disables reception of ARINC words containing the associated SDI/Label.

Type: unsigned binary word (32-bit)

Range: 0 to 1

Read/Write: R/W

Initialized Value: 0

Operational Settings: D0 set to ‘1' enables reception of ARINC words containing the SDI/Label that is associated with the register. This register only takes effect if the MATCH ENABLE bit is set to ‘1' in the Channel Control Register. There are 1024 Match Enable Data Registers and each register is indexed by the SDI/Label. Note that bit D1 is a reserved bit and is fixed to ‘1'.

Match Enable

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

D

Transmit Registers

The registers listed are associated with data that is to be transmitted from the AR1 channels. Two modes of message storage are supported: Transmit FIFO and Transmit Scheduling.

Transmit FIFO Registers

The Transmit FIFO Mode Registers contain information about ARINC messages that are to be transmitted via the Transmit FIFO buffer on the AR1 channel. The registers associated with this feature are: - Transmit FIFO Message Buffer - Transmit FIFO Message Count - Transmit FIFO Almost Empty Threshold - Transmit FIFO Rate

Transmit FIFO Message Buffer

Function: In immediate or triggered FIFO modes, ARINC messages are placed here prior to transmission.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: W

Initialized Value: N/A

Operational Settings: ARINC data words are 32-bits. This memory is shared with the Tx Message memory and is only available in Tx FIFO modes.

Transmit FIFO Message Count

Function: Contains the number of ARINC 32-bit words in the transmit FIFO.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: Used only in the FIFO transmit modes.

Transmit FIFO Message Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Transmit FIFO Almost Empty Threshold

Function: Specifies the level of the transmit buffer, equal or below, at which the Tx FIFO Almost Empty Status bit D5 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 32 decimal (0x0020)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Transmit FIFO Almost Empty Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Transmit FIFO Rate

Function: Determines the Gap time between transmitted ARINC messages in FIFO transmit modes.

Type: unsigned binary word (32-bit)

Range: 0-0x000F FFFF

Read/Write: R/W

Initialized Value: 4

Mode: FIFO

Operational Settings: Each LSB is 1 bit time. Rates less than 4 are not valid. This register does NOT get reset by a channel reset.

Transmit FIFO Rate

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Transmit Scheduling Registers

The Transmit Scheduling Registers are utilized when the channel is set up to run a Transmit Schedule. The memories/registers associated with this feature are: - Transmit Schedule RAM - Transmit Message RAM - Async Transmit Data Register

Transmit Schedule RAM Command Format

Function: The Transmit Schedule RAM consists of 256 32-bit words that are used to set up a self-running transmit schedule. These are the valid command formats for the Transmit Schedule RAM.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 FFFF

Read/Write: R/W

Initialized Value: N/A

Operational Settings: Only bits 0 to 15 are utilized for schedule commands. Bits 12 to 15 specify the command type and bits 0 to 7 or 8 specify the command parameter. Only the Message, Gap, Fixed Gap and Jump commands utilize a command parameter. When the schedule starts, commands are executed sequentially starting from schedule RAM address 0x0.

Transmit Schedule RAM Command Format

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

FUNCTION

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

STOP CMD

0

0

0

1

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

MESSAGE CMD

0

0

1

0

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

GAP CMD

0

0

1

1

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

FIXED GAP CMD

0

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

PAUSE CMD

0

1

0

1

0

0

0

0

0

0

0

0

0

0

0

0

SCH INTERRUPT CMD

0

1

1

0

0

0

0

SA8

SA7

SA6

SA5

SA4

SA3

SA2

SA1

SA0

JUMP CMD

0

1

1

1

0

0

0

0

0

0

0

0

0

0

0

0

RESERVED

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

RESERVED

1. MA7-MA0 = Address of Tx Message memory organized as 256x32.

2. SA8-SA0 = Address of next command in Tx Schedule memory organized as 256x32.

Transmit Message RAM Data Format

Function: The Transmit Message RAM consists of 256 32-bit words that are used by the transmit schedule for ARINC message and gap time word storage.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: N/A

Operational Settings: Words that are stored in Transmit Message RAM are utilized by Message, Gap and Fixed Gap commands in the Transmit Schedule. In the case of Message commands, the command parameter specifies an address in Transmit Message RAM that contains the 32-bit ARINC message to transmit. In the case of Gap or Fixed Gap commands, the command parameter specifies an address in Transmit Message RAM that contains the gap time value.

Async Transmit Data

Function: This memory location is the transmit async buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: While a schedule is running, a single 32-bit ARINC message that is intended to be transmitted asynchronously must be written to this register. When an async data word is written to this register, the Async Data Available status bit will get set until the async data word is transmitted. If a gap (not fixed gap) time is greater or equal to 40 bit times (4-bit gap time plus one ARINC word plus another 4-bit gap time) the async data word, if available, will be transmitted during this time.

Transmit Control Registers

Control of the transmission of ARINC messages includes the ability to start/resume, pause and stop the transmission of the message.

Transmit Trigger

Function: Sends a trigger command to the transmitter and is used to start transmission in Triggered FIFO or Scheduled Transmit modes.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Operational Settings: Set bit to 1 for the channel to resume transmission after a scheduled pause or Transmit pause command.

Transmit Trigger

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Transmit Pause

Function: Sends a command to pause the transmitter after the current word and gap time has finished transmitting.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Modes Affected: Triggered FIFO and Schedule Transmit

Operational Settings: Set bit to 1 for the channel to pause transmission in Triggered FIFO or Scheduled Transmit modes. Issue a Transmit Trigger command to resume transmission or issue a Transmit Stop command to halt transmission.

Transmit Pause

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Transmit Stop

Function: Sends a command to stop the transmitter after the current word and gap time has been transmitted.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Modes Affected: All Transmit modes

Operational Settings: Set bit to 1 for the channel to stop transmission.

Transmit Stop

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Control Registers

The AR1 control registers provide the ability to reset all the channels in the AR1 module and configuring and controlling individual AR1 channels.

Channel Control

Function: Used to configure and control the channels.

Type: unsigned binary word (32-bit)

Range: See table

Read/Write: R/W

Initialized Value: 0

Operational Settings: When writing to this register, the configuration bits must be maintained when setting the control bits.

Bit(s)

CONTROL FUNCTIONS

Description

D31:D22

RESERVED

Set RESERVED bits to 0.

D21

SCHEDULE INTERRUPT CLEAR

When the SCHEDULE INTERRUPT CLEAR bit is set to 1 by the user, the Schedule Interrupt bit (D10) in the Channel Status register can be cleared.

D20

RESERVED

Set RESERVED bits to 0

D19

CHANNEL RESET

When the CHANNEL RESET bit is set to 1 by the user, the channel is held in reset until the user sets the bit to 0. The channel reset causes Tx and Rx FIFO buffers to clear out but channel configuration settings remain unchanged.

D18

MATCH MEMORY CLEAR

When the MATCH MEMORY CLEAR bit is set to 1 by the user and if MATCH ENABLE bit is set to 1, all 1024 SDI/Labels will be disabled in Rx Match Memory, which means all received ARINC messages will be filtered out and discarded. This is a self-clearing bit. After setting the bit, allow 100 us to complete.

D17

RECEIVE FIFO CLEAR

When the RECEIVE FIFO CLEAR bit is set to 1 then set to 0 by the user, the Rx FIFO buffer is cleared out and the Rx FIFO count goes to zero.

D16

TRANSMIT FIFO CLEAR

When the TRANSMIT FIFO CLEAR bit is set to 1 then set to 0 by the user, the Tx FIFO buffer is cleared out and the Tx FIFO count goes to zero.

Bit(s)

CONTROL FUNCTIONS

Description

D15:D11

RESERVED

Set RESERVED bits to 0.

D10

STORE ON ERROR DISABLE

If the STORE ON ERROR DISABLE bit is cleared (0) and odd parity is enabled, received words that contain a parity error will be stored in the receive buffer or mailbox. When the STORE ON ERROR DISABLE bit is set (1) and odd parity is enabled, received words that contain a parity error will NOT be stored in the receive buffer or mailbox.

D9

RESERVED

Set RESERVED bits to 0.

D8

TIMESTAMP ENABLE

When TIMESTAMP ENABLE bit is set to 1, the receiver will store a 32-bit time stamp value along with the received ARINC word. There is one time stamp counter per module and it is used across all 8 channels. It has 4 selectable resolutions and can be reset via the Time Stamp Control register. It is recommended to clear the Receive FIFOs whenever the Receive mode or Time Stamp Enable mode is changed to ensure that extraneous data is not leftover from a previous receive operation.

D7

MATCH ENABLE

When the MATCH ENABLE bit is set to 1, the receiver will only store ARINC words which match the SDI/Labels enabled in Rx Match memory.

D6

PARITY DISABLE

The PARITY DISABLE bit when set to 0, causes ARINC bit 32 to be treated as an odd parity bit. The transmitter calculates the ARINC odd parity bit and transmits it as bit 32. The receiver will check the received ARINC word for odd parity and will flag an error if is not. When the PARITY DISABLE bit is set to 1, parity generation and checking will be disabled and both the transmitter and receiver will treat ARINC bit 32 as data and pass it on unchanged.

D5

HIGH SPEED

The HIGH SPEED bit is used to select the data rate.

12.5 kHz = 0

100 kHz = 1

D4:D3

TRANSMIT MODE

The TRANSMIT MODE bits are used to select the Transmit Mode.

(0:0) = Immediate FIFO mode

(0:1) = Schedule mode

(1:0) = Triggered FIFO mode

(1:1) = Invalid mode

D2

TRANSMIT ENABLE

The TRANSMIT ENABLE bit should be set after all transmit parameters have been set up. This is especially important in Immediate FIFO Transmit mode, since this mode will start transmitting as soon as data is put into the Tx FIFO.

D1

RECEIEVE MODE

The RECEIVE MODE bit is used to select the storage mode (FIFO or Mailbox) of received messages.

FIFO = 0

MBOX = 1

D0

RECEIVER ENABLE

The RECEIVER ENABLE bit should be set after all receive parameters and filters have been set up. After setting this bit, the module will look for a minimum 4-bit gap time before decoding any ARINC bits to prevent it from receiving a partial ARINC word.

image::CM5/CM5img11.jpg[]
image::CM5/CM5img12.jpg[]

Module Reset

Function: Sends a command to reset the entire 8-channel module to power up conditions.

Type: unsigned binary word (32-bit)

Range: 0 or 1

Read/Write: W

Initialized Value: 0

Operational Settings: All FIFOs are cleared. However, it does not clear out any memories. Set D0 to 1 to reset the module then set to 0 to bring it out of reset.

Module Reset

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

ARINC 429/575 Test Registers

The AR1 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.

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 0FFF

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 and does so upon completion of the test. Allow at least 3 ms per channel for the test enabled bits to clear after enabling. Note that running Initiated BIT test on a channel will interrupt operation of the channel and all FIFOs will get cleared. The system implementation should take this behavior into consideration.

Test Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

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.

Data Range: 1 to 65,535

Read/Write: R/W

Initialized Value: 5

Operational Settings: This value represents the background BIT error “count” that, when surpassed, will cause the BIT status to indicate failure.

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 0FFF

Read/Write: W

Initialized Value: 0

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

Reset BIT

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Module Common Registers

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

Status and Interrupt Registers

The AR1 Module provides status registers for BIT and Channel.

Channel Status Enabled

Function: Determines whether to update the status for the channels. Does NOT prevent BIT from executing; only prevents the update of results to the status registers. This feature can be used to “mask” status bit updates of unused channels in status registers that are bitmapped by channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 00FF (Channel Status)

Read/Write: R/W

Initialized Value: 0x0000 00FF

Operational Settings: When the bit corresponding to a given channel in the Channel Status Enabled register is not enabled (0) the status update will be masked. This applies to all statuses that are bitmapped by channel (BIT Status and Summary Status).

NOTE: Background BIT will continue to run even if the Channel Status Enabled is set to ‘0'.

NOTE: If latched status has been set for any channel bit, disabling the channel status update will NOT clear the latched status bit. To clear latched bits and disable their status updates, follow these steps: 1. Disable channels in Channel Status Enable register. 2. Read the Latched Status register. 3. Clear the Latched Status register with the value read from step 2. 4. Read the Latched Status register; should not read any errors (‘0') on channels that have been disabled.

Channel Status Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

BIT Status

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

BIT Dynamic Status

BIT Latched Status

BIT Interrupt Enable

BIT Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 00FF

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

Initialized Value: 0

Channel Status

There are four registers associated with the Channel Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Use this register to read current or real-time status. The Built-In-Test Error bit is latched and will stay set once an error is detected. It can be cleared by reading the BIT Status register. The Schedule Interrupt bit can be cleared by reading the Interrupt Status register when enabled or it can be cleared via the Channel Control register. See specific registers for function description and programming. The Rx Data Available bit is set when the receive FIFO is not empty. The Rx FIFO Overflow bit will set whenever the receiver must discard data because the receive FIFO was full and new data was received. The Async Data Available bit in Channel Status also gets cleared by a Stop Cmd in a schedule or if a Transmit Stop command is issued from the Transmit Stop register. The Tx Run bit is set whenever the transmitter is executing a schedule or actively transmitting the contents of the transmit FIFO. The Tx Pause bit is set whenever the transmitter has been paused in schedule mode. Some events are NOT latched. They are dynamic.

Bit Description Configurable? Configuration Register

D0

Rx Data Available

No

D1

Rx FIFO Almost Full

Yes

Receive FIFO Almost Full Threshold

D2

Rx FIFO Full

Yes

Receive FIFO Size

D3

Rx FIFO Overflow

Yes

Receive FIFO Size

D4

Tx FIFO Empty

No

D5

Tx FIFO Almost Empty

Yes

Transmit FIFO Almost Empty Threshold

D6

Tx FIFO Full

No

D7

Parity Error

No

D8

Receive Error

No

D9

Built-in-Test Error

No

D10

Schedule Interrupt

No

D11

Async Data Available

No

D12

Tx Run

No

D13

Tx Pause

No

Channel Dynamic Status

Channel Latched Status

Channel Interrupt Enable

Channel Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Function: Sets the corresponding bit associated with the event type. There are separate registers for each channel.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 3FFF

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

Initialized Value: N/A

=Summary Status

Function: Sets the corresponding bit associated with the channel that has data available to receive in its Receive FIFO Mode or Receive Mailbox Mode registers.

Type: unsigned binary word (32-bits)

Data Range: 0x0000 0000 to 0x0000 00FF

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

Initialized Value: 0

Summary Dynamic Status

Summary Latched Status

Summary Interrupt Enable

Summary Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Function Register Map

Key: ==Bold Italic = Configuration/Control

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

AM Commands Registers

0x10B0

AM Command FIFO Buffer Channel 1

Write

0x18B0

AM Command FIFO Buffer Channel 2

Write

0x10B4

AM Command FIFO Count Channel 1

Read

0x18B4

AM Command FIFO Count Channel 2

Read

0x10B8

AM Command FIFO Update Ch 1

Write

0x18B8

AM Command FIFO Update Ch 2

Write

0x10C0

AM Response FIFO Buffer Channel 1 Read

Read

0x18C0

AM Response FIFO Buffer Channel 2 Read

Read

0x10C4

AM Response FIFO Count Ch 1

Read

0x18C4

AM Response FIFO Count Ch 2

Read

AM 1553 Message FIFO Registers

0x10D0

AM 1553 Message FIFO Buffer Ch 1

Read

0x18D0

AM 1553 Message FIFO Buffer Ch 2

Read

0x10D4

AM 1553 Message FIFO Count Ch 1

Read

0x18D4

AM 1553 Message FIFO Count Ch 2

Read

0x10D8

AM Message FIFO Clear Ch 1

Write

0x18D8

AM Message FIFO Clear Ch 2

Write

0x10DC

AM Message FIFO Threshold Ch 1

Read/Write

0x18DC

AM Message FIFO Threshold Ch 2

Read/Write

Auxiliary Registers

0x1080

RT Address from Backplane Ch 1

Read

0x1880

RT Address from Backplane Ch 2

Read

0x1080

Reset Ch 1

Write

0x1880

Reset Ch 2

Write

0x1084

Miscellaneous Bits Ch 1

Read/Write

0x1884

Miscellaneous Bits Ch 2

Read/Write

Module Common Registers

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

Status Registers

BIT Status

0x0800

BIT Dynamic Status

Read

0x0804

BIT Latched Status

Read/Write

0x0808

BIT Interrupt Enable

Read/Write

0x080C

BIT Set Edge/Level Interrupt

Read/Write

Summary Status

0x09A0

Summary Dynamic Status

Read

0x09A4

Summary Latched Status

Read/Write

0x09A8

Summary Interrupt Enable

Read/Write

0x09AC

Summary Set Edge/Level Interrupt

Read/Write

Channel Status

0x0810

Channel Dynamic Status Ch 1

Read

0x0814

Channel Latched Status Ch 1

Read/Write

0x0818

Channel Interrupt Enable Ch 1

Read/Write

0x081C

Channel Set Edge/Level Interrupt Ch 1

Read/Write

0x0820

Channel Dynamic Status Ch 2

Read

0x0824

Channel Latched Status Ch 2

Read/Write

0x0828

Channel Interrupt Enable Ch 2

Read/Write

0x082C

Channel Set Edge/Level Interrupt Ch 2

Read/Write

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.

0x0500

Module 1 Interrupt Vector 1 - BIT

Read/Write

0x0504

Module 1 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0508

Module 1 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x050C to 0x057C

Module 1 Interrupt Vector 4-32 - Reserved

Read/Write

0x0600

Module 1 Interrupt Steering 1 - BIT

Read/Write

0x0604

Module 1 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x0608

Module 1 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x060C to 0x067C

Module 1 Interrupt Steering 4-32 - Reserved

Read/Write

0x0700

Module 2 Interrupt Vector 1 - BIT

Read/Write

0x0704

Module 2 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0708

Module 2 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x070C to 0x077C

Module 2 Interrupt Vector 4-32 - Reserved

Read/Write

0x0800

Module 2 Interrupt Steering 1 - BIT

Read/Write

0x0804

Module 2 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x0808

Module 2 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x080C to 0x087C

Module 2 Interrupt Steering 4-32 - Reserved

Read/Write

0x0900

Module 3 Interrupt Vector 1 - BIT

Read/Write

0x0904

Module 3 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0908

Module 3 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x090C to 0x097C

Module 3 Interrupt Vector 4-32 - Reserved

Read/Write

0x0A00

Module 3 Interrupt Steering 1 - BIT

Read/Write

0x0A04

Module 3 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x0A08

Module 3 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x0A0C to 0x0A7C

Module 3 Interrupt Steering 4-32 - Reserved

Read/Write

0x0B00

Module 4 Interrupt Vector 1 - BIT

Read/Write

0x0B04

Module 4 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0B08

Module 4 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x0B0C to 0x0B7C

Module 4 Interrupt Vector 4-32 - Reserved

Read/Write

0x0C00

Module 4 Interrupt Steering 1 - BIT

Read/Write

0x0C04

Module 4 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x0C08

Module 4 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x0C0C to 0x0C7C

Module 4 Interrupt Steering 4-32 - Reserved

Read/Write

0x0D00

Module 5 Interrupt Vector 1 - BIT

Read/Write

0x0D04

Module 5 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0D08

Module 5 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x0D0C to 0x0D7C

Module 5 Interrupt Vector 4-32 - Reserved

Read/Write

0x0E00

Module 5 Interrupt Steering 1 – BIT

Read/Write

0x0E04

Module 5 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x0E08

Module 5 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x0E0C to 0x0E7C

Module 5 Interrupt Steering 4-32 - Reserved

Read/Write

0x0F00

Module 6 Interrupt Vector 1 - BIT

Read/Write

0x0F04

Module 6 Interrupt Vector 2 - Channel Status Ch 1

Read/Write

0x0F08

Module 6 Interrupt Vector 3 - Channel Status Ch 2

Read/Write

0x0F0C to 0x0F7C

Module 6 Interrupt Vector 4-32 - Reserved

Read/Write

0x1000

Module 6 Interrupt Steering 1 - BIT

Read/Write

0x1004

Module 6 Interrupt Steering 2 - Channel Status Ch 1

Read/Write

0x1008

Module 6 Interrupt Steering 3 - Channel Status Ch 2

Read/Write

0x100C to 0x107C

Module 6 Interrupt Steering 4-32 - Reserved

Read/Write

ARINC 429/575

The ARINC 429/575 communications function is like the standard communications function module (AR1 may be used as a reference/guide within the context of this document).

Principle of Operation

The CM5 provides (8) channels of programmable ARINC-429 communication buses (AR1 module-type). Each channel is software selectable fortransmit and/or receive, high or low speed, and odd or no parity. Therefore, AR1 can support multiple ARINC 429 and 575 channelssimultaneously.

Receive Operation

Serial BRZ data is decoded for logic states: one, zero or null. Once Word Gap is detected (4 null states) the receiver waits for either a zero or one state to start the serial-to-parallel shift function. If a waveform timing fault is detected before the serial/parallel function is complete, operation is terminated and the receiver returns to waiting for Word Gap detection. The serial-to-parallel output data is validated for odd parity, Label and Serial-to-Digital Interface (SDI).

If message validation (filtering) is enabled, the module compares the SDI/Label of incoming ARINC messages to a list of desired SDI/Labels in validation (match) memory and only stores messages with an SDI/Label in the list. The message is stored in the receive FIFO or mailbox, depending if the channel is in FIFO receive mode or mailbox receive mode. In FIFO Receive Mode, received ARINC messages / words are stored with an associated status word and an optional time-stamp value in the channel’s receive FIFO. Additionally, the Rx FIFO can be set for either bounded or circular mode, which determines FIFO behavior when it is full. In bounded mode, newly received ARINC messages are discarded if the FIFO is full whereas in circular mode, new ARINC messages overwrite the oldest messages in the FIFO. In mailbox mode, received ARINC words are stored in mailboxes or records in RAM that are indexed by the SDI/Label of the ARINC word. Each mailbox contains a status word associated with the message, the ARINC message / word, and an optional 32-bit timestamp value. The status word indicates parity error and new message status.

Transmit Operation

Transmitters are tri-stated when TX is not enabled. Transmit operates in one of three modes: Immediate FIFO, Triggered FIFO, and Scheduled. In immediate mode, ARINC data is sent as soon as data is written to the transmit FIFO. In Triggered FIFO mode, a write to the Transmit Trigger register is needed to start transmission of the transmit FIFO contents. Transmission continues until the FIFO is empty. To transmit more data after the FIFO empties out, issue a new trigger after filling the transmit FIFO with new data.

For either FIFO mode, a transmit FIFO Rate register is provided to control rate of transmission. The contents of this register specify the gap time between transmitted words from the FIFO. The default is the minimum ARINC gap time of 4-bit times.

Schedule mode transmits ARINC data words according to a prebuilt schedule table in Transmit Schedule RAM. In the Schedule table, various commands define what messages are sent and the duration of gaps between each message. Note that a Gap (Gap or Fixed Gap) command must be explicitly added in between each Message command otherwise a gap will not be inserted between messages. The ARINC data words and gap times are stored in the Transmit Message RAM and can be updated on the fly as the schedule executes. A write to the Transmit Trigger register initiates the schedule and commands are executed starting from the first command (address 0x0) in the Schedule RAM. While a schedule is running, an ARINC word can be transmitted asynchronously by writing the async data word to the Async Transmit Data register. After it has transmitted, the Async Data Available bit will be cleared from the Channel Status register and the Async Data Sent Interrupt will be set if enabled. The Async Data Available bit in Channel Status also gets cleared by a Stop Cmd in a schedule or if a Transmit Stop command is issued from the Transmit Stop register. Use the Fixed Gap command instead of the Gap command to disable async transmissions during the schedule gap time. Gap and Fixed Gap commands can both be used when building the transmit schedule.

Schedule Transmit Commands

ARINC 429/575 scheduling is controlled by commands that are written to the Transmit Schedule RAM. The available commands are: •Message •Gap •Fixed Gap •Pause •Schedule Interrupt •Jump •Stop

Message

This command takes a parameter that specifies the location in Transmit Message memory containing the ARINC data word to be sent. The word is transmitted when the Message command is executed. This ARINC word can be modified in Tx Message memory while the schedule is running.

Gap

This command takes a parameter that specifies the location in Transmit Message memory containing a 20-bit gap time value. Values less than 4 are invalid. If the previous command was a Message, then that message is transmitted and then the transmitter waits out the specified gap time transmitting nulls. An exception to this is if there is an async data word available. If the gap time is greater or equal to 40 bit times (4-bit gap time plus one ARINC word plus another 4-bit gap time) an async data word, if available, will be transmitted during this time. If a new async data word is made available and the remaining gap time is large enough to accommodate another async data word transmission, then the new async data word will be transmitted after a 4-bit gap time. Multiple async data word transmissions can thus occur as long as the remaining gap time is large enough to accommodate a message and the required minimum 4-bit gap time. Otherwise, the transmitter waits out the remaining gap time before executing the next command.

Fixed Gap

This command takes a parameter that specifies the location in Transmit Message memory containing a 20-bit gap time value. Values less than 4 are invalid. If the previous command was a Message, then that message is transmitted with the specified gap time appended. If the previous command was not a Message, then the transmitter waits for the specified gap time before executing the next command. The difference between the Fixed Gap and Gap command is that Fixed Gap will prevent the transmission of async data words during the gap time. Use Fixed Gap to only allow nulls to be transmitted during the gap time.

Pause

This command causes the transmitter to pause execution of the schedule after transmitting the current word. Either a Transmit Trigger command is issued to resume execution, or a Transmit Stop command is issued to halt execution.

Interrupt

This command causes the Schedule Interrupt to be set if Schedule Interrupt is enabled. An unlatched version of this flag is also visible in the channel status register

Jump

Jumps to the 9-bit address in Schedule memory pointed to by this command and resumes execution there.

Stop

This command causes the transmitter to stop execution of the schedule after transmitting the current word.

ARINC 429/575 Built-in Test

The AR1 module supports three types of built-in tests: Power-On, Continuous Background 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 reports the results in the BIT Status register whencomplete. After power-on, the Power-on BIT Complete register should be checked to ensure that POST/PBIT/SBIT test is complete before reading the BIT Dynamic Status and BIT Latched Status registers.

Continuous Background Built-In Test

The background Built-In-Test or Continuous BIT (CBIT) runs in the background for each enabled channel. In Transmit operations, internal transmit data is compared to loop-back data received by the ARINC receivers. When the channel is configured for Receive operation, receive data is continuously monitored via a secondary parallel path circuit and compared to the primary input receive data. If the data does not match, the technique used by the automatic background BIT test consists of an “add-2, subtract-1” counting scheme. The BIT counter is incremented by 2 when a BIT-fault is detected and decremented by 1 when there is no BIT fault detected and the BIT counter is greater than 0. When the BIT counter exceeds the (programmed) Background BIT Threshold value, the specific channel’s fault bit in the BIT status register will be set. 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). 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. Results of the Continuous BIT are stored in the BIT Dynamic Status and BIT Latched Status register.

Initiated Built-In Test

The Initiated Built-In-Test (IBIT) is an internal loopback available for each channel of the AR1 module. The test is initiated by setting the bit for the associated channel in the Test Enabled register to a 1. Once enabled, they must wait at least 3 msec before checking to see if the bit for the associated channel in the Test Enabled register reads a 0. When the AR1 clears the bit, it means that the test has completed, and its results can be checked. 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.

Loop-Back Operation

Transmit and receive operation of an AR1 channel can be verified internally by enabling both Tx and Rx on the same channel. Tx Scheduling is not supported when the channel is placed in this mode.

Transient Protection

Transmit and receive operation of an AR1 channel can be verified internally by enabling both Tx and Rx on the same channel. Tx Scheduling is not supported when the channel is placed in this mode.

Status and Interrupts

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

Module Common Registers

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

The registers listed are associated with data that is received on the AR1 channels. Two modes of message storage are supported: Receive FIFO and Receive Mailbox.

Receive FIFO Mode Registers

The Receive FIFO Mode Registers contain information about ARINC messages that are received via the Receive FIFO buffer on the AR1 channel. The registers associated with this feature are:

•Receive FIFO Message Buffer •Receive FIFO Message Count •Receive FIFO Almost Full Threshold •Receive FIFO Size

Receive FIFO Message Buffer

Function: In FIFO receive mode, the received ARINC messages are stored in this buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: NA

Operational Settings: Perform two reads from this register to retrieve the Status word and the ARINC data word, respectively. If Time Stamping is enabled, perform one more read to retrieve the timestamp.

Receive FIFO Message Count

Function: Contains the number of ARINC messages in the receive FIFO in Receive FIFO mode.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: A received message consists of the message status word and the ARINC data word. If time stamping is enabled, a 32-bit timestamp is also included in the message. For example, if this register reads ‘1', indicating one message is loaded in the receive FIFO, perform two reads from the Receive FIFO Message Buffer register to retrieve the full message (status word and ARINC data word) if time stamping is disabled or perform three reads from the Receive FIFO Message Buffer register to retrieve the full message (status word, ARINC data word and timestamp word) if time stamping is enabled.

CM5img10

Receive FIFO Message Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Almost Full Threshold

Function: Specifies the level of the receive FIFO buffer, equal or above, at which the Rx FIFO Almost Full Status bit D1 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 128 (0x0080)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Receive FIFO Almost Full Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

=Receive FIFO Size

Function: Specifies the size of the Rx FIFO buffer. The default size is 255 messages.

Type: unsigned binary word (32-bit)

Range: 1 to 255

Read/Write: R/W

Initialized Value: 255 (0xFF)

Operational Settings: This setting affects the Rx FIFO size when the Rx FIFO is configured in either Rx FIFO Bounded or Circular mode.

Receive FIFO Size

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive Mailbox Mode Registers

The Receive Mailbox Mode Registers contain information about ARINC messages that are received via mailboxes on the AR1 channel. The registers associated with this feature are: •Receive FIFO SDI/Label Buffer •Receive FIFO SDI/Label Count •Receive FIFO Almost Full Threshold •Receive FIFO Size •Mailbox Status Data •Mailbox Message Data •Mailbox Timestamp Data

Receive FIFO SDI/Label Buffer

Function: In Mailbox receive mode, SDI/Label of received messages are stored in this buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 03FF

Read/Write: R

Initialized Value: N/A

Operational Settings: In Mailbox receive mode, this FIFO contains the 10-bit SDI/Label of newly received messages. This provides a list to the user showing which mailboxes contain new messages since the last time this FIFO was read.

Receive FIFO SDI/Label Buffer

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

A10

A9

A8

A7

A6

A5

A4

A3

A2

A1

Receive FIFO SDI/Label Count

Function: Contains the number of newly received SDI/Labels in the receive FIFO in Receive Mailbox mode.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: In Mailbox receive mode, this register contains the number of newly received SDI/Labels in the receive FIFO. The user may perform this number of reads on the Receive FIFO SDI/Label Buffer register to retrieve all SDI/Labels.

Receive FIFO SDI/Label Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Almost Full Threshold

Function: Specifies the level of the receive FIFO buffer, equal or above, at which the Rx FIFO Almost Full Status bit D1 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 128 (0x0080)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Receive FIFO Almost Full Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Receive FIFO Size

Function: Specifies the size of the Rx FIFO buffer. The default size is 255 SDI/Labels.

Type: unsigned binary word (32-bit)

Range: 1 to 255

Read/Write: R/W

Initialized Value: 255 (0xFF)

Operational Settings: This setting affects the Rx FIFO size when the Rx FIFO is configured in either Rx FIFO Bounded or Circular mode.

Receive FIFO Size

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Mailbox Status Data

Function: Stores ARINC Status data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0003

Read/Write: R

Initialized Value: 0

Operational Settings: This is a 32-bit value that contains status information associated with the received ARINC word. D1 of ‘1' indicates that the received ARINC word is a new message. D0 of ‘1' indicates a parity error is present in the ARINC message. There are 1024 Mailbox Status Data registers, one for each SDI/Label. The user can determine which Mailbox Status Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Mailbox Status Data

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

N

PE

Mailbox Message Data

Function: Stores ARINC Message data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: This is the 32-bit ARINC data word. There are 1024 Mailbox Message Data registers, one for each SDI/Label. The user can determine which Mailbox Message Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Mailbox Timestamp Data

Function: Stores ARINC Timestamp data word.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: 0

Operational Settings: This is the 32-bit timestamp associated with the received ARINC word. There are 1024 Mailbox Timestamp Data registers, one for each SDI/Label. The user can determine which Mailbox Timestamp Data registers contain new data based on newly received SDI/Labels in the receive FIFO.

Timestamp Registers

Timestamp Control

Function: Determines the resolution of the timestamp counter.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0007

Read/Write: R/W

Initialized Value: 0 (1 µsec)

Operational Settings: The LSB can have one of four time values. Set bit D2 to zero out the timestamp counter.

Timestamp Control

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

Z

D

D

Timestamp Control Register

Bit(s)

Name

Description

D31:D3

Reserved

Set Reserved bits to 0.

D2

Zero Timestamp

Set the bit to zero out the timestamp counter.

D1:D0

Resolution

The following sets the Resolution:

- (0:0) 1 µs

- (0:1) 10 µs

- (1:0) 100 µs

Timestamp Value

Function: Reads the current 32-bit timestamp.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R

Initialized Value: NA

Operational Settings: The time value of each LSB is determined by the resolution set in the Timestamp Control register.

Timestamp Value

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Message Validation Registers

If message validation (filtering) is enabled, the module compares the SDI/Label of incoming ARINC messages to a list of desired SDI/Labels in validation (match) memory and only stores messages with an SDI/Label in the list.

Match Enable

Function: Enables or disables reception of ARINC words containing the associated SDI/Label.

Type: unsigned binary word (32-bit)

Range: 0 to 1

Read/Write: R/W

Initialized Value: 0

Operational Settings: D0 set to ‘1' enables reception of ARINC words containing the SDI/Label that is associated with the register. This register only takes effect if the MATCH ENABLE bit is set to ‘1' in the Channel Control Register. There are 1024 Match Enable Data Registers and each register is indexed by the SDI/Label. Note that bit D1 is a reserved bit and is fixed to ‘1'.

Match Enable

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

D

Transmit Registers

The registers listed are associated with data that is to be transmitted from the AR1 channels. Two modes of message storage are supported: Transmit FIFO and Transmit Scheduling.

Transmit FIFO Registers

The Transmit FIFO Mode Registers contain information about ARINC messages that are to be transmitted via the Transmit FIFO buffer on the AR1 channel. The registers associated with this feature are: •Transmit FIFO Message Buffer •Transmit FIFO Message Count •Transmit FIFO Almost Empty Threshold •Transmit FIFO Rate

Transmit FIFO Message Buffer

Function: In immediate or triggered FIFO modes, ARINC messages are placed here prior to transmission.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: W

Initialized Value: N/A

Operational Settings: ARINC data words are 32-bits. This memory is shared with the Tx Message memory and is only available in Tx FIFO modes.

Transmit FIFO Message Count

Function: Contains the number of ARINC 32-bit words in the transmit FIFO.

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R

Initialized Value: 0

Operational Settings: Used only in the FIFO transmit modes.

Transmit FIFO Message Count

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Transmit FIFO Almost Empty Threshold

Function: Specifies the level of the transmit buffer, equal or below, at which the Tx FIFO Almost Empty Status bit D5 in the Channel Status register, is flagged (High True).

Type: unsigned binary word (32-bit)

Range: 0 to 255

Read/Write: R/W

Initialized Value: 32 decimal (0x0020)

Operational Settings: If the Interrupt Enable register interrupt is enabled, a SYSTEM interrupt will be generated when the receive FIFO level increases and reaches the threshold level. This register does NOT get reset by a channel reset.

Transmit FIFO Almost Empty Threshold

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

D

D

D

D

D

D

D

D

Transmit FIFO Rate

Function: Determines the Gap time between transmitted ARINC messages in FIFO transmit modes.

Type: unsigned binary word (32-bit)

Range: 0-0x000F FFFF

Read/Write: R/W

Initialized Value: 4

Mode: FIFO

Operational Settings: Each LSB is 1 bit time. Rates less than 4 are not valid. This register does NOT get reset by a channel reset.

Transmit FIFO Rate

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

D

D

D

D

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Transmit Scheduling Reg

The Transmit Scheduling Registers are utilized when the channel is set up to run a Transmit Schedule. The memories/registers associated with this feature are: •Transmit Schedule RAM •Transmit Message RAM •Async Transmit Data Register

Transmit Schedule RAM Command Format

Function: The Transmit Schedule RAM consists of 256 32-bit words that are used to set up a self-running transmit schedule. These are the valid command formats for the Transmit Schedule RAM.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 FFFF

Read/Write: R/W

Initialized Value: N/A

Operational Settings: Only bits 0 to 15 are utilized for schedule commands. Bits 12 to 15 specify the command type and bits 0 to 7 or 8 specify the command parameter. Only the Message, Gap, Fixed Gap and Jump commands utilize a command parameter. When the schedule starts, commands are executed sequentially starting from schedule RAM address 0x0.

Transmit Schedule RAM Command Format

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

FUNCTION

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

STOP CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

0

0

1

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

MESSAGE CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

0

1

0

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

GAP CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

0

1

1

0

0

0

0

MA7

MA6

MA5

MA4

MA3

MA2

MA1

MA0

FIXED GAP CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

PAUSE CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

1

0

1

0

0

0

0

0

0

0

0

0

0

0

0

SCH INTERRUPT CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

1

1

0

0

0

SA8

SA7

SA6

SA5

SA4

SA3

SA2

SA1

SA0

JUMP CMD

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

0

1

1

1

0

0

0

0

0

0

0

0

0

0

0

0

RESERVED

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

FUNCTION

1

Transmit Message RAM Data Format

Function: The Transmit Message RAM consists of 256 32-bit words that are used by the transmit schedule for ARINC message and gap time word storage.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: N/A

Operational Settings: Words that are stored in Transmit Message RAM are utilized by Message, Gap and Fixed Gap commands in the Transmit Schedule. In the case of Message commands, the command parameter specifies an address in Transmit Message RAM that contains the 32-bit ARINC message to transmit. In the case of Gap or Fixed Gap commands, the command parameter specifies an address in Transmit Message RAM that contains the gap time value.

Async Transmit Data

Function: This memory location is the transmit async buffer.

Type: unsigned binary word (32-bit)

Range: 0 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

Operational Settings: While a schedule is running, a single 32-bit ARINC message that is intended to be transmitted asynchronously must be written to this register. When an async data word is written to this register, the Async Data Available status bit will get set until the async data word is transmitted. If a gap (not fixed gap) time is greater or equal to 40 bit times (4-bit gap time plus one ARINC word plus another 4-bit gap time) the async data word, if available, will be transmitted during this time.

Transmit Control Registers

Control of the transmission of ARINC messages includes the ability to start/resume, pause and stop the transmission of the message.

Transmit Trigger

Function: Sends a trigger command to the transmitter and is used to start transmission in Triggered FIFO or Scheduled Transmit modes.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Operational Settings: Set bit to 1 for the channel to resume transmission after a scheduled pause or Transmit pause command.

Transmit Trigger

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Transmit Pause

Function: Sends a command to pause the transmitter after the current word and gap time has finished transmitting.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Modes Affected: Triggered FIFO and Schedule Transmit

Operational Settings: Set bit to 1 for the channel to pause transmission in Triggered FIFO or Scheduled Transmit modes. Issue a Transmit Trigger command to resume transmission or issue a Transmit Stop command to halt transmission.

Transmit Pause

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Transmit Stop

Function: Sends a command to stop the transmitter after the current word and gap time has been transmitted.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 0FFF

Read/Write: W

Initialized Value: 0

Modes Affected: All Transmit modes

Operational Settings: Set bit to 1 for the channel to stop transmission.

Transmit Stop

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Control Registers

The AR1 control registers provide the ability to reset all the channels in the AR1 module and configuring and controlling individual AR1 channels.

Channel Control

Function: Used to configure and control the channels.

Type: unsigned binary word (32-bit)

Range: See table

Read/Write: R/W

Initialized Value: 0

Operational Settings: When writing to this register, the configuration bits must be maintained when setting the control bits.

image::CM5/CM5img11.jpg[]
image::CM5/CM5img12.jpg[]

Module Reset

Function: Sends a command to reset the entire 8-channel module to power up conditions.

Type: unsigned binary word (32-bit)

Range: 0 or 1

Read/Write: W

Initialized Value: 0

Operational Settings: All FIFOs are cleared. However, it does not clear out any memories. Set D0 to 1 to reset the module then set to 0 to bring it out of reset.

Module Reset

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

ARINC 429/575 Test Registers

The AR1 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.

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 0FFF

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 and does so upon completion of the test. Allow at least 3 ms per channel for the test enabled bits to clear after enabling. Note that running Initiated BIT test on a channel will interrupt operation of the channel and all FIFOs will get cleared. The system implementation should take this behavior into consideration.

Test Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

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.

Data Range: 1 to 65,535

Read/Write: R/W

Initialized Value: 5

Operational Settings: This value represents the background BIT error “count” that, when surpassed, will cause the BIT status to indicate failure.

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 0FFF

Read/Write: W

Initialized Value: 0

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

Reset BIT

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Module Common Registers

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

Status and Interrupt Registers

The AR1 Module provides status registers for BIT and Channel.

Channel Status Enabled

Function: Determines whether to update the status for the channels. Does NOT prevent BIT from executing; only prevents the update of results to the status registers. This feature can be used to “mask” status bit updates of unused channels in status registers that are bitmapped by channel.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 00FF (Channel Status)

Read/Write: R/W

Initialized Value: 0x0000 00FF

Operational Settings: When the bit corresponding to a given channel in the Channel Status Enabled register is not enabled (0) the status update will be masked. This applies to all statuses that are bitmapped by channel (BIT Status and Summary Status).

NOTE: Background BIT will continue to run even if the Channel Status Enabled is set to ‘0'.

NOTE: If latched status has been set for any channel bit, disabling the channel status update will NOT clear the latched status bit. To clear latched bits and disable their status updates, follow these steps: 1. Disable channels in Channel Status Enable register. 2. Read the Latched Status register. 3. Clear the Latched Status register with the value read from step 2. 4. Read the Latched Status register; should not read any errors (‘0') on channels that have been disabled.

Channel Status Enabled

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

BIT Status

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

BIT Dynamic Status

BIT Latched Status

BIT Interrupt Enable

BIT Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 00FF

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

Initialized Value: 0

Channel Status

There are four registers associated with the Channel Status: Dynamic, Latched, Interrupt Enable, and Set Edge/Level Interrupt. Use this register to read current or real-time status. The Built-In-Test Error bit is latched and will stay set once an error is detected. It can be cleared by reading the BIT Status register. The Schedule Interrupt bit can be cleared by reading the Interrupt Status register when enabled or it can be cleared via the Channel Control register. See specific registers for function description and programming. The Rx Data Available bit is set when the receive FIFO is not empty. The Rx FIFO Overflow bit will set whenever the receiver must discard data because the receive FIFO was full and new data was received. The Async Data Available bit in Channel Status also gets cleared by a Stop Cmd in a schedule or if a Transmit Stop command is issued from the Transmit Stop register. The Tx Run bit is set whenever the transmitter is executing a schedule or actively transmitting the contents of the transmit FIFO. The Tx Pause bit is set whenever the transmitter has been paused in schedule mode. Some events are NOT latched. They are dynamic.

Bit Description Configurable?

D0

Rx Data Available

No

D1

Rx FIFO Almost Full

Yes (Receive FIFO Almost Full Threshold)

D2

Rx FIFO Full

Yes (Receive FIFO Size)

D3

Rx FIFO Overflow

Yes (Receive FIFO Size)

D4

Tx FIFO Empty

No

D5

Tx FIFO Almost Empty

Yes (Transmit FIFO Almost Empty Threshold)

D6

Tx FIFO Full

No

D7

Parity Error

No

D8

Receive Error

No

D9

Built-in-Test Error

No

D10

Schedule Interrupt

No

D11

Async Data Available

No

D12

Tx Run

No

D13

Tx Pause

No

Channel Dynamic Status

Channel Latched Status

Channel Interrupt Enable

Channel Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

D

D

D

D

D

D

D

D

D

D

D

D

D

D

Function: Sets the corresponding bit associated with the event type. There are separate registers for each channel.

Type: unsigned binary word (32-bit)

Range: 0 to 0x0000 3FFF

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

Initialized Value: N/A

=Summary Status

Function: Sets the corresponding bit associated with the channel that has data available to receive in its Receive FIFO Mode or Receive Mailbox Mode registers.

Type: unsigned binary word (32-bits)

Data Range: 0x0000 0000 to 0x0000 00FF

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

Initialized Value: 0

Summary Dynamic Status Summary Latched Status Summary Interrupt Enable Summary Set Edge/Level Interrupt

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

Ch8

Ch7

Ch6

Ch5

Ch4

Ch3

Ch2

Ch1

Interrupt Vector and Steering

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

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

Interrupt Vector

Function: Set an identifier for the interrupt.

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R/W

Initialized Value: 0

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

Interrupt Steering

Function: Sets where to direct the interrupt.

Type: unsigned binary word (32-bit)

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

Initialized Value: 0

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

Direct Interrupt to VME

1

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

2

Direct Interrupt to PCIe Bus

5

Direct Interrupt to cPCI Bus

6

Function Register Map

Key: Regular Italic = Incoming Data

Regular Underline = Outgoing Data

Bold Italic = Configuration/Control

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

Receive FIFO Mode Registers

Base Address: 0x00100000

0x1104

Receive FIFO Message Buffer Ch 1

R

0x1204

Receive FIFO Message Buffer Ch 2

R

0x1304

Receive FIFO Message Buffer Ch 3

R

0x1404

Receive FIFO Message Buffer Ch 4

R

0x1504

Receive FIFO Message Buffer Ch 5

R

0x1604

Receive FIFO Message Buffer Ch 6

R

0x1704

Receive FIFO Message Buffer Ch 7

R

0x1804

Receive FIFO Message Buffer Ch 8

R

0x1110

Receive FIFO Message Count Ch 1

R

0x1210

Receive FIFO Message Count Ch 2

R

0x1310

Receive FIFO Message Count Ch 3

R

0x1410

Receive FIFO Message Count Ch 4

R

0x1510

Receive FIFO Message Count Ch 5

R

0x1610

Receive FIFO Message Count Ch 6

R

0x1710

Receive FIFO Message Count Ch 7

R

0x1810

Receive FIFO Message Count Ch 8

R

0x1108

Receive FIFO Almost Full Threshold Ch 1

R/W

0x1208

Receive FIFO Almost Full Threshold Ch 2

R/W

0x1308

Receive FIFO Almost Full Threshold Ch 3

R/W

0x1408

Receive FIFO Almost Full Threshold Ch 4

R/W

0x1508

Receive FIFO Almost Full Threshold Ch 5

R/W

0x1608

Receive FIFO Almost Full Threshold Ch 6

R/W

0x1708

Receive FIFO Almost Full Threshold Ch 7

R/W

0x1808

Receive FIFO Almost Full Threshold Ch 8

R/W

0x1124

Receive FIFO Size Ch 1

R/W

0x1224

Receive FIFO Size Ch 2

R/W

0x1324

Receive FIFO Size Ch 3

R/W

0x1424

Receive FIFO Size Ch 4

R/W

0x1524

Receive FIFO Size Ch 5

R/W

0x1624

Receive FIFO Size Ch 6

R/W

0x1724

Receive FIFO Size Ch 7

R/W

0x1824

Receive FIFO Size Ch 8

R/W

Receive Mailbox Mode Registers

Base Address: 0x00100000

0x1104

Receive FIFO SDI/Label Buffer Ch 1

R

0x1204

Receive FIFO SDI/Label Buffer Ch 2

R

0x1304

Receive FIFO SDI/Label Buffer Ch 3

R

0x1404

Receive FIFO SDI/Label Buffer Ch 4

R

0x1504

Receive FIFO SDI/Label Buffer Ch 5

R

0x1604

Receive FIFO SDI/Label Buffer Ch 6

R

0x1704

Receive FIFO SDI/Label Buffer Ch 7

R

0x1804

Receive FIFO SDI/Label Buffer Ch 8

R

0x1110

Receive FIFO SDI/Label Count Ch 1

R

0x1210

Receive FIFO SDI/Label Count Ch 2

R

0x1310

Receive FIFO SDI/Label Count Ch 3

R

0x1410

Receive FIFO SDI/Label Count Ch 4

R

0x1510

Receive FIFO SDI/Label Count Ch 5

R

0x1610

Receive FIFO SDI/Label Count Ch 6

R

0x1710

Receive FIFO SDI/Label Count Ch 7

R

0x1810

Receive FIFO SDI/Label Count Ch 8

R

0x1108

Receive FIFO Almost Full Threshold Ch 1

R/W

0x1208

Receive FIFO Almost Full Threshold Ch 2

R/W

0x1308

Receive FIFO Almost Full Threshold Ch 3

R/W

0x1408

Receive FIFO Almost Full Threshold Ch 4

R/W

0x1508

Receive FIFO Almost Full Threshold Ch 5

R/W

0x1608

Receive FIFO Almost Full Threshold Ch 6

R/W

0x1708

Receive FIFO Almost Full Threshold Ch 7

R/W

0x1808

Receive FIFO Almost Full Threshold Ch 8

R/W

0x1124

Receive FIFO Size Ch 1

R/W

0x1224

Receive FIFO Size Ch 2

R/W

0x1324

Receive FIFO Size Ch 3

R/W

0x1424

Receive FIFO Size Ch 4

R/W

0x1524

Receive FIFO Size Ch 5

R/W

0x1624

Receive FIFO Size Ch 6

R/W

0x1724

Receive FIFO Size Ch 7

R/W

0x1824

Receive FIFO Size Ch 8

R/W

CM5img13

Transmit FIFO Registers

Base Address: 0x00100000

0x1100

Transmit FIFO Message Buffer Ch 1

W

0x1200

Transmit FIFO Message Buffer Ch 2

W

0x1300

Transmit FIFO Message Buffer Ch 3

W

0x1400

Transmit FIFO Message Buffer Ch 4

W

0x1500

Transmit FIFO Message Buffer Ch 5

W

0x1600

Transmit FIFO Message Buffer Ch 6

W

0x1700

Transmit FIFO Message Buffer Ch 7

W

0x1800

Transmit FIFO Message Buffer Ch 8

W

0x1114

Transmit FIFO Message Count Ch 1

R

0x1214

Transmit FIFO Message Count Ch 2

R

0x1314

Transmit FIFO Message Count Ch 3

R

0x1414

Transmit FIFO Message Count Ch 4

R

0x1514

Transmit FIFO Message Count Ch 5

R

0x1614

Transmit FIFO Message Count Ch 6

R

0x1714

Transmit FIFO Message Count Ch 7

R

0x1814

Transmit FIFO Message Count Ch 8

R

0x110C

Transmit FIFO Almost Empty Threshold Ch 1

R/W

0x120C

Transmit FIFO Almost Empty Threshold Ch 2

R/W

0x130C

Transmit FIFO Almost Empty Threshold Ch 3

R/W

0x140C

Transmit FIFO Almost Empty Threshold Ch 4

R/W

0x150C

Transmit FIFO Almost Empty Threshold Ch 5

R/W

0x160C

Transmit FIFO Almost Empty Threshold Ch 6

R/W

0x170C

Transmit FIFO Almost Empty Threshold Ch 7

R/W

0x180C

Transmit FIFO Almost Empty Threshold Ch 8

R/W

0x111C

Transmit FIFO Rate Ch 1

R/W

0x121C

Transmit FIFO Rate Ch 2

R/W

0x131C

Transmit FIFO Rate Ch 3

R/W

0x141C

Transmit FIFO Rate Ch 4

R/W

0x151C

Transmit FIFO Rate Ch 5

R/W

0x161C

Transmit FIFO Rate Ch 6

R/W

0x171C

Transmit FIFO Rate Ch 7

R/W

0x181C

Transmit FIFO Rate Ch 8

R/W

CM5img14

0x1120

Async Transmit Data Ch 1

R/W

0x1220

Async Transmit Data Ch 2

R/W

0x1320

Async Transmit Data Ch 3

R/W

0x1420

Async Transmit Data Ch 4

R/W

0x1520

Async Transmit Data Ch 5

R/W

0x1620

Async Transmit Data Ch 6

R/W

0x1720

Async Transmit Data Ch 7

R/W

0x1820

Async Transmit Data Ch 8

R/W

Transmit Control Registers

Base Address: 0x00100000

0x1000

Tx Trigger Ch ALL

W

0x1004

Tx Pause Ch ALL

W

0x1008

Tx Stop Ch ALL

W

Control Registers

Base Address: 0x00100000

0x1118

Channel Control Ch 1

R/W

0x1218

Channel Control Ch 2

R/W

0x1318

Channel Control Ch 3

R/W

0x1418

Channel Control Ch 4

R/W

0x1518

Channel Control Ch 5

R/W

0x1618

Channel Control Ch 6

R/W

0x1718

Channel Control Ch 7

R/W

0x1818

Channel Control Ch 8

R/W

0x1014

Module Reset Ch ALL

W

Module Common Registers

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

BIT/Summary

Base Address: 0x00100000

0x0800

Dynamic Status

R

0x0804

Latched Status*

R/W

0x0808

Interrupt Enable

R/W

0x080C

Set Edge/Level Interrupt

R/W

0x09A0

Summary Dynamic Status

R

0x09A4

Summary Latched Status

R/W

0x09A8

Summary Interrupt Enable

R/W

0x09AC

Summary Set Edge/Level Interrupt

R/W

0x0248

Test Enabled

R/W

0x02B8

Background BIT Threshold

R/W

0x02BC

Reset BIT

W

0x02AC

Power-on BIT Complete

R

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

Channel Status

0x02B0

Channel Status Enable

R/W

Interrupt Registers

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)

2 CH MIL-STD-1553 & 8 CH ARINC 429/575 (CM5)

DATIO1

BUSAP-CH1

DATIO2

BUSAN-CH1

DATIO3

BUSBP-CH1

DATIO4

BUSBN-CH1

DATIO5

CH1-RT-ADDR2/ANP1

DATIO6

CH1-RT-ADDR3/ANN1

DATIO7

BUSAP-CH2

DATIO8

BUSAN-CH2

DATIO9

BUSBP-CH2

DATIO10

BUSBN-CH2

DATIO11

CH1-STANDARD/BNP1

DATIO12

CH1-MODE0/BNN1

DATIO13

AR429-A-CH01

DATIO14

AR429-B-CH01

DATIO15

AR429-A-CH02

DATIO16

AR429-B-CH02

DATIO17

AR429-A-CH04

DATIO18

AR429-B-CH04

DATIO19

AR429-A-CH05

DATIO20

AR429-B-CH05

DATIO21

AR429-A-CH06

DATIO22

AR429-B-CH06

DATIO23

AR429-A-CH08

DATIO24

AR429-B-CH08

DATIO25

CH1-RT-ADDR0/APP1

DATIO26

CH1-RT-ADDR1/APN1

DATIO27

CH1-RT-ADDR4/BPP1

DATIO28

CH1-RT-PARITY/BPN1

DATIO29

AR429-A-CH03

DATIO30

AR429-B-CH03

DATIO31

AR429-A-CH07

DATIO32

AR429-B-CH07

DATIO33

DATIO34

DATIO35

DATIO36

DATIO37

DATIO38

DATIO39

DATIO40

STATUS AND INTERRUPTS

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

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

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

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

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

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

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

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

Interrupt Vector and Steering

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

Interrupt Trigger Types

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

Example 1: Fault detection

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

Example 2: Threshold detection

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

Dynamic and Latched Status Registers Examples

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

Status and Interrupts Fig1

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

No Clearing of Latched Status

Clearing of Latched Status (Edge-Triggered)

Clearing of Latched Status (Level-Triggered)

Time

Dynamic Status

Latched Status

Action

Latched Status

Action

Latched

T0

0x0

0x0

Read Latched Register

0x0

Read Latched Register

0x0

T1

0x1

0x1

Read Latched Register

0x1

0x1

Write 0x1 to Latched Register

Write 0x1 to Latched Register

0x0

0x1

T2

0x0

0x1

Read Latched Register

0x0

Read Latched Register

0x1

Write 0x1 to Latched Register

0x0

T3

0x2

0x3

Read Latched Register

0x2

Read Latched Register

0x2

Write 0x2 to Latched Register

Write 0x2 to Latched Register

0x0

0x2

T4

0x2

0x3

Read Latched Register

0x1

Read Latched Register

0x3

Write 0x1 to Latched Register

Write 0x3 to Latched Register

0x0

0x2

T5

0xC

0xF

Read Latched Register

0xC

Read Latched Register

0xE

Write 0xC to Latched Register

Write 0xE to Latched Register

0x0

0xC

T6

0xC

0xF

Read Latched Register

0x0

Read Latched

0xC

Write 0xC to Latched Register

0xC

T7

0x4

0xF

Read Latched Register

0x0

Read Latched Register

0xC

Write 0xC to Latched Register

0x4

T8

0x4

0xF

Read Latched Register

0x0

Read Latched Register

0x4

Interrupt Examples

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

Status and Interrupts Fig2

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

Time

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

Latched Status (Edge-Triggered – Clear Single Channel)

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

Action

Latched

Action

Latched

Action

Latched

T1 (Int 1)

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Write 0x1 to Latched Register

Write 0x1 to Latched Register

Write 0x1 to Latched Register

0x0

0x0

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

0x1

T3 (Int 2)

Interrupt Generated Read Latched Registers

0x2

Interrupt Generated Read Latched Registers

0x2

Interrupt Generated Read Latched Registers

0x2

Write 0x2 to Latched Register

Write 0x2 to Latched Register

Write 0x2 to Latched Register

0x0

0x0

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

0x2

T4 (Int 3)

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x1

Interrupt Generated Read Latched Registers

0x3

Write 0x1 to Latched Register

Write 0x1 to Latched Register

Write 0x3 to Latched Register

0x0

0x0

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

0x3

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

0x2

T6 (Int 4)

Interrupt Generated Read Latched Registers

0xC

Interrupt Generated Read Latched Registers

0xC

Interrupt Generated Read Latched Registers

0xE

Write 0xC to Latched Register

Write 0x4 to Latched Register

Write 0xE to Latched Register

0x0

Interrupt re-triggers Write 0x8 to Latched Register

0x8

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

0xE

0x0

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

0xC

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

0x4

MODULE COMMON REGISTERS

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

Module Information Registers

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

FPGA Version Registers

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

FPGA Revision

Function: FPGA firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 1. FPGA Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Compile Timestamp

Function: Compile Timestamp for the FPGA firmware.

Type: unsigned binary word (32-bit)

Data Range: N/A

Read/Write: R

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

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

Table 2. FPGA Compile Timestamp

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

day (5-bits)

month (4-bits)

year (6-bits)

hr

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

hour (5-bits)

minutes (6-bits)

seconds (6-bits)

FPGA SerDes Revision

Function: FPGA SerDes revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 3. FPGA SerDes Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Template Revision

Function: FPGA Template revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 4. FPGA Template Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FPGA Zynq Block Revision

Function: FPGA Zynq Block revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 5. FPGA Zynq Block Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Bare Metal Version Registers

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

Bare Metal Revision

Function: Bare Metal firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 6. Bare Metal Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Bare Metal Compile Time

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

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

Data Range: N/A

Read/Write: R

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

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

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

Word 1 (Ex. 0x2079614D)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Month ('y' - 0x79)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Month ('a' - 0x61)

Month ('M' - 0x4D)

Word 2 (Ex. 0x32203731)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Year ('2' - 0x32)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Day ('7' - 0x37)

Day ('1' - 0x31)

Word 3 (Ex. 0x20393130)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Year ('9' - 0x39)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Year ('1' - 0x31)

Year ('0' - 0x30)

Word 4 (Ex. 0x31207461)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Hour ('1' - 0x31)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

'a' (0x74)

't' (0x61)

Word 5 (Ex. 0x38333A35)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Minute ('8' - 0x38)

Minute ('3' - 0x33)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

':' (0x3A)

Hour ('5' - 0x35)

Word 6 (Ex. 0x0032333A)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

NULL (0x00)

Seconds ('2' - 0x32)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Seconds ('3' - 0x33)

':' (0x3A)

FSBL Version Registers

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

FSBL Revision

Function: FSBL firmware revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

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

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

Table 8. FSBL Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

FSBL Compile Time

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

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

Data Range: N/A

Read/Write: R

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

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

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

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

Word 1 (Ex. 0x2079614D)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Month ('y' - 0x79)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Month ('a' - 0x61)

Month ('M' - 0x4D)

Word 2 (Ex. 0x32203731)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Year ('2' - 0x32)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Day ('7' - 0x37)

Day ('1' - 0x31)

Word 3 (Ex. 0x20393130)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Space (0x20)

Year ('9' - 0x39)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Year ('1' - 0x31)

Year ('0' - 0x30)

Word 4 (Ex. 0x31207461)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Hour ('1' - 0x31)

Space (0x20)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

'a' (0x74)

't' (0x61)

Word 5 (Ex. 0x38333A35)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Minute ('8' - 0x38)

Minute ('3' - 0x33)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

':' (0x3A)

Hour ('5' - 0x35)

Word 6 (Ex. 0x0032333A)

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

NULL (0x00)

Seconds ('2' - 0x32)

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Seconds ('3' - 0x33)

':' (0x3A)

Module Serial Number Registers

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

Interface Board Serial Number

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

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

Data Range: N/A

Read/Write: R

Initialized Value: Serial number of the interface board

Operational Settings: This register is for information purposes only.

Functional Board Serial Number

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

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

Data Range: N/A

Read/Write: R

Initialized Value: Serial number of the functional board

Operational Settings: This register is for information purposes only.

Module Capability

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

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0x0000 0107

Read/Write: R

Initialized Value: 0x0000 0103

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

Table 10. Module Capability

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

Flt-Pt

0

0

0

0

0

Pack

FIFO Blk

Blk

Module Memory Map Revision

Function: Module Memory Map revision

Type: unsigned binary word (32-bit)

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Value corresponding to the Module Memory Map Revision

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

Table 11. Module Memory Map Revision

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Major Revision Number

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Minor Revision Number

Module Measurement Registers

The registers in this section provide module temperature measurement information.

Temperature Readings Registers

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

Interface Board Current Temperature

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

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

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

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

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

Table 12. Interface Board Current Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Functional Board Current Temperature

Function: Measured PCB temperature on Functional Board.

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

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

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

Table 13. Functional Board Current Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Interface Board Maximum Temperature

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

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

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

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

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

Table 14. Interface Board Maximum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Interface Board Minimum Temperature

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

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

Data Range: 0x0000 0000 to 0x0000 FFFF

Read/Write: R

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

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

Table 15. Interface Board Minimum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

PCB Temperature

Zynq Core Temperature

Functional Board Maximum Temperature

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

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

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

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

Table 16. Functional Board Maximum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Functional Board Minimum Temperature

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

Type: signed byte (8-bits) for PCB

Data Range: 0x0000 0000 to 0x0000 00FF

Read/Write: R

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

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

Table 17. Functional Board Minimum Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

0

0

0

0

0

0

0

0

PCB Temperature

Higher Precision Temperature Readings Registers

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

Higher Precision Zynq Core Temperature

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

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

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Zynq Core temperature on Interface Board

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

Table 18. Higher Precision Zynq Core Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Higher Precision Interface PCB Temperature

Function: Higher precision measured Interface PCB temperature.

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

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Interface PCB temperature

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

Table 19. Higher Precision Interface PCB Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Higher Precision Functional PCB Temperature

Function: Higher precision measured Functional PCB temperature.

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

Data Range: 0x0000 0000 to 0xFFFF FFFF

Read/Write: R

Initialized Value: Measured Functional PCB temperature

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

Table 20. Higher Precision Functional PCB Temperature

D31

D30

D29

D28

D27

D26

D25

D24

D23

D22

D21

D20

D19

D18

D17

D16

Signed Integer Part of Temperature

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Fractional Part of Temperature

Module Health Monitoring Registers

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

Module Sensor Summary Status

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

Type: unsigned binary word (32-bits)

Data Range: See table below

Read/Write: R

Initialized Value: 0

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

Table 21. Module Sensor Summary Status

Bit(s)

Sensor

D31:D6

Reserved

D5

Functional Board PCB Temperature

D4

Interface Board PCB Temperature

D3:D0

Reserved

Module Sensor Registers

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

Module Sensor Registers
Sensor Threshold Status

Function: Reflects which threshold has been crossed

Type: unsigned binary word (32-bits)

Data Range: See table below

Read/Write: R

Initialized Value: 0

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

Table 22. Sensor Threshold Status

Bit(s)

Description

D31:D4

Reserved

D3

Exceeded Upper Critical Threshold

D2

Exceeded Upper Warning Threshold

D1

Exceeded Lower Critical Threshold

D0

Exceeded Lower Warning Threshold

Sensor Current Reading

Function: Reflects current reading of temperature sensor

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

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

Read/Write: R

Initialized Value: N/A

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

Sensor Minimum Reading

Function: Reflects minimum value of temperature sensor since power up

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

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

Read/Write: R

Initialized Value: N/A

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

Sensor Maximum Reading

Function: Reflects maximum value of temperature sensor since power up

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

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

Read/Write: R

Initialized Value: N/A

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

Sensor Lower Warning Threshold

Function: Reflects lower warning threshold of temperature sensor

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

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

Read/Write: R/W

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

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

Sensor Lower Critical Threshold

Function: Reflects lower critical threshold of temperature sensor

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

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

Read/Write: R/W

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

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

Sensor Upper Warning Threshold

Function: Reflects upper warning threshold of temperature sensor

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

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

Read/Write: R/W

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

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

Sensor Upper Critical Threshold

Function: Reflects upper critical threshold of temperature sensor

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

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

Read/Write: R/W

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

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

FUNCTION REGISTER MAP

Key

Bold Underline

= Measurement/Status/Board Information

Bold Italic

= Configuration/Control

Module Information Registers

0x003C

FPGA Revision

R

0x0030

FPGA Compile Timestamp

R

0x0034

FPGA SerDes Revision

R

0x0038

FPGA Template Revision

R

0x0040

FPGA Zynq Block Revision

R

0x0074

Bare Metal Revision

R

0x0080

Bare Metal Compile Time (Bit 0-31)

R

0x0084

Bare Metal Compile Time (Bit 32-63)

R

0x0088

Bare Metal Compile Time (Bit 64-95)

R

0x008C

Bare Metal Compile Time (Bit 96-127)

R

0x0090

Bare Metal Compile Time (Bit 128-159)

R

0x0094

Bare Metal Compile Time (Bit 160-191)

R

0x007C

FSBL Revision

R

0x00B0

FSBL Compile Time (Bit 0-31)

R

0x00B4

FSBL Compile Time (Bit 32-63)

R

0x00B8

FSBL Compile Time (Bit 64-95)

R

0x00BC

FSBL Compile Time (Bit 96-127)

R

0x00C0

FSBL Compile Time (Bit 128-159)

R

0x00C4

FSBL Compile Time (Bit 160-191)

R

0x0000

Interface Board Serial Number (Bit 0-31)

R

0x0004

Interface Board Serial Number (Bit 32-63)

R

0x0008

Interface Board Serial Number (Bit 64-95)

R

0x000C

Interface Board Serial Number (Bit 96-127)

R

0x0010

Functional Board Serial Number (Bit 0-31)

R

0x0014

Functional Board Serial Number (Bit 32-63)

R

0x0018

Functional Board Serial Number (Bit 64-95)

R

0x001C

Functional Board Serial Number (Bit 96-127)

R

0x0070

Module Capability

R

0x01FC

Module Memory Map Revision

R

Module Measurement Registers

0x0200

Interface Board PCB/Zynq Current Temperature

R

0x0208

Functional Board PCB Current Temperature

R

0x0218

Interface Board PCB/Zynq Max Temperature

R

0x0228

Interface Board PCB/Zynq Min Temperature

R

0x0218

Functional Board PCB Max Temperature

R

0x0228

Functional Board PCB Min Temperature

R

0x02C0

Higher Precision Zynq Core Temperature

R

0x02C4

Higher Precision Interface PCB Temperature

R

0x02E0

Higher Precision Functional PCB Temperature

R

Module Health Monitoring Registers

0x07F8

Module Sensor Summary Status

R

Module Sensor Registers Memory Map

Revision History

Module Manual - CM5 Revision History

Revision Date Description

C

2022-02-08

ECO C09070, transition to docbuilder format. Replaced "Specifications" section with "Data Sheet" section. Removed CHs 3 & 4 from "BIT Status" table on Pg. 23. Removed CHs 3 & 4 from Function Register Map registers.

C1

2023-12-13

ECO C11049, updated Introduction on Pg. 7-8; replaced Features with CM5 Overview. Added Module Common Registers on Pgs. 18/23/27/36/50/58. Added Status and Interrupts on Pg. 18. Changed bit references from 'Bx' to 'Dx' for consistency with bit tables on Pgs. 22/23. Added Interrupt Vector and Steering on Pg. 26. Changed bits D3 & D4 to 0; revised Timestamp Control Registers bit definition table on Pg. 41. Added Timestamp Value bit table on Pg. 42. Added bit D21; made bit D11 reserved; added Configuration Functions heading to bit definition table starting at bits D15:D11 on Pg. 47. Changed bit D5 from SPEED to HIGH SPEED on Pg. 48. Added Channel Status Enabled on Pg. 51. Removed Summary Events Table on Pg. 53. Added Channel Status Enabled offset.

Module Manual - Status and Interrupts Revision History

Revision

Date

Description

C

2021-11-30

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

Module Manual - Module Common Registers Revision History

Revision

Date

Description

C

2023-08-11

ECO C10649, initial release of module common registers manual.

NAI Cares

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

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

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

Application Notes

Calibration and Repairs

Call Us

(631) 567-1100

Help Bot

X