background image

AN-6131API 

 

17 

 

Holt Integrated Circuits 

The configuration list may vary slightly from the list shown.  

 

 

 

Project configurations with “FULL” required the Holt API library source code. The API library source code 
is not provided in the standard ADK. The full API source code is available with a signed Holt software 
license agreement (SLA). The standard ADK demos are fully functional otherwise, and API projects can 
be built without the API C source code. Contact Holt sales for the SLA for the optional API C source code. 

The “FULL REGRESSION_TEST” is for Holt testing only and can be deleted by 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 a new 
configuration name. Select the new configuration and edit the preprocessor labels as desired then save 
the new configuration. The new configuration will now appear in the pull down menu. Project file 

613x_initialization.h

 configures other critical project settings, including the time tag 

resolution and console I/O on-off. 

 

The IAR embedded workspace provides may of the commonly used tasks as short-cut buttons on the top 
as shown. 

 

 

 

S

to

p

D

e

b

u

g

T

o

g

g

le

B

rk

p

o

in

t

R

e

s

ta

rt

D

e

b

u

g

g

e

r

M

a

k

e

R

e

s

e

t

B

re

a

k

S

te

p

In

to

R

u

n

 t

o

C

u

rs

o

r

G

o

S

te

p

O

v

e

r

C

o

m

p

il

e

IMPORTANT EMBEDDED WORKBENCH BUTTONS

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: