background image

 

 

Holt Integrated Circuits 

23 

Project File List with Selected Descriptions 

 
Most of the function names are self-explanatory, some functions retain the names from the 
original HI-6131 or 6130 devices they were written for, don’t worry about this they work fine 
with the HI-620x3 family. 
 
Board_6200.c/h 
Handles definitions for HI-620x3 ARM clock rate and interface settings. 
 
board_lowlevel.c/h 
Hardware configuration, such as ARM PLL settings . 
 
613x_interrupts.c/h 
Interrupt handling routines and configuration settings. 
 
main.c 
The primary program entry portal, main() demonstrates initialization sequence used to enabled 
terminals. 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-level API in this demo kit.  
 
ConfigureGpio(); 

 

initializes ARM MCU general purpose I/O 

 
 
console.c 
Console functions used by all terminal modes: 
ConfigureUsart1(); 
Show_menu(); 
chk_key_input(); 
list_all_regs(); 
 
Console functions used by Bus Controller (BC) mode: 
bcAsync(); 
MajorMinorframe(); 
 
Console functions used by Remote Terminal: 

rtpoll(); 

Console functions used by Monitor MT:   

mtpoll.c 

Console functions used by Monitor/Remote Terminal MT/RT: 
rtmtdemo.c; 
 
Console functions used by MT bus monitor modes: 
 

Summary of Contents for ADK-620x3

Page 1: ...AN 62003 Rev A Holt Integrated Circuits ADK 620x3 User s Guide Evaluation Board for HI 62003 BC RT MT HI 62023 RT only Devices December 2018...

Page 2: ...Holt Integrated Circuits 2 REVISION HISTORY Revision Date Description of Change AN 62003 Rev New 12 02 18 Initial Release AN 62003 Rev A 12 12 18 Update Kit Contents...

Page 3: ...includes IAR Systems Embedded Workbench for ARM and a fully integrated debug interface for the ARM Cortex M3 microcontroller Note that in this ADK 620x3 guide the HI 62003 is used as the reference dev...

Page 4: ...rkbench for ARM 32KB KickStart on USB drive 2x USB interface cables 2 board assembly comprised of Upper DUT board with 620x3TM device and dual transformer coupled MIL STD 1553 bus interfaces Numerous...

Page 5: ...G 1 SW2 SWITCH DEFAULT DESCRIPTION SW2 1 OFF RSTBITEN OFF internal self test enabled on reset ON Internal self test disabled SW2 2 OFF nSSFLAG EXT_TRIG ON 1553 SSFLAG bit is not set OFF SSFLAG bit is...

Page 6: ...ta JP6 ON WPOL ON WAIT pin is active low OFF WAIT pin is active high JP7 OFF BWIDE ON Bus width is set to 8 bits OFF Bus width is set to 16 bits JP8 OFF BTYPE ON Motorola type data bus OFF Intel type...

Page 7: ...0x3 input clock TP7 Negative connection for 1553 Bus B TP8 Monitor HI 620x3 input clock TP9 Input for TAG clock TP10 3 3V supply for HI 620x3 supplied from ARM board TP11 12 Ground connection ARM Boar...

Page 8: ...rd headers Several configuration pins including the Remote Terminal address setting pins are controlled by two DIP switches on the upper DUT board these signals are not available on the inter board he...

Page 9: ...2ms of Master Reset pin rising edge To test this feature the device can be powered up without the software running for example by using SW1 RESET switch to hold the MCU in reset If the MSCLR switch is...

Page 10: ...sages with or without the bus monitor On board termination resistors are not used when connecting to a properly terminated MIL STD 1553 bus Do not include a provision for termination resistors in your...

Page 11: ...eMenu and click Next Select the installed language then click Next Accept the default Start Menu folder then click Next Select any desired shortcuts then click Next At the Ready to Install screen clic...

Page 12: ...grammed Bus Controller message repertoire The 6 position DIP switch should already be set with the address value 03 plus odd parity The dates and times shown will differ from the screen captures shown...

Page 13: ...in c file calls the console c and executes demo functions in bcdemo c bcAsyncDemo c and rtmtdemo c The Holt API runtime library is contained in the library HI 62xxx lib as executable object code Files...

Page 14: ...and B bus respectively and can be viewed on an oscilloscope as shown below These are Receive data commands to an RT address 3 A series of four RxData commands are sent with 1 to 4 data words 2 Connect...

Page 15: ...rks In this case the on board dummy bus load 70 resistors should be disconnected If bus couplers are not readily available bench testing can be done by enabling the on board dummy bus load 70 resistor...

