參數(shù)資料
型號(hào): MPC555
廠商: Motorola, Inc.
元件分類(lèi): 32位微控制器
英文描述: Highly Integrated, Low-Power, 32-Bit Microcontroller
中文描述: 高度集成,低功耗,32位微控制器
文件頁(yè)數(shù): 11/32頁(yè)
文件大?。?/td> 219K
代理商: MPC555
Application Note
Initializing the Hardware
AN1778
MOTOROLA
11
2.
Under the “File” tab, select the “Debug without a file” radio button.
3.
Choose the “Processor” tab and select MPC555 from the drop-
down list. There is no co-processor.
4.
Click on OK and the PC will connect to the MPC555. Look for
“Started Successfully” in the debug session dialogue box. Choose
Close. If the MPC555 needs to be reconnected, start the debug
session again by selecting “Debug...” from the File menu.
5.
From the “Window” drop down menu, select the “Command”
window. There should be a window with a “
SingleStep>
prompt. This interface will be used to write to and read registers
on the microcontroller. It is particularly useful because it can
execute script files that can contain series of commands and
programs that are run on the microcontroller. The microcontroller
can also return output to this window. The “Command” window will
be used to create and measure the example signals.
Initializing the EVB
Use SDS debug to initialize the MPC555 microcontroller by writing to
registers that set bus speeds and timers. Write a file using a text editor
and save this code so that it can be used again without re-entering it all.
1.
Copy the following into a text editor. (References in brackets are
to tables in the MPC555 User’s Manual). Any line that begins with
# is comment and does not have to be in the initialization file.
# Set IMB to full speed — can only be set back to the default
# half speed with a hard reset on power up
# (Table 12-6)
write -l 0x307f80=0x0
# Turn on the time base for interrupt generation
# (Table 6-16)
write -w 0x2fc200 = 0x0001
# The slew rate and weak pull-up / pull-down on some pins can
# be adjusted. Here we set the MIOS pins for a fast slew rate.
# (default is 200 ns)
# (Table 2-3)
write -l 0x2fc03c = 0x13000000
2.
Save this file as
init.dbg
in a suitable directory.
3.
To load and execute the file just created, type the following in the
“Command” window and hit return:
SingleStep> C:\”yourdirectory”\init.dbg
This file will prepare the MPC555 to generate and measure signals.
相關(guān)PDF資料
PDF描述
MPC561 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC561MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC563 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MPC5553 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553_07 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553AVF112 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF112R2 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF132 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:Microcontroller