Download Print this page
Hide thumbs Also See for HI?1590:

Advertisement

Quick Links

HI‐1590 1553B Dual Transceiver
 
 
 
 
 
AN‐1590, Rev. New 
With SPI Amplitude Control
Evaluation Board
User Guide
October, 2014
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 
10/10/14 

Advertisement

loading
Need help?

Need help?

Do you have a question about the HI?1590 and is the answer not in the manual?

Questions and answers

Summary of Contents for HOLT HI?1590

  • 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‐1590 1553B Dual Transceiver With SPI Amplitude Control Evaluation Board   User Guide October, 2014           AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 2 INTRODUCTION   The Holt HI‐1590 Evaluation Board demonstrates features of the HI‐1590 MIL‐STD‐1553B dual  transceiver IC. This device transmits and receives Manchester encoded 20 bit MIL‐STD‐1553B  serial data suitable bus transformers.  Transceiver drive amplitude can be digitally adjusted from  0 to 26 Vp‐p through the SPI interface. Adjustment can also be made with a 0 to 3.3VDC analog  control signal; a potentiometer is provided for this. Amplitude controls for both buses are  ganged together. In SPI mode, a low range option allows for more accurate amplitude  adjustment from 0 to 4.9 Vp‐p. The board runs from a single 3.3V ±5% supply voltage.  A MIL‐ STD‐1553B protocol message generator and receiver are included on the board to demonstrate  the HI‐1590 features. The EVM (Evaluation Module) includes a microcontroller that generates  the SPI messages, the interface is through a terminal emulator connected to a PC through the  USB interface. The EVM is shown in the picture below:          Fig 1 – HI‐1590 Evaluation Board  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 3: Kit Contents

    Supply VCONT DB2791 BUSA RESET Message A Transceiver A TRANSFORMER 1553B ACTIVE Message HI-1590 Generator DB2791 BUSB Message B Transceiver B TRANSFORMER DIP SW EEPROM EEPROM MC9S12XD 16 Bit MCU RESET Button DIP SW DIP SW (6) AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 4 BC/RT  BC  Connects memory for BC or RT messages    Wired Jumper Functions (JP) REF  NAME  DEFAULT DESCRIPTION  JP1    ON  Link to use on‐board 70 Ω load on Bus B output  JP8    ON  Link to use on‐board 70 Ω load on Bus A output  JP2, 3, 4, 5    JP4, 5 ON  Option links for transformer variants, Bus B  JP6, 7, 9, 10    JP6, 9 ON  Option links for transformer variants, Bus A  JP11    ON  Connects Bus A negative output to ground    JP12    ON  Connects Bus B negative output to ground    JP13‐16    ON  Cut if using  an external 1553 message generator  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 5: Connector Functions

    000000  RT Address (only used if RT mode available)  SW7  RESET    Press to reset the microcontroller and control software  Connector Functions REF  NAME  DESCRIPTION  J1  BUSB  1553 Bus A connection (secondary of transformer)  J2  BUSA  1553 Bus B connection (secondary of transformer)  J3/ 1,2  RXA/nRXA  Differential Logic signal from HI‐1590 Bus A receive data pins  J3/ 3,4  RXB/nRXB  Differential Logic signal from HI‐1590 Bus B receive data pins  J6  Not fitted  SPI interface for the EEPROMs  J7    Data connector to load 1553 messages  J9  USB  Connect to PC to send SPI commands from terminal emulator  J10  External SPI  Use to connect an external SPI for HI‐1590 control   J11  Debug Header   Used for downloading microcontroller firmware  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 6 UPDATE  Test point for Update signal indicates when MIL‐STD‐1553B word has  been received  TP7  VSEL  This pin monitors voltage on the VSEL pin control on the output  amplitude.   High = SPI control 0‐24V   Float = Analog Control  Low = SPI Control, 0‐5.1V   TP3, 8, 9, 10  GND  Board Ground  TP11  3V3   VLOGIC Supply, connect power supply here  TP21  VDD  VLOGIC after supply filter  TP13  IRQ  INTERRUPT   TP14  ACTIVE  Produces pulse just before 1553 message starts, can be used to  trigger scope.  TP17/18  TXDO/RXDO  USB data.    TXA, nTXA  Connect external 1553 data here if not using the on board message  generator for BUSA. Need to cut links TXA and nTXA.    TXB, nTXB  Connect external 1553 data here if not using the on board message  generator for BUSB. Need to cut links TXB and nTXB.  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 7 Using the Board   1. Check all the link and switch positions comply with the tables above.  Connect a 3.3V, 1A  supply to the 3V3 test point. A 1A supply current is required at maximum amplitude. Verify  the ‘Power On’ LED is lit; the board should take about 160mA, when not sending 1553  messages. Connect the mini USB lead to your PC and then to the HI‐1590 board. Your PC  should automatically install the driver, if not the driver FT231 can be installed from the Holt  CD. If you have problems installing the driver please refer to the FTDI website below:  http://www.ftdichip.com/Documents/InstallGuides.htm 2. All control of the HI‐1590 is done through the ‘Control Console’. This requires use of a  terminal emulator for communication, such as HyperTerminal or Tera Term. Tera Term is  used with Windows versions of Vista or later and is supplied on the Holt CD.    To install Tera Term:  Use the Tera Term installer program teraterm.exe from the Holt CD. Accept the license  agreement stating redistribution is permitted provided that copyright notice is retained.  The notice can be displayed from the Tera Term window by clicking Help then clicking  About Tera Term. Continuing to install…   Accept the default install destination and click Next.    At  the  Select  Components  screen,  unselect  all  options  except  Additional  Plugin  =  TTXResizeMenu and click Next.   Select the installed language, then click Next.   Accept the default Start Menu folder, then click Next.  ...
  • Page 8   Note: If under any circumstances the software locks up, use the ‘RESET’ key to restart.  5. Press the ‘A’ key to set the output amplitude. Enter the maximum amplitude of ‘FF’ as shown  below.     6. Connect an oscilloscope to the ABUS and BBUS terminal, with the grounds going to nABUS  and nBBUS respectively.  Grounding the negative bus terminals provides differential voltage  measurements using just one scope probe per bus. Trigger the scope from the ACTIVE test  point. Press the STOP button, this loads the 1553 messages. Press the RUN button to start  message transmission. The messages will be transmitted alternately on the A and B buses.  Check that a 1553 signal of about 24V p‐p amplitude is seen on one of the buses, as shown in  Fig 2 below. Every 5 seconds it will switch to the other bus and during transmission you  should see the 3.3V supply current go up to about 1A.    AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 9   Fig 2: Yellow is BUSA output, green is BUSB, Red is the ACTIVE trigger signal  7. The HI‐1590 can also read back data from the DAC register but only after a value has been  written into the register. Press the ‘D’ key, type in ‘80’, the previous setting of ‘FF’ should be  read out as shown below. Observe the amplitude on the scope; this should be reduced by  half, or approximately 12V p‐p.      8. The SPI software has a ramp function, this ramps the amplitude on both outputs up to  maximum and back down to zero in a ‘sawtooth’ function. Press the ‘Y’ button and observe  the amplitude rising and falling. Whilst in this mode switch the VSEL switch to ‘Low’, this  selects the low amplitude, you should see the oscilloscope trace go down to one fifth  maximum amplitude or about 5V.   9. As well as SPI control of amplitude through a DAC, the HI‐1590 has the option of using an  analog voltage of 0 to 3.3VDC to control the amplitude. To use this feature move the jumper  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 10 10. To test HI‐1590 BusA and BusB receivers, RXENA and/or RXENB switches should be in the  high position. Any 1553B compliant data is now output on the relevant  RXA/nRXA and  RXB/nRXB  pins of J3. An example is shown in Fig 3 below:    Fig 3: Yellow is BUSA output, green is RXA output, Red is the ACTIVE trigger signal  11. If isolation of the 1553B outputs is required from the board ground the soldered jumpers  JP11 and JP12 should be opened.  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 11 VCONT In_nTXA VSEL In_TXA nABUS nRXB 100nF JP11 VSEL nABUS nBBUS <---- CW JP12 R3 1K 0 OHM ON (CLOSED) Title HI-1590 1553 Dual Transceiv er Size Document Number <Doc> Date: Wednesday , July 09, 2014 Sheet AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 12 AUTOEN nPCS0 MOSI MSCK MISO RT1ENA EECOPY CPY RQ BCENA Title HI-1590 Dual 1553 Transceiv er with SPI Demo Board - Message Generator Size Document Number EEPROM LOAD <Doc> Date: Wednesday , July 09, 2014 Sheet    AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 13 4.7K 1% VSSPLL 220nF 220nF VSS1 VSS2 TP21 TEST SPI BOARD INTERFACE 220nF MC9S12XDT512CAA 3.3K BKGD nRESET HEADER 2X3 DEBUG HDR Title HI-1590 - Microcontroller Size Document Number <Doc> <Rev Code> Date: Wednesday , July 09, 2014 Sheet AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 14 Solder Jump 2 JP1-JP12 Solder Jump 3 LED Green 0805 ACTIVE 160-1179-1-ND LiteOn LTST-C170GKT LED Red 0805 POWER ON 160-1178-1-ND LiteOn LTST-C170EKT Resistor, 69.8 Ohm 1W R1,R2 RHM69.8BBCT-ND Rohm MCR100JZHF69R8 Resistor, 27 5% 1/8W R20,R22 P27ACT-ND Panasonic ERJ-6GEYJ270V   AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 15 DIP Switch 6-Position CT2196MST-ND CTS 219-6MST Switch Tactile SPST- SW3,SW4,SW7 P12943SCT-ND Panasonic EVQ-Q2K03W Transformer MIL-STD- T1,T2 Holt PM-DB2791S Holt / Premier Magnetics Test Point, Red 3V3,ABUS, BBUS 5010K-ND Keystone 5010 Test Point, Black GND, nBusA, nBusB 5011K-ND Keystone 5011 Test Point, Orange...
  • Page 16 Case D Display Control and read back Menu previous setting SPI byte write to Case A amplitude register Scan Keyboard for Menu Selection Enter Ramp Case Y Amplitude Loop Valid function selected?   At reset the program initializes the variables and configures the peripherals including the SPI block,  Timers, Interrupts and serial communication UART. The program then enters Serial Command mode,  this is an endless loop that continuously samples the keyboard.  Once a key is pressed the   The program enters a case function that selects which function to call.   AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 17 // 80MHz PLL system clock   The SPI frequency is set at the beginning  of the main.c module,  by this code :         SPI0BR = 0x00;              //  20MHz SPI   //   SPI0BR = 0x01;              //  10MHz SPI       //    SPI0BR = 0x02;              //  5MHz SPI    The speeds that are not used are commented out.  In this case the 10MHz and 5MHz are commented  out, so the 20MHz option is set.  The maximum SPI frequency for the HI‐1590 is 20MHz, the code can be  altered to set a lower rate of 10MHz or 5MHz, if desired.  Timing and Delay Functions   These functions provide the basic timing for the program. The Delay100us() can be used anywhere an  accurate delay is needed in the program .  The global g_count100us variable is decremented at the 100us timer rate. This variable is used by a  general delay function which can be called with a specified number of delay intervals. The g_count100us  variable is a 16‐bit integer so the delay ranges from 100us to 6.5536 seconds.  // -------------------------------------- // General timer tick 100us for delays // -------------------------------------- void Delay100us(unsigned int delay){ g_count100us=delay; while(g_count100us); AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 18 SPI Driver Functions   Only one SPI function is used, trx8bits_8, shown the figure below:      Only single‐byte transfers are used on the HI‐1590, this HI‐1590 SPI driver function is included in the  Driver.c module and its Driver.h header file. The MCU slave select pin SSO (not nCS) is connected to the  HI‐1590 nCS pin.      Uart.c  Serial Port     The drivers supporting the USB serial port (console) are contained in this module.  Some function drivers  allow messages to be sent and received on the UART. This is useful to log status or data messages on  HyperTerminal or any other terminal program.  It currently uses polling to determine when the data  receive or transmit registers can be read or written.   AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 19: Project Files

    Micro GPIO, PLL  frequency and SPI configuration    Uart.c      Low‐level  UART drivers    datapage.c    Freescale IDE support file    Include Files      main.h    Driver.h          peripherals.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‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 20 CodeWarrior and Software Project Installation: 1. Download and install the CodeWarrior IDE from the Freescale website. The download links are  provided below.  2. Unzip the HI‐1590 x_x zip file into the directory you plan to use for your project.   3. Navigate to the HI‐1590 project folder and double click the HI‐1590 Demo x_x.mcp project file to  launch this project with CodeWarrior. The IDE should open with the project files on the left side  of the window, as shown below:    4. Plug the USB Multilink 6‐pin debug cable into the Debug Header and power up the board with  3.3V.  5. Click the green arrow on the screen to ‘build’ 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.  Once built, it should launch the debugger and download to the board.    6. The first time you download, you may need to configure the debugger 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 horizontal arrow button to run the program. Since the  AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 21 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/ , then search for information on  “S12XD: 16‐Bit Automotive Microcontroller”.  A Free 32K limited version of the Code Warrior IDE from Freescale is available:  http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW‐HCS12X&tid=CWH#  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‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...
  • Page 22: Revision History

       REVISION HISTORY   Revision Date Description of Change AN-1590, Rev. New 10-10-14   AN‐1590, Rev. New  HOLT INTEGRATED CIRCUITS  10/10/14 ...