Page 16: ...ed Circuits 16 4 As in example before use 1553 tester to a 03 T 01 02 Xmt command 0x1822 The Bus data should look similar to below Response to receive two data words to SA1 Response to Transmit two wo...

Page 17: ...T mode This configures the device into an RT terminal and a Monitor The screen below will be displayed 2 RT is set to single buffered mode The RT is set up as in RT mode above but additionally it will...

Page 18: ...low note only the hex content 0x1C22 of the message is displayed MT Mode using an external BC Use an external BC tester such as Ballard USB 1553 to transmit messages to the demo board 1 The monitor mo...

Page 19: ...Holt Integrated Circuits 19...

Page 20: ...int assume you have completed the above installation tasks Launch IAR Embedded Workbench from the Windows Start menu A blank screen should appear Open the Holt HI 620x3 API Demo Project from the IAR F...

Page 21: ...on code base for multiple projects This means there are functions not used in this project but are left in the C and H files The IAR compiler uses the macros to decide which sections of code to build...

Page 22: ...rollers having a 16 or 8 bit data bus interface The device is split into address space for RAM or register locations and is selected using the nMEM REG control pin which is connected to address pin A1...

Page 23: ...portal main demonstrates initialization sequence used to enabled terminals After initialization is complete function calls demonstrate powerful addressing methods for all RAM structures used by the en...

Page 24: ...console when the t monitor command is used displayRTTraffic called from main calls DisplayDecodedMsg Flash icf Project Linker File Holt API Library files _HI 62xxx 1_0 LIB a Precompiled Holt API libra...

Page 25: ...POS DIP Switch LED3 JP13 T2 PM DB2791S 4 5 6 7 8 1 2 3 J1 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 JP7 TP3 JP4 3 2 1...

Page 26: ...3 Led Green SMD 0805 LED1 LED2 LED3 160 1179 1 ND LiteOn LTST C170GKT 11 1 Res 49 9 1 8W 1 0805 SMD R7 P49 9CCT ND ERJ 6ENF49R9V 12 2 Res 69 8 Ohm 1W 1 2512 SMD R4 R5 RHM69 8BBCT ND Rohm MCR100JZHF69...

Page 27: ...PA4 CDA 117 PA5 DA0 119 PA6 DA1 121 PA7 DA2 123 PA8 DA3 128 PA9 TWD0 130 PA10 TWCK0 132 PA11 URXD 133 PA12 UTXD 134 PA13 MISO 87 PA14 MOSI 88 PA15 SPCK 91 PA16 NPCS0 93 PA17 WKUP7 95 PA18 WKUP8 99 PA1...

Page 28: ...18 C21 20pF J1 1 2 C23 10pF U1B SAM3U NRST 11 TDI 1 TDO TRACESWO 4 TMS 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 14...

Page 29: ...M Evaluation Board B CORTEX CM3 ADK Board Connections Section Holt Integrated Circuits Inc A 3 5 Tuesday October 16 2018 Title Size Document Number Rev Date Sheet o f HI 622X3 ARM Evaluation Board B C...

Page 30: ...0nF C54 10nF U3 TPD4E001DBVR IO1 1 IO2 3 GND 2 IO3 4 VCC 5 IO4 6 C36 100nF C51 10nF R23 100 R13 0 SW1 C40 100nF R21 100 C38 100nF R28 100K R17 1 5K LED4 green led C50 1nF R29 100K C47 100nF R15 0 JP4...

Page 31: ...tion Holt Integrated Circuits Inc A 5 5 Tuesday October 16 2018 Title Size Document Number Rev Date Sheet o f HI 622X3 ARM Evaluation Board B ADK USB Section Holt Integrated Circuits Inc A 5 5 Tuesday...

Page 32: ...RC 17 2 Conn Header 100 Sgl Straight 2 Pos J6 JP4 Dis_Link S1012E 02 ND Sullins PEC02SAAN 18 1 Conn Header 100 Sgl Straight 2 Pos J1 S1112E 02 ND Sullins PEC02SBAN 19 2 Conn Receptacle Mini USB2 0 5...

Page 33: ...e 5002 45 1 4 Ch TVS ESD Protection SOT23 6 U3 296 28203 1 ND TI TPD4E001DBVR 46 1 IC Voltage Ref 2 5V 1 Micropower SOT 23 VREF1 576 1047 1 ND Micro LM4040DYM3 2 5 TR 47 1 IC USB Serial Full UART 20 S...

Reviews: