HOLT HI-3593 ARINC 429 3.3V User Manual

Dual receiver, single transmitter with spi evaluation board

Advertisement

Quick Links

HI‐3593 ARINC 429 3.3V Dual Receiver,
_____________________________________________________________________________________ 
AN‐160 Rev. C 
Arrow.com.
Downloaded from
Single Transmitter with SPI
Evaluation Board
Users Guide
June 14, 2012
HOLT INTEGRATED CIRCUITS 
 
23351 Madero,
Mission Viejo, CA
92691. USA.
Tel:
+ 1 949 859 8800
Fax:
+ 1 949 859 9643
Email: sales@holtic.com
Web:
www.holtic.com 
 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HI-3593 ARINC 429 3.3V and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for HOLT HI-3593 ARINC 429 3.3V

  • Page 1   23351 Madero, Mission Viejo, CA 92691. USA. Tel: + 1 949 859 8800 Fax: + 1 949 859 9643 Email: sales@holtic.com Web: www.holtic.com  HI‐3593 ARINC 429 3.3V Dual Receiver, Single Transmitter with SPI Evaluation Board Users Guide June 14, 2012   _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  1  Arrow.com. Downloaded from...
  • Page 2: Kit Contents

    INTRODUCTION   The Holt HI‐3593 ARINC 429 Evaluation Board can be used to evaluate most of the features of the HI‐ 3593 ARINC Dual Receiver and Single Transmitter IC.  The HI‐3593 features an on‐chip DC‐DC converter  which generates both +5V and ‐5V to supply the bipolar differential voltage levels needed to meet the  ARINC 429 Bus levels from a single 3.3V supply voltage.  The main board “General Purpose SPI  Evaluation Board” includes switches, pushbutton switches and LEDs to help navigate the operating  modes and confirm data and status information.  A Freescale MC9S12XDT512 microcontroller on the  main board communicates with the HI‐3593 through the SPI interface. A Serial UART port is provided  which enables viewing messages and status information or entering of optional commands using any  terminal program such as Hyper‐Terminal. The HI‐3593 Evaluation Board is a daughter card that plugs on  to the General Purpose SPI board via two 26 pin connectors.  This Users Manual provides a more detailed description of the evaluation board and demo program than  in the Quick Start Guide.   Kit Contents    Quick Start Guide.   General Purpose SPI Evaluation board and schematic.   HI‐3593 Evaluation Board (daughter card) and schematic.   HI‐3593 Data Sheet.   RS‐232 9 Pin Serial Cable.   Demo Project compatible with Freescale™ CodeWarrior™.   This HI‐3593 Users Guide.   HI‐3593 Application Note.  _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  2  Arrow.com. Arrow.com. Downloaded from...
  • Page 3 Transmission and Reception of ARINC low speed and high speed messages.   Selectable ODD or EVEN parity.   Self Test mode (Internal digital loop back).   256 receiver labels.   Receiver label reverse bit order.   Transmitter label reverse bit order.   Receiver Priority Label Mailboxes.   Receiver filter on SD9 or SD10.   ARINC ACLK programmable divider.  General Purpose SPI Board   The bottom main board is a general purpose board used to demonstrate a variety Holt devices.  The schematic of this board will have slightly different references for some of the Dip switches. For this  application BITRATE1 is used for Receiver‐1 Parity Checking and BITRATE2 is used for Receiver‐2 Parity  Checking. If in doubt refer to the HI‐3593 Quick Start Guide and Users Guide for the proper use of these  dip switches. IC U3 on this main board is not populated so that the HI‐3593 daughter card has full access  to the SPI interface. For this application the 9‐pin D connector J2 is Not Used.            _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  3  Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 4: Evaluation Board Block Diagram

    Evaluation Board Block Diagram     Single Supply +3.3V +3.3V SPI (4) Transmitter ARINC TX BUS USB Debug Port HOLT RS-232 Console HI-3593 MC9S12XD Receiver-1 ARINC RX BUS 16 Bit MCU LEDs (10) DC / DC 4MHz Receiver-2 ARINC RX BUS Converter User Push...
  • Page 5: Initial Board Set Up

    Initial Board Set up   1. Connect a +3.3V power supply to TP1 and ground to TP6.  The HI‐3593 uses +3.3V and this is  the only power supply needed by this demo since the HI‐3593 includes an on‐chip DC‐DC  converter which generates the +5V and ‐5V for the ARINC transmit levels.    2. Connect the RS‐232 cable to the board and the PC.  Some features are only available using  Console commands entered through the serial port. To view ARINC messages, Control and  Status registers and enter optional commands, use a terminal program such as  HyperTerminal. Configure the communication for 115200 Baud, 8 bits, No Parity, No  handshaking.    3. HI‐3593 daughter card factory default jumper settings:    JPR3 – shorted.  Removing this jumper opens the VDD path only to the HI‐3593. This    jumper provides a way to measure the HI‐3593 power supply current ICC.    _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  5  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 6: Main Board Jumpers

      1    0     0    HI3593 Explorer SELF‐TEST Mode    1    1     1    Serial Console Commands      OPT1 switch    Transmitter Party Enable  Open = Transmit Parity Enabled.   _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  6  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 7: Led Indicators

    Depending on selected mode, these buttons perform specific tasks.  LED Indicators   LEDs 1‐8 show the program revision after a reset and also status information during the demo  execution. The format for the program revision is    LED8 – LED5 = digit,  LED4‐LED1 = sub digit  For program revision 1.0, LED5 will be turned on for two seconds before the program continues. The  program also displays the program revision on the Console.  The red LED8 is used to show a fault if the program cannot initialize the HI‐3593. After performing a MR  the program checks the transmit status register for the default value 0x01. If this value is not read the  program turns on the red LED and enters a dead loop.   LED7 will usually flash at a one second interval to show the program is running.  For Mode‐1 and  Mode‐2, LEDs 5‐7 are reconfigured to blink when a Priority Label is received by either Receiver‐1 or  Receiver‐2:  _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  7  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 8: Mode Descriptions

      There are six valid demo modes selectable by the Mode‐0, Mode‐1 and Mode‐2 Dip switches.  Set the  switches according to the desired mode, ARINC speed and Receiver Parity checking and power cycle the  board or press the RESET button on the main board.    Mode‐ 0   Board Test:  This is a simple test program that cycles the LEDs 1 ‐ 8 on briefly to verify operation.  LED7 will flash  every second independently in addition to the normal flash. Pressing down SW‐1 will stop the sequence  and turn on LED1. Pressing SW 2‐4 will turn on LEDs 2‐4 respectively. This is a way to verify that the push  button switches work.  The output on the console will be similar to:  Holt HI-3593 Demonstration Software Revision: X.X Board Test Mode‐ 1   Transmit Messages with Labels  This mode demonstrates most of the capabilities in the HI‐3593. It first checks the dip switches and  configures the Transmitter and both Receiver control registers for Transmit Parity, Label enable/disable,  ARINC low/ high speed. Both receivers are also configured depending on the switch settings. The initial  console screen looks similar to this, depending on the switch settings:  Holt HI-3593 Demonstration Software Revision: X.X Transmit & Receive With Labels Mode Fast Speed Receiver-1 Parity is Enabled...
  • Page 9 0x60 FLAG Int Assig 0x00 ACLK Divisor 0x08 PL1 Match 1 Reg 0x20 PL1 Match 2 Reg 0x40 PL1 Match 3 Reg 0x7F _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  9  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 10 Using the on‐the‐fly Console commands while viewing the transmitter signal on an oscilloscope provides  an easy way to learn how the control register configuration bits affects the data pattern.  Keep in mind  the OPT1 and OTP2 switches for Transmit Parity and Label recognition are only sampled immediately  after a reset.  To change these settings first make the change and then press the RESET button.  While transmitting, it is possible to press the H key on the Console to display the help screen.   Console Commands Help Screen:  --- Console Commands Help --- P = Parity Toggle on/off T = TFLIP Toggle on/off _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  10  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 11 Transmit Messages with Labels  SELF‐TEST  Mode‐2 is almost identical to Mode‐1 with the exception that the SELFTEST bit in the transmit control  register is set. This enables an internal digital loop back feature. In this mode no external transmitter  data will be outputted. Also, the normal data from the transmitter will be received on Receiver‐1 and an  inverted copy will be received on Receiver‐2 automatically. SELF‐TEST or digital loop back is very useful  when bringing up new hardware.  Using the SELF‐TEST provides a means of testing the device at the  local level by enabling transmitter data to be routed internally to the receive FIFO so that software can  be tested without actually having an external ARINC source.   The header on the console displays this additional message:  SELF-TEST, Internal Digital Loop-back, No data is transmitted externally   The first few messages on the console will appear similar to this:  _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  11  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from...
  • Page 12 J9-5 to J8-5 (TXAOUT to RIN2A) J9-4 to J8-4 (TXBOUT to RIN2B) Press the RESET button. A similar header screen will be shown on the Console   Holt HI-3593 Demonstration Software Revision: 1.00 Explorer Mode _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  12  Arrow.com.
  • Page 13 To Transmit, enter 3 bytes followed by a label byte followed by ENTER Format: Bits32-25, Bits24-17, Bits16-9, LABEL :Example: 01 23 45 67 ENTER   Enter 8 valid hex digits (0‐F).  The program displays each digit as it is pressed then a “Press ENTER”  prompt will be displayed. Press the ENTER key to transmit this new message.  :12 34 56 78 Press RETURN Transmitted.. > _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  13  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 14 Data:12 34 56 Label:80 >Rec-2 Data:12 34 56 Label:80 (label 80 was received)   Enter the R Console command to toggle the RFLIP bit and transmit a message using the ENTER  command. Notice the label value changed from 0x80 to 0x01. By viewing the actual data on an  oscilloscope, you can also see the effect of changing the Parity, TFLIP,  RFLIP and DSON bits by using the  Console commands to alter these bits and then re transmitting the new message. These commands  toggle the corresponding bits on or off, depending on the previous state.   The I Console command is very simple;  it just increments the current value in the transmit buffer and  transmits that message.  Mode‐ 4 – HI3593 Explorer Mode SELF‐TEST  Mode‐ 4 is identical to Mode‐ 3 except it sets the SELF‐TEST bit.   _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  14  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 15 Mode‐7 (Serial Commands) Setting all the Mode switches to the open position enables Mode‐7. These are simple optional test  functions which could be easily expanded to perform other customized tests.  A few simple examples  are provided:  ******* HOLT HI-3593 Serial Console Commands ******* Input String Demo Reset HI-3593 using the MR pin Control and Status Register Dump 2 Initialize TCR, RCR1 and RCR2 Enter Selection: HI‐3593 Daughter Card standalone use: To use the Daughter Card in standalone mode without connection to the Holt General Purpose SPI main  board a 10 pin connector J10 is provided with most of the signals needed to connect to an external  MCU.  Connectors J5 and J6 can provide some of the signals not preset on J10.    _____________________________________________________________________________________  AN‐160 Rev. C ...
  • Page 16   BoardTest.H        Uart.h    Common.h    Common defines for the project    Derivative.h    Freescale™ IDE support file    Mc9s12xdt512.h   Freescale™ IDE target part support file   _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  16  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 17 4. Click Make from the Project menu to rebuild the project. The project should build without  errors. You may receive a dead assignment warning if for example some defines are set to a zero  value.   5. Install the PE Micro USB Multilink Interface cable per the instructions.   6. Plug the USB Multilink 6‐pin debug cable into the J9 debug connector and power up the board  with 3.3V.  7. Download the program by clicking Debug from the Project menu. The first time the program is  downloaded the debugger will need to be configured for the USB Multilink cable. After  downloading is complete, the debugger window should be displayed with the first line in main.c  highlighted. Press the green arrow button to run the program. Since the program has been  loaded, you can power down the board and re‐power the board and the program should run  automatically without the debugger.      _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  17  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 18 Holt HI‐3593 project loaded into CodeWarrior™ 5.9.0     Freescale™ MC9S12XDT512xxx Development Tools   The Freescale™ microcontroller data sheet and other documentation can be found at this link:   http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XD&tid=16bhp  If these links become out of date go to: http://www.freescale.com/   and search for information on “S12XD: 16‐Bit Automotive Microcontroller”.  A Free 32K limited version of the CodeWarrior™ IDE from Freescale™ is available:  _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  18  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 19 The US Multilink debugger cable used for this project is:  http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=USBMULTILINKBDM&parentCod e=S12XD&fpsp=1  http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=USBMULTILINKBDME‐ND    References: http://www.holtic.com/ _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  19  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 20: Bill Of Materials

    HI-3593 Daughter Card rev B Revised: 2/28/2012 Description Item Reference DigiKey Mfr P/N PCB, Bare, Evaluation Board -------- HI-3593PQT Holt 4Mhz OSC, 6-SMD OSC1 631-1194-1-ND FOX: FX0-HC736R-4 Header, Female 2X14 0.1" J5, J6 S7082-ND Sullins Pitch Header, Male 1x6, 0.1" Pitch...
  • Page 21 _____________________________________________________________________________________    AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  21  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 22 LiteOn LTST- C170CKT Res 1M, 1/8W 5% RHM1.0MARCT- Panasonic ECG 0805 SMD ERJ-6GEYJ105V Res 3.3K, 1/8W 5% R17,R18,R20-R22,R24-R26,R29- RHM3.3KACT-ND MCR10EZHJ332 0805 SMD R33,R35-R38 _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  22  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 23 631-1005-1-ND FOXSDLF/040 OSC 24MHz, 5.0V, OSC1 ( Do Not Install) 1/2 SIZE XC275-ND ECS-2200B-240 3M Bumpon Install at four corners and center. SJ5746-0-ND 3M: SJ61A1 _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  23  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 24 _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  24  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 25: Revision History

    AN-160, Rev. C 6-14-12 Update daughter card photo and BOM for SPI demo board.                 _____________________________________________________________________________________  AN‐160 Rev. C  HOLT INTEGRATED CIRCUITS  25  Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.

Table of Contents