P&E Microcomputer Systems TRK-MPC5634M User guide

Purchase Agreement
P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any products herein to improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not assume any liability arising out of the application or use of any product or circuit described herein.
This software and accompanying documentation are protected by United States Copyright law and also by International Treaty provisions. Any use of this software in violation of copyright law or the terms of this agreement will be prosecuted.
All the software described in this document is copyrighted by P&E Microcomputer Systems, Inc. Copyright notices have been included in the software.
P&E Microcomputer Systems authorizes you to make archival copies of the software and documentation for the sole purpose of back-up and protecting your investment from loss. Under no circumstances may you copy this software or documentation for the purpose of distribution to others. Under no conditions may you remove the copyright notices from this software or documentation.
This software may be used by one person on as many computers as that person uses, provided that the software is never used on two computers at the same time. P&E expects that group programming projects making use of this software will purchase a copy of the software and documentation for each user in the group. Contact P&E for volume discounts and site licensing agreements.
P&E Microcomputer Systems does not assume any liability for the use of this software beyond the original purchase price of the software. In no event will P&E Microcomputer Systems be liable for additional damages, including any lost profits, lost savings or other incidental or consequential damages arising out of the use or inability to use these programs, even if P&E Microcomputer Systems has been advised of the possibility of such damage.
By using this software, you accept the terms of this agreement.
© 2011 P&E Microcomputer Systems, Inc. “MS-DOS” and “Windows” are registered trademarks of Microsoft Corporation. “Freescale” and “ColdFire” are registered trademarks of Freescale, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. Qorivva is a registered trademark of Freescale Semiconductor.
P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA 02472
617-923-0053 http://www.pemicro.com
Manual version 1.01, April 2011
1 INTRODUCTION ............................................................................................ 1
1.1 Overview ........................................................................................................ 1
1.2 Package Contents .......................................................................................... 1
1.3 Supported Devices ......................................................................................... 1
1.4 Recommended Materials ............................................................................... 1
1.5 Handling Precautions ..................................................................................... 2
2 HARDWARE FEATURES............................................................................... 2
2.1 TRK-MPC5634M Board Features .................................................................. 2
2.2 On-Board Virtual USB Port............................................................................. 4
2.3 TRK-MPC5634M Jumper/Connector Quick Reference.................................. 5
3 GETTING STARTED WITH THE TRK-MPC5634M ....................................... 9
4 SYSTEM SETUP .......................................................................................... 10
4.1 Overview ...................................................................................................... 10
4.2 Operating System Requirements ................................................................ 10
4.3 Software Setup............................................................................................. 10
4.4 Quick Startup................................................................................................ 11
4.5 Hardware Setup ........................................................................................... 11
5 OPERATING MODES................................................................................... 12
5.1 Overview ...................................................................................................... 12
5.2 Debug Mode................................................................................................. 12
5.3 Run Mode..................................................................................................... 12
5.4 External JTAG/Nexus Mode......................................................................... 12
6 JUMPER SETTINGS .................................................................................... 13
6.1 System Power .............................................................................................. 13
6.2 I/O Pins......................................................................................................... 13
6.3 Debug Mode................................................................................................. 14
6.4 CAN Port ...................................................................................................... 15
6.5 Virtual Serial Port ......................................................................................... 15
6.6 LIN Channels/Connectors ............................................................................ 16
6.7 MCU ............................................................................................................. 18
6.8 Boot Configuration........................................................................................ 19
TRK-MPC5634M User Manual ii
6.9 Clock Selection .............................................................................................20
6.10 Push Buttons ................................................................................................21
6.11 LED Display Port ..........................................................................................22
6.12 DIL Switch.....................................................................................................22
6.13 Analog Input Enable .....................................................................................23
6.14 Photo Sensor Enable ....................................................................................24
6.15 Reset Sources ..............................................................................................24
6.16 OSJTAG Bootloader Enable .........................................................................25
6.17 eTPUA LED Enable ......................................................................................25
7 TRK-MPC5634M CODE DEVELOPMENT SOFTWARE.............................. 26
7.1 Using CodeWarrior With The TRK-MPC5634M............................................26
7.2 Using P&E Software With The TRK-MPC5634M..........................................26
8 TRANSITIONING TO YOUR OWN TARGET............................................... 26
8.1 Hardware Solutions At A Glance ..................................................................27
8.2 Working With P&E’s Multilink Universal or USB Qorivva Multilink................28
8.3 Working With P&E’s Cyclone MAX ...............................................................29
9 TROUBLESHOOTING.................................................................................. 30
9.1 TRK-MPC5634M Is Undetected ...................................................................30
10 TRK-MPC5634M ERRATA (REV. A ONLY)................................................. 31
iii TRK-MPC5634M User Manual

1 INTRODUCTION

1.1 Overview

The TRK-MPC5634M is a low-cost development system supporting Freescale MPC5634M microcontrollers in 144LQFP packages. The Embedded OSJTAG circuitry on the TRK-MPC5634M board allows the processor on the board to be debugged and programmed via USB from a PC. In addition, the demo board can be powered using the USB bus.

1.2 Package Contents

The TRK-MPC5634M package includes the following items:
TRK-MPC5634M Board
CodeWarrior Development Studio DVD-ROM
TRK-MPC5634M Resources CD
USB A-to-B Cable
Freescale Warranty Card

1.3 Supported Devices

The TRK-MPC5634M supports the following devices:
MPC5634M microcontrollers in 144LQFP packages

1.4 Recommended Materials

Freescale MPC5634M reference manual and datasheet
TRK-MPC5634M board schematic
TRK-MPC5634M EVB User Manual 1

1.5 Handling Precautions

Please take care to handle the package contents in a manner such as to prevent electrostatic discharge.

2 HARDWARE FEATURES

The TRK-MPC5634M is a demonstration and development system for Freescale’s MPC5634M microcontrollers in 144LQFP packages. Application development is quick and easy using Embedded OSJTAG. An optional 14-pin JTAG port is provided to allow the use of an external Qorivva MPC55xx/56xx interface such as P&E’s USB Multilink or Cyclone MAX automated programmer. P&E’s USB Multilink provides faster communication speeds and can be used to debug both the TRK-MPC5634M and the user’s own targets.
Note: The DEMO board’s Embedded OSJTAG is intended to function with the on-
board processor only. It cannot be used to communicate with other devices.

2.1 TRK-MPC5634M Board Features

Soldered MPC5634M LQFP144 device
Access to MCU pins with standard headers
Embedded OSJTAG: USB to JTAG circuitry which allows host PC to communicate with the microcontroller through USB 2.0.
On-board Virtual Serial Port
ON/OFF Power Switch w/ LED indicator
A 9VDC to 12VDC power supply input barrel connector
Power Input Selection Jumpers for selecting the input voltage source:
Power Input from USB Connector
Power Input from DC Power Jack
Freescale MC3390x
Jumper to select BAM source:
From internal memory
From CAN
From LIN Flex
2 TRK-MPC5634M EVB User Manual
RESET Push Button and LED indicator w/ enable
User Features:
4 User Push Buttons w/ enable and pull-up & pull-down options
4 DIL switches w/ enable and pull-up & pull-down options
10K Ohm POT connected to an ADC input channel w/ enable
1 photocell w/ enable
4 User LED’s w/ enable
1 RS232 interface w/ enable (DB9 and transceiver footprint only)
1 CAN interface w/ enable to high-speed CAN transceiver with DB9 CAN connector
2 LIN channels w/ enable sharing one LIN transceiver with two standard LIN connectors
4 distinct GND test points
Specifications:
Board Size 4.7” x 4.3”
Power Input:
USB Cable: 5VDC, 500mA max
DC Power Jack: 2.1/5.5mm barrel connector, 9VDC to
12VDC Center Positive
TRK-MPC5634M EVB User Manual 3
Figure 2-1: Top Component Placement

2.2 On-Board Virtual USB Port

The TRK-MPC5634M board has a built-in virtual serial port which may be connected to the MPC5634M processor’s SCI RXD/TXD. This allows certain PC applications to be able to connect in a serial fashion to the microcontroller without the actual use of serial port hardware.
4 TRK-MPC5634M EVB User Manual

2.3 TRK-MPC5634M Jumper/Connector Quick Reference

Default Jumper Settings
The following is a list of default jumper settings for TRK-MPC5634M board. The settings listed indicate the “on” (or installed) position.
Default Jumper Settings
JUMPER OPTION SETTINGS DESCRIPTION
System Power
J1
Source Select
SBC I/O LED
J2
Pull Up/Down
J3 SBC I/O Signal
SBC DBG
J4
Short to GND
(default: OFF)
SBC DBG Pull
J5
J6
Up
(default: OFF)
CAN Signals to
Transceiver
Enable
1-2 (default)
2-3
1-2 (default) Pull Up
2-3 Pull Down
1-2 (default) I/O-0
2-3 I/O-1
1-2 Short SBC DBG Pin to GND,
1-2
1-2, 3-4 (default)
USB OSJTAG Supplies 5VDC
SBC MC33905 Supplies 5VDC
Bypass R21 and D13
Pull Up SBC DBG Pin to SBC Power Supply via 330 Ohm Resistor
Enables TXD and RXD signals to CAN Transceiver
TRK-MPC5634M EVB User Manual 5
Default Jumper Settings
J7
J8
J9
(default: OFF)
J10
(default: OFF)
LIN0 Signals to
J11
LIN1 Signals to
J12
(default: OFF)
RS232 TXD
Signal
RS232 RXD
Signal
LIN1 VBus
Enable
LIN0 VBus
Enable
Connector
Enable
Connector
Enable
1-2 (default)
2-3
1-2 (default)
2-3
1-2
1-2
1-2 (default), 3-4 (default)
1-2, 3-4 Connects LIN1 Signals to
MCU TXD to Virtual Serial Port
MCU TXD to RS232 Transceiver
MCU RXD to Virtual Serial Port
MCU RXD to RS232 Transceiver
Provides Power to LIN1 Connector
Provides Power to LIN0 Connector
Connects LIN0 Signals to LIN0 Connector
LIN1 Connector
1-2 (default) MCU LIN0TX to Transceiver
CT7 LIN TXD Signal
2-3 MCU LIN1TX to Transceiver
1-2 (default) MCU LIN0RX to Transceiver
CT8 LIN RXD Signal
2-3 MCU LIN1RX to Transceiver
6 TRK-MPC5634M EVB User Manual
Default Jumper Settings
CT1 Cut Trace
J16 SBC SPI
External Crystal Circuitry Enable
CT4
CT5
Cut Trace
(default: ALL
ON)
External Crystal Circuitry Enable
Cut Trace
(default: ALL
ON)
shorrted (default)
Cut traces on PCB board: 1-2 (default) 3-4(default) 5-6(default) 7-8(default)
shorted (default)
shorted (default)
Provides Power to MCU; Current Measurement
Connects MCU SPI signals to SBC SPI
XTAL
EXTAL
External
J23
J24
TRK-MPC5634M EVB User Manual 7
Oscillator via SMA Enable
(default: OFF)
Push Button
Active High or
Low; Opposite
of J25
1-2 EXTAL
1-2 (default) Active Low
2-3 Active High
Default Jumper Settings
J25
J26
J27
J28
J29
Pull Up/Down
Opposite of J24
Signals Enable
(default: ALL
(default: ALL
Signals Enable
(default: ALL
Active High or
Push Button
Enable;
Push Button
ON)
LED Signals
Enable
ON)
DIL Switch
ON)
DIL Switch
Low
1-2 (default) Pull Up
2-3 Pull Down
1-2 (default), 3-4 (default), 5-6 (default), 7-8 (default)
1-2 (default), 3-4 (default), 5-6 (default), 7-8 (default)
1-2 (default), 3-4 (default), 5-6 (default), 7-8 (default)
1-2 (default) Active High
2-3 Active Low
Connects MCU Port EMIOS0, EMIOS2, EMIOS4, and EMIOS8 to Push Buttons Correspondingly
Connects MCU Port EMIOS9, EMIOS10, EMIOS11, and EMIOS12 to LEDs Correspondingly
Connects MCU Port eTPUA20, eTPUA21, eTPUA22, and eTPUA23 to DIL Switch Correspondingly
J30
J31
J32
J33
8 TRK-MPC5634M EVB User Manual
Analog Input
Enable
Photo Sensor
Enable
SBC Reset to
MCU Enable
(default: OFF)
OSJTAG Reset to MCU Enable
1-2 (default)
1-2 (default)
1-2
1-2 (default)
Connects MCU AN17 to Potentiometer
Connects MCU AN35 to Photo Cell
Enables SBC Reset Signal to Trigger MCU Reset
Enables OSJTAG Reset Signal to Trigger MCU Reset
Loading...
+ 25 hidden pages