DEMOACKIT—Lab Tutorial
DEMOACKIT—Lab Tutorial
Embedded Microcontrollers
Run demo on 8-bit S08:
1. Compile and program the 8-bit AC128 microcontroller with
Accelerometer Application by clicking on “Debug” button,
launching Debugger.
2. From Connection Manager menu, select “DEMOAC on USB1
(Name=Pennnnnnn)” port and click on “Connect (Reset).”
3. From Loader Warning menu, click on “OK” to allow the debugger to
mass erase the microcontroller’s on-chip flash memory and program
it with the new application.
4. Click on “Start/Continue (F5)” button in debugger to run
application.
5. Bring Accelerometer Demo utility to front, click “Open Serial Port and
Start Demo” button.
6. Move board around to demonstrate 3-axis accelerometer.
7. Observe output in Accelerometer Demo utility.
8. Click button labeled “SW1” on board to enable data averaging.
Move board.
9. Click button labeled “SW2” on board to enable data filtering.
Move board.
The accelerometer demo clearly shows the CPU
performance gains of the 32-bit ColdFire V1 CPU over the
8-bit S08 CPU. In the data averaging and data filtering
modes, a considerable amount of 16-bit and 32-bit math
is required. The S08 CPU is capable of performing these
tasks, but it requires a substantial portion of its bandwidth.
The ColdFire V1 CPU performs the same tasks with only a
very small portion of its bandwidth. Overall, the lab shows
that with Flexis AC microcontrollers, you can pick and
choose the CPU for your performance needs.
Flexis ? AC DEMOACKIT
Lab tutorial
Learn More: For more information about Freescale products,
please visit www.freescale.com/flexis
Freescale and the Freescale logo are trademarks or registered trademarks of Freescale Semiconductor, Inc.
in the U.S. and other countries. All other product or service names are the property of their respective owners.
? Freescale Semiconductor, Inc. 2008.
Agile Number: 926-77696
Doc Number: DEMOACLAB / REV 0
DEMOACKIT—Lab Tutorial
Setup demo:
1. Open CodeWarrior for Microcontrollers. From Windows start menu,
you can locate it using the “Programs>Freescale CodeWarrior>CW
for Microcontroller V6.1>CodeWarrior IDE.exe” path.
2. Click on “Load Example Project” from CodeWarrior startup dialog.
3. From example projects menu, open tree to select: “ColdFire
V1>Evaluation Board Examples>DEMOAC>DEMO51AC256_
Accelerometer_test.”
4. Create a new project name (ex. Lab3), set desired location, and click
“Create Project.” This will open the project for the Accelerometer
Application for the 32-bit AC256 microcontroller.
5. Launch Accelerometer Demo utility from Windows start menu:
Programs>P&E Embedded Multilink Toolkit>Utilities>Accelerometer
Demo. *See DEMOAC User Manual for details on the Accelerometer
Demo utility.
6. Set port to USB COM.
7. Set Baud rate to 115200.
8. Turn board power switch to OFF position.
9. Make sure the red 32-bit ColdFire V1 ? MCF51AC256 daughter card
is plugged in to board. Board jumpers should all be set to the default
settings shown in Quick Start Guide.
10. Turn board power switch to ON position and close debugger window.
Accelerometer Demo running on 32-bit AC256 in data
averaging mode. The orange bar graph labeled “C” highlights
the bus cycles required to average the last 16 readings of
the 3 axes. The values shown in fourth column of text are the
number of bus cycles in hex.
Run demo on the 32-bit ColdFire V1:
1. Compile and program the 32-bit AC256 microcontroller
with Accelerometer Application by clicking on “Debug”
button, launching Debugger.
2. From Connection Manager menu, select “USB1:DEMOAC
(PEnnnnnnn)” port and click on “Connect (Reset).”
3. From Erase and Program Flash menu, click on “Yes” to allow
the debugger to mass erase the microcontroller’s on-chip flash
memory and program it with the new application.
4. Click on the “Start/Continue (F5)” button in debugger to run
application.
5. Bring Accelerometer Demo utility to front and click the “Open Serial
Port and Start Demo” button.
6. Move board around to demonstrate 3-axis accelerometer.
7. Observe output in Accelerometer Demo utility.
8. Click button labeled “SW1” on board to enable data averaging. Move
board.
9. Click button labeled “SW2” on board to enable data filtering. Move
board.
Change device to 8-bit S08:
1. Click “Close Port” in Accelerometer Demo utility.
2. Close the “True-Time Simulator & Real-Time Debugger” window.
3. Bring CodeWarrior IDE window to front with Accelerometer Application
project for 8-bit microcontroller.
4. Click the “MCU Change Wizard” button to switch project to
8-bit microcontroller.
5. From Wizard, change microcontroller selection from 32-bit
“MCF51AC256” to 8-bit “MC9S08AC128” in the “Flexis>AC Family”
tree. Make sure ‘P&E Multilink/Cyclone Pro’ is selected as the default
connection.
6. Click “Finish.” In the background, CodeWarrior will transform your
project to the 32-bit microcontroller with no software changes
needed.
7. Turn board power switch to OFF.
8. Replace the 80-Pin LQFP 32-bit ColdFire ? V1 AC256 microcontroller
with an 80-Pin LQFP 8-bit S08 AC128 microcontroller in the
daughter card.
9. Turn board power switch to ON.
Accelerometer Demo running on 8-bit S08 AC128 in data
averaging mode. The orange bar graph labeled “C” highlights
the bus cycles required to average the last 16 readings of the 3
axes. The values shown in fourth column of text are the number
of bus cycles in hex.
相关PDF资料
DEMOEM BOARD DEMO HARDWARE ONLY
DEMOQE128 DEMO BOARD FOR QE128 FLEXIS
DFN2.86BK DURA-FLEX 2.86" BLACK 100'
DG-ACC-JADP-1 JTAG ADAPTER FOR CC 9C W-9C
DG-ACC-JBST JTAG-BOOSTER FOR NETSILICON 3.3V
DG115-SI SURGE SUPPRSSR 6OUT 6'CORD METAL
DG115-SR SURGE SUPPR 6OUT 6'CORD W/REMOTE
DG206 SURGE SUPPRESSOR 15A 6OUT 6'CORD
相关代理商/技术参数
DEMO-ACPF-7001 制造商:未知厂家 制造商全称:未知厂家 功能描述:Demo board for ACPF-7001
DEMO-AD5700D2Z 功能描述:界面开发工具 RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
DEMOAPEXSENSOR 功能描述:加速传感器开发工具 DEMOAPEXSENSOR RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
DEMO-AT3/4-XX32 制造商:未知厂家 制造商全称:未知厂家 功能描述:AT-32032 and AT-41532 demonstration for 800-900 MHz applications
DEMO-AT32063 制造商:未知厂家 制造商全称:未知厂家 功能描述:860 MHz cascode amplifier
DEMO-AT3XX11 制造商:未知厂家 制造商全称:未知厂家 功能描述:AT-31011 2400 MHz 2 stage LNA amplifier; can also be used for AT-30511 or AT-32011
DEMO-AT3XX33 制造商:未知厂家 制造商全称:未知厂家 功能描述:900 MHz single stage LNA amplifier using AT-32033; circuit can also be used for AT-30533 or AT-31033
DEMO-ATF3616-3 制造商:未知厂家 制造商全称:未知厂家 功能描述:2 to 2.4 GHz single stage LNA using ATF-36163