background image

AN-6131API 

 

 

Holt Integrated Circuits 

Run  the  TeraTerm  program.  At  the 

New  Connection

  screen,  select 

(x)Serial

  and  choose  the 

selected COM port. Click 

Setup

 then 

Serial Port

 to open the serial port setup window. Choose 

these settings:   Baud Rate: 115200, Data: 8 bits, Parity: none, Stop: 1 bit, Flow Control: none. 
 

3.

 

After configuring the Console port, connect the DB-9 serial cable to the PC. 
 

4.

 

Do not connect the included USB debugger cable between the DEBUG port on the lower (MCU) 
board and the PC until instructed to, later.  

 

5.

 

To observe bus activity, connect an oscilloscope to the red test points labeled BUS A and BUS B. 
The  test  point  labeled  ACTIVE  is  a  convenient  scope  trigger  signal  that  goes  high  at  start  of 
message and goes low at message completion.  
 

6.

 

 If not connected by cable to actual MIL-STD-1553 buses, provide resistive dummy loads for buses 
A and B by connecting a 75 Ω 1/2 Watt (or any value between 70-80 Ω) resistor across each pair 
of  red  and  black  Bus  test  points.  (For  this  demonstration,  half-Watt  resistors  are  adequate 
because duty cycle is sufficiently low.  When using the on-chip HI-6131 to generate BC messages 
directed to on-chip RTs, use external 75 Ω resistor loads. When using a bus coupler to connect to 
actual MIL-STD-1553 buses, do not use the 75 Ω dummy load resistors. 
 

7.

 

Set  SW8 configuration DIP switches  labeled AUTOEN and COPYREQ off (down position). These 
switches are not used by this version of the demo program so they can be repurposed by the user. 
 

8.

 

Plug-in the provided 5V DC power supply and connect the cable to the power input jack on the 
lower circuit board. If TeraTerm is running and configured correctly, the command menu below 
should appear in the console window.  
 

9.

 

This menu appears and three green LEDs will flash momentarily whenever the board power is 
applied,  or  when  the  RESET  pushbutton  is  pressed.  After  verifying  correct 

TeraTerm

 

communication with the evaluation board, the terminal set up can be saved by clicking 

Setup

 then 

Save Setup

 
 

 
The dates and times shown will differ from the screen captures shown below. 

 
 

Summary of Contents for HI-6131 API

Page 1: ...AN 6131API Rev A Holt Integrated Circuits HI 6131 API Application Development Kit December 2018...

Page 2: ...Integrated Circuits REVISION HISTORY Revision Date Description of Change AN 6131API Rev New 06 07 16 Initial Release AN 6131API Rev A 12 12 18 Rename API Library file to coincide with software update...

Page 3: ...the included Holt CD ROM A version of the demonstration software is already programmed into the microcontroller flash the board is operational right out of the box without installing or running the p...

Page 4: ...2 serial cable DB 9M to DB 9F for console I O using a connected computer 2 board assembly comprised of o Upper TARGET board with HI 6131 device and dual transformer coupled MIL STD 1553 bus interfaces...

Page 5: ...The kit includes a simple USB cable for connecting the board s debug interface to your computer For users already owning an ARM debug interface with ribbon cable connector an ARM standard 2x10 debug...

Page 6: ...mes refers RT1 as just RT 1 The PC will need a serial COM port and a terminal emulation program like TeraTerm Most computers no longer have RS232 com ports so will require a serial to USB adapter supp...

Page 7: ...ss each pair of red and black Bus test points For this demonstration half Watt resistors are adequate because duty cycle is sufficiently low When using the on chip HI 6131 to generate BC messages dire...

Page 8: ...AN 6131API 8 Holt Integrated Circuits Press R or r to display the HI 613x registers...

Page 9: ...console Since the internal BC RTs and SMT share the same bus pins the RT s and SMT monitor terminals receive the BC messages If an external BC is already connected to the bus jack though a bus couple...

Page 10: ...emo 5 BC Low Priority Asynchronous Message Insertion Command L inserts a low priority message into the scheduled BC message list Low priority Inserted messages occur upon completion of any BC minor fr...

Page 11: ...and E Enumerate Card is reserved for future use 8 From a RESET if the BC is started before enabling the K and T sequence to display message traffic the first message may contain an error This is norma...

Page 12: ...sage Traffic capture using a Ballard USB 1553 monitor When a BC message is transmitted to a RT that is not enabled RT no response NORES error is indicated MSG 0170 TIME 00086918us BUS A TYPE2 RT to RT...

Page 13: ...he RESET button and then Press B to enable the RT RT1 then Press K and T to activate the RT traffic on the console Compose a BC to RT message with SA 1 and 32 data words similar to the message shown b...

Page 14: ...ome messages to the monitor use this command to display the addresses and use the Memory Watch window to view the Command and Data in memory The SMT is also initialized with the K command that provide...

Page 15: ...View pull down menu Make any window adjustments or open any of the folder groups to view included files to suit your preferences 4 Double click the main c file it should appear in the text editor pane...

Page 16: ...AN 6131API 16 Holt Integrated Circuits Main Project demo screen move and size the windows according to preference...

Page 17: ...y the user A simple way to create a new configuration is to select Project Edit Configurations and then select New The dialog box will allow a new configuration based on an existing configuration with...

Page 18: ...ls After initialization is complete function calls demonstrate powerful addressing methods for all RAM structures used by the enabled terminal modes Demo initialization and execution uses Holt high le...

Page 19: ..._x100ms num Flash_Red_LED Flash_Green_LED board_613x h Contains ARM MCU i o definitions controlled by macros The SPI pins are common between MAMBA and HI 6131 since both use a SPI interface BC h BC h...

Page 20: ...emos c Provides all demo functions that are called by the console menu DisplayDecodedMsg used to display 1553 formatted data to the console when the T command is used displayRTTraffic called from main...

Page 21: ...watch capability via SPI by using a C function called Memory_watch This function call only works when Console I O is enabled It displays 256 consecutive register or RAM values starting with the provid...

Page 22: ...f the screen lists available Memory Watch options Pressing D DOWN command changes the displayed address range to 0x0100 0x01FF Pressing U UP command from the above screen wraps around the device addre...

Page 23: ...HI 6131 SPI interface simplifies MIL STD 1553 terminal hardware design and saves considerable board space over a similar 16 bit parallel address and data bus interface The Holt 1553 API Runtime Librar...

Page 24: ...OT SOLDER 15 1 LED Yellow 0805 LED5 160 1175 1 ND Lite On LTST C170YKT 16 3 LED Green 0805 LED1 LED3 160 1179 1 ND LiteOn LTST C170GKT 17 1 LED Red 0805 LED4 160 1176 1 ND LiteOn LTST C170CKT 18 1 Osc...

Page 25: ...P DSN A HI 6131 EVAL PCB Use With Std ARM CM3 Lower PCB A 1 4 Thursday October 06 2011 HI 6131 PQFP 1553 BUS DIP SWITCH SIGNALS SIGNALS SHARED WITH MCU COMP TEST PIN IS MUXED WITH EECOPY PIN SERIAL EE...

Page 26: ...t Number Rev Date Sheet of 6131 EVAL TOP DSN A HI 6131 EVAL PCB Use With Std ARM CM3 Lower PCB A 2 4 Thursday October 06 2011 Title Size Document Number Rev Date Sheet of 6131 EVAL TOP DSN A HI 6131 E...

Page 27: ...A 3 4 Thursday October 06 2011 REMOTE TERMINAL 1 ADDRESS RT1 CONFIG REMOTE TERMINAL 2 ADDRESS DIP SWITCHES SERIAL EEPROM ALL DIP SWITCH SIGNALS WITH A PULL UP OR A PULL DOWN GO TO THE MCU FOR ALL DIP...

Page 28: ...PROM USER EEPROM FOR DIAGNOSTIC TESTS JUMPERS SPAN COLUMNS B C SO THE MCU SPI CAN READ WRITE THE SERIAL EEPROM THE C PROGRAM CONTROLS TEST SLAVE SELECT SIGNAL nTSTSS HI 6120 SPI TO EEPROM JUMPERS NORM...

Page 29: ...or 4 7K 5 1 8W 0805 R3 P4 7KACT ND Panasonic ERJ 6GEYJ472V 26 1 Resistor 6 8K 5 1 8W 0805 R6 P6 8KACT ND Panasonic ERJ 6GEYJ682V 27 0 Resistor 47K 5 1 8W 0805 R18 DO NOT STUFF Panasonic ERJ 6GEYJ473V...

Page 30: ...RT USB DEBUG PORT J5 HOLT INTEGRATED CIRCUITS Mission Viejo CA USA Title Size Document Number Rev Date Sheet of CM3 BOARD REV E DSN E ARM CORTEX M3 MICROCONTROLLER BOARD A 1 7 Wednesday June 01 2016 T...

Page 31: ...79 PB4 AD12BAD3 80 PB5 AD1 65 PB6 D15 66 PB7 A0 NBS0 67 PB8 A1 68 PB9 D0 31 PB10 D1 30 PB11 D2 59 PB12 D3 61 PB13 D4 62 PB14 D5 29 PB15 D6 97 PB16 D7 96 PB17 NANDOE 26 PB18 NANDWE 25 PB19 NRD 24 PB20...

Page 32: ...SWDIO 7 TCK SWCLK 9 VBG 39 DHSDP 37 DHSDM 38 DFSDM 41 DFSDP 42 FWUP 135 SHDN 136 ERASE 137 TEST 138 NRSTB 141 XIN32 144 XOUT32 143 XIN 36 XOUT 35 ADVREF 74 AD12BVREF 76 VDDCORE1 16 VDDCORE2 27 VDDCORE...

Page 33: ...3 Header 2x20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 J4 Header 2x20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23...

Page 34: ...e Size Document Number Rev Date Sheet of CM3 BOARD REV E DSN E ARM CORTEX M3 MICROCONTROLLER BOARD A 5 7 Wednesday June 01 2016 R14 0R U3 MAX3232CSE T1IN 11 T2IN 10 R1OUT 12 R2OUT 9 T1OUT 14 T2OUT 7 R...

Page 35: ...e Size Document Number Rev Date Sheet of CM3 BOARD REV E DSN E ARM CORTEX M3 MICROCONTROLLER BOARD A 6 7 Wednesday June 01 2016 Title Size Document Number Rev Date Sheet of CM3 BOARD REV E DSN E ARM C...

Page 36: ...M3 MICROCONTROLLER BOARD Custom 7 7 Wednesday June 01 2016 Title Size Document Number Rev Date Sheet of CM3 BOARD REV E DSN E ARM CORTEX M3 MICROCONTROLLER BOARD Custom 7 7 Wednesday June 01 2016 Tit...

Reviews: