element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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: Hacking a Processor Select Panel - Part 2
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 10 Oct 2022 4:54 PM Date Created
  • Views 425 views
  • Likes 6 likes
  • Comments 0 comments
  • flight simulator
  • nexgen
  • diy cockpit
  • arduino mega 2560
  • 7-f511f00121-1
  • hardware
  • processor select panel
  • spi-can module
  • canaerospace
  • diy_cockpit
Related
Recommended

NexGen: Hacking a Processor Select Panel - Part 2

phoenixcomm
phoenixcomm
10 Oct 2022

imageThe Processor Select Panel, 7-F511F00121-1 (NSN: 1290-01-438-6575), is from an Apache Longbow AH-64D.

I only need 2 inputs and two outputs, as identified in the blog post "NexGen: Component Documentation: Panel, Processor Select". Just so we don't need page flipping here they are:

  1. Output: SWITCH, PROCESSOR - 1, SEL1, pin 6
  2. Output: SWITCH, PROCESSOR - 2, SEL2, Pin 7
  3. input: DISPLAY, ACTIVE PROCESSOR - 1, DAP1, pin *
  4. input: DISPLAY, ACTIVE PROCESSOR - 2, DAP2, pin * *pins are currently unknown.

pins 2 and 3 will go to an Arduino Mega interrupt pins 12 and 13 respectively.
Communications will be via SPI to CAN module.
meanwhile, CANaerospace will be doing the heavy lifting. where I will use an address from the reserved space 1300-1299

image

Service Responses
BYTE Data Type VALUES CHAN NOD IDS
BYTE 0 Node-ID (UCHAR)1 1300
0x514
1300
0x514
BYTE 1 Data Type (UCHAR)2
BYTE 2 Service Code (*CHAR*)3 0
BYTE 3 Message Code (UCHAR)4
BYTE 4 Message Data STATUS 1001
BYTE 5 Message Data SEL1 & SEL2
BYTE 6 Message Data DAP1 0001
BYTE 7 Message Data DAP2 0001
BYTE5 DECODE 0xx0 bits 1 and 4 are pulled down = Auto Select Active
0xx1 = SEL1 Active
1xx0 = SEL2 Active
  1. node-ID: is in the range of 0-255 with node-ID “0” being the broadcast-ID referring to “all nodes”.
  2. Data Type: is in the range of 0-255 For data representation, the most commonly used basic data types are defined. This is the Data Type of the Message Data
  3. Service Code: is user-defined. This allows identification of each message by any receiving unit without the need for additional information.
  4. Message Code: For normal operation data (NOD) messages, the message code is incremented by one for each message and may be used to monitor the sequence of incoming messages. The message code then rolls over to zero after passing 255.

    The SPI/CAN module also will be using an interrupt on the Arduino pin 14. This notifies the Arduino that there is something waiting on the buffer, it could be a normal message or the Heartbeat. Below is a preliminary schematic.

    image

    • Sign in to reply
    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