element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
NexGen Flight Simuator Nexgen: Protocol Conversion: Ethernet <> CANaerospace - I
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 3 Jun 2021 7:25 PM Date Created
  • Views 867 views
  • Likes 5 likes
  • Comments 3 comments
  • flight simulator
  • nexgen
  • canaerospace message format
  • protocol converter
  • osi_layers
  • canaerospace
Related
Recommended

Nexgen: Protocol Conversion: Ethernet <> CANaerospace - I

phoenixcomm
phoenixcomm
3 Jun 2021

Ok, what is a protocol converter, and why do I need one? Well, a CANaerospace frame is defined as an 8-byte message with the first four (4) bytes comprising the header and the remaining four (4) bytes as Message Data which is type-specific (see diagrams). The codes for the header fields are listed in a book by NASA  AGATE data bus / Michael Stock Slight Systems, Interface Specifications for Airborne CAN Applications or a good overview in a slide show presentation.image

imageimageimage

Since the two services share the 7 layer ISO model moving data from and to the CANaerospace bus from Ethernet should be a straightforward task. There will be 4 parts to the program on an Arduino Mega 256,  Ethernet client/server, and the CANaerospace client/server. For testing, I have loaded a web server program on the Arduino and see if I can get that to work. First using caned values, and then using values from the debug console, and finally getting info off the CANaerospace Bus itself.  The Protocol Converter is built into my Type 3 ATR boxes and they have been sprayed Black on the front surface. My ATR boxes are color-coded. There are a few pictures of my ATR Protocol Converter.

image

The top is held in place with two 6-32 x 3/8 screws, and I have not yet wired the CAN bus module or the RJ-45 jack for the CAN interface. Please notice the mount for the Arduino is 3D printed but can be picked up on eBay for about $5.00. The trade-off is A: do you have a 3D printer or have access to one, and how much filament will it use vs just buying one from eBay.  And I still have to modify them by removing the front lip. There is also a DIN-5 jack on the back wall for power.

 

 

 

imageimageimage
  1. 5 Vdc
  2. Unassigned
  3. Ground
  4. 12 Vdc
  5. 24 Vdc
  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +2
    Yes, Protocol conversion has sunk many an avionics package. DAB
  • navadeepganeshu
    navadeepganeshu over 4 years ago in reply to phoenixcomm

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to DAB

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Yes,

     

    Protocol conversion has sunk many an avionics package.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube