Quick Start Guide
TWR-PXR40
32-bit Power Architecture
®
MCU for
High-Performance Real-Time Applications
TOWER SYSTEM
Quick Start Guide
Get to Know the TWR-PXR40
User LEDs
OSJTAG
Interface
CAN
Connector
JTAG
Interface
Accelerometer
RS485
Connector
eTPUB
Headers
Secondary
Connector
Primary
Connector
General
Purpose
TWRPI
Connector
Nexus
Connector
Boot
Configuration
eTPUA
Headers
User
Buttons
Configuration
Jumpers
TWR-PXR40
Freescale Tower System
The TWR-PXR40 module is part of the Freescale Tower System portfolio,
a modular development platform that enables rapid prototyping and tool
re-use through reconfigurable hardware.
2
TOWER SYSTEM
TWR-PXR40 Features
• MPXR4040VVU264 MCU (Up to 264 MHz 32-bit e200z7 core,
up to 4 MB on-chip flash with flash controller, dual eTPU module,
256K SRAM)
• Easy access to eTPU modules using the trough-hole
expansion connector
• MC9S08JM60 open source JTAG (OSJTAG) circuit
• General-purpose TWRPI socket (Tower plug-in module)
• On-board CAN transceiver
• On-board RS485 half duplex transceiver
• Four LEDs for user interface
• Two mechanical push buttons for user interface
• One potentiometer for ADC testing
3
Quick Start Guide
Step-by-Step Installation Instructions
In this quick start guide, you will learn how to set up the TWR-PXR40 module and run
the included demonstration software. For more detailed information, please see the user
manual found on the included DVD or at freescale.com/TWR-PXR40.
1
Connecting the
TWR-SER
3
Using the Serial
to USB Bridge
Insert the TWR-PXR40 and TWR-SER
boards into the primary and secondary
elevator board. The “primary” and
“secondary” cards for each module are
indicated along the card edges.
2
Powering Up the
TWR-PXR40
Connect the TWR-PXR40 board to a
computer or a wall charger using the
provided USB cable. Additionally, the
USB connector on the primary elevator
or OSJTAG connector can be used to
power up the board.
The MC9S08JM60 serial to USB bridge
solution provides an RS-232 equivalent
connection to the host computer through
the USB communications device class.
When plugged in and powered, the USB
connection will enumerate as a COM
port on the PC. To determine the COM
port number for the connection, right
click on the My Computer icon and select
“Manage,” click Device Manager, find
and expand ports (COM and LPT).
4
Installing the
Software Driver
When the cable is plugged in for the first
time, then Found New Hardware Wizard
will start. Select the option Install from a
Note: For Windows XP 64 bit users please connect DB9 connector to the TWR-SER card.
4
TOWER SYSTEM
list or specific location (Advanced), then
select “Next.” Select the CDC Virtual
Serial Port Folder which is available on the
DVD or at freescale.com/TWR-PXR40.
The Wizard will find the updated driver
within the folder and install it.
see the value on the watch-grid. Press
the buttons to see the status on the
watch-grid. Change the value of the
Ledx to “1” to turn it on.
5
Installing and
Using FreeMASTER
Additional
Software and Tools
• MQX™ Real-Time OS
• ASHWARE eTPU Simulator
• BYTECRAFT Code Development
System for eTPU
• Green Hills Software MULTI IDE
• Serial Bootloader Utility
• CodeWarrior V10.x Eclipse
Development Studio
• OSJTAG Virtual Serial Port Using USB
• Rapid application Initialization and
Documentation Tool (RAppID)
• FreeMASTER Runtime Debugging Tool
Install FreeMASTER (FMASTERSW.
exe) which is available on the DVD or at
freescale.com/freemaster. Open the
FreeMASTER file “Demo-TWR-PXR40.
pmp.” Go to the menu “project” and
select “options,” set the communication
to use the COM port from step 4 and
the speed to 115200.
6
Running
Demonstration Code
Press the RESET button on the board, on
FreeMASTER deselect the “stop” button,
and select “demo scope,” the chart
will appear showing the accelerometer
values, move the board to see the values
changing. Rotate the potentiometer to
5