参数资料
型号: C16X
厂商: SIEMENS AG
元件分类: 8位微控制器
英文描述: 8-Bit Microcontroller(8位微控制器)
中文描述: 8位微控制器(8位微控制器)
文件页数: 12/40页
文件大小: 460K
代理商: C16X
Using the
SSC (SPI) Interface in a Multimaster System
Semiconductor Group
12 of 40
AP1632 06.96
3.7
n master mode, the SSC scan routine is called by an expired Timer2 causing an interrupt
and performs periodical transmitting of dummy words. This must be done because the
transmitting master supplies all slaves with SSC shift clock in order to make transmitting
of
MASTER_REQ
for the slave possible. After the master SSC starts transmitting, the
Timer2 is reloaded and started to obtain constant scanning.
For the code listing of this routine,
SSC_SCAN.C
, see 4.1.6.
3.8
Creating the microcontroller executable files
For running the SSC demo, the C code files and the assembly startup file have to be
compiled, linked, located and converted into a format the monitor software is capable to
upload into the microcontroller. When using the BSO/Tasking C compiler and the Hitop
debugger light (Hitex), a make file (
SSC.MAK
; starting the make process by executing
MAKE.BAT
) has been prepared to control compiling. The make file is executed from the
bottom of the file upwards depending on the file dates (newer source files will be
converted, unaltered source files with existing converted files remain untouched). For
control of linking of the modules and creating the interrupt vector table the file
SSC.ILO
is
used containing information of module related interrupt numbers, classes memory
locations and reserved areas not to be used by the user. A graphical overview of the use
of the compiling tools by the MAKE utility for obtaining microcontroller executable files is
shown in fig. 10. Note that the paths and DOS environment variables for the compiling
tools have to be set by calling
SETPATH.BAT
(see listing in 4.5).
Before loading the program code from
SSC.HTX
into the microcontroller memory, the
controller has to be booted by executing
BOOT.BAT
, which causes
BTDL.EXE
to load the
files
BOOT.BSL
(boot software, sets the system registers to required values depending on
the hardware, e.g. memory waitstates, system stack size and prepares the controller to
load the monitor) and
EVA167.HEX
(monitor software) into the microcontroller’s memory
to make communication between the PC based debugging software and the
microcontroller possible. The monitor software has been slightly changed (not possible
using the ‘light’ version) to ensure matching hardware values in boot file and monitor.
Then the debugging software has to be started by executing
HIT1.BAT
(edit this file for
different COM port or transfer speed configurations).
After loading (
SSC.HTX
and the symbol file
SSC.SYM
) and starting the SSC demo
software by the Hitop debugger, it is recommended to leave the debugger because the
extensive use of timers in the SSC software can interfere with the communication between
PC and the debugger which results in the error message “Could not send command”.
SSC scan routine
相关PDF资料
PDF描述
C1731 205 UH Inductor Approved for use by GlobeSpan
C1733 ADSL Line Coupling Transformer, IEC60950 Supplementary 250V
C2042 Analog Devices AD20MSP930 CPE Line Transformer Meet requirements of IEC60950 for supplementary insulation, 250V working voltage
C2056 78.03 UH Inductor
C221J11S205DQF Power Rocker Switches
相关代理商/技术参数
参数描述
C17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED) 制造商:Cooper Crouse-Hinds 功能描述: 制造商:Thomas & Betts 功能描述:
C-17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED)
C1-7 制造商:Alpha 3 Manufacturing 功能描述:
C-17 300000-003IG 制造商:DigitHead Inc 功能描述:3"RIBBON CABLE ASSEMBLY.STANDARD 50P FEMALE POLARIZED IDC SOCKET
C170 制造商:Yorkville Sound 功能描述:Coliseum Mini Series 8'' Indoor / Outdoor 70V Black Speaker Pair - 100W 制造商:YORKVILLE SOUND 功能描述:IN / OUTDOOR SPEAKER PAIR 8 INCH 100W 8 OHM / 70V BLACK 制造商:Datak Corporation 功能描述:Cable Assembly RS-232 3.048m 28AWG 9 POS D-Sub to 9 POS D-Sub M-F