Market Leader in 1553 & ARINC Interface Cards and Real-Time Appliances

How is an ARINC-429 label handled in the Alta API with regards to LSB/MSB ?

Welcome to the Alta Customer Download Area

Please Click on a Link Below…
Contact us at 888-429-1553 x2 or [email protected] for any questions.
By entering the download section, you agree to Alta Terms and Conditions, Warranties, and Cookies.
See Company/Polices and /Legal for more information.
Please let us know how we’re doing with a Survey!

Home / Article / How is an ARINC-429 label handled in the Alta API with regards to LSB/MSB ?

The “Data” word of the RXP or TXP is a raw 32-bit left justified word. ARINC-429 labels (the first 8 bits of the 32-bit word – Bits 0-7) are normally LSB first for bit 7, which is reversed from the rest of the word. The user must reverse the label field for transmission or reception as appropriate.

For example: a label of 0x02 would be need to flipped to 0x40. The following code snippet would flip a label from an RXP (reverse the logic for TXP).

ADT_L0_UINT32     RXPlabel;
ADT_L1_A429_RXP myRXP_buffer;

/* Flip label MSB->LSB */
RXPlabel     = myRXP_buffer.Data & 0x000000FF;

tempLabel |= (RXPlabel & 1) << 7;
tempLabel |= (RXPlabel & 2) << 5;
tempLabel |= (RXPlabel & 4) << 3;
tempLabel |= (RXPlabel & 8) << 1;
tempLabel |= (RXPlabel & 16) >> 1;
tempLabel |= (RXPlabel & 32) >> 3;
tempLabel |= (RXPlabel & 62) >> 5;
tempLabel |= (RXPlabel & 128) >> 7;

Related Articles

This page requires users to be registered and logged in.

WELCOME BACK!

Below are the products that are in your cart. If you wish to remove any, please uncheck the corresponding checkbox.

Remove All sales request form

Your Cart

Below are the products that are in your cart. If you wish to remove any, please uncheck the corresponding checkbox.

Remove All sales request form

Alta Selected for Prestigious Award as Top Supplier & Technology Innovator

The Recognized Leader in 1553 & ARINC Interface Cards,
Real-Time Ethernet Converters, USB and Thunderbolt Appliances

MIL-STD-1553 and ARINC Top Products and Quality. Interface Boards, Ethernet Converters and USB Appliances