NXP Semiconductors DEMO9S12PFAME User Manual
NXP Semiconductors DEMO9S12PFAME User Manual

NXP Semiconductors DEMO9S12PFAME User Manual

Demonstration board for freescale mc9s12p128

Advertisement

Quick Links

DEMO9S12PFAME
Demonstration Board
for Freescale MC9S12P128
(80-Pin QFP)
User's Manual
Revision 1.0
Copyright © 2008 SMH Technologies
DC10007

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DEMO9S12PFAME and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors DEMO9S12PFAME

  • Page 1 DEMO9S12PFAME Demonstration Board for Freescale MC9S12P128 (80-Pin QFP) User’s Manual Revision 1.0 Copyright © 2008 SMH Technologies DC10007...
  • Page 2 We want your feedback! SMH Technologies is always on the lookout for new ways to improve its Products and Services. For this reason feedback, comments, suggestions or criticisms, however small, are always welcome. Our policy at SMH Technologies is to comply with all applicable worldwide safety and EMC/EMI regulations.
  • Page 3: Table Of Contents

    DEMO9S12PFAME User's Manual Contents Introduction 5 Overview 5 Package Contents 5 Supported Devices 5 Recommended Reading 5 Hardware Features 7 Demonstration Board Features 7 Software Setup 9 Overview 9 Host System Requirements 9 Installing CodeWarrior Development Studio 9 Installing SofTec Microsystems Additional Components 10...
  • Page 5: Introduction

    The DEMO9S12PFAME Demonstration board has been designed for the evaluation, demonstration and the debugging of the Freescale MC9S12P128 microcontroller. The DEMO9S12PFAME can be used as a standalone application, or via its built-in USB-to- BDM bridge, or together the Freescale Student Learning Kit (Freescale code: MCUSLK) through three external 40-pin I/O female header connectors.
  • Page 7: Hardware Features

    DEMO9S12PFAME User's Manual 2 Hardware Features 2.1 Demonstration Board Features The DEMO9S12PFAME board features: A MC9S12P128 microcontroller (in 80-Pin QFP package, already programmed with a demo application); A 4 MHz crystal; A 12 V DC power supply input connector; Power input selection jumper for selecting the input voltage source: 12 V DC input connector;...
  • Page 8 Hardware Features The DEMO9S12PFAME Demonstration Board Page 8...
  • Page 9: Software Setup

    DEMO9S12PFAME User's Manual 3 Software Setup 3.1 Overview Note: before connecting the Demonstration Board to the PC, it is recommended that you install all of the required software first (see below), so that the appropriate USB driver will be automatically found by Windows when you connect the Demonstration Board.
  • Page 10: Installing Softec Microsystems Additional Components

    Click on the “Copy examples for CodeWarrior for HCS12 V.4.7” option. An Explorer window will open. Copy the “DEMO9S12PFAME” folder to your PC, in a location of your choice. These are the examples specific for the demonstration board, and will be used later in the step-by-step tutorial.
  • Page 11: Hardware Setup

    DEMO9S12PFAME User's Manual 4 Hardware Setup 4.1 First Connection The Demonstration Board connects to a host PC through a USB port. Connection steps are listed below in the recommended flow order: Install all the required system software as described in the previous section.
  • Page 12 Hardware Setup Click the “Next >” button. Depending on your Windows settings, the following warning may appear. Note: this warning is related to the fact that the USB driver used by the Demonstration Board is not digitally signed by Microsoft, and Windows considers it to be potentially malfunctioning or dangerous for the system.
  • Page 13: Power Supply

    DEMO9S12PFAME User's Manual Click the “Finish” button to exit from the “Found New Hardware Wizard” procedure. The Demonstration Board’s USB driver is now installed on your system. 4.2 Power Supply The Demonstration Board can be powered in three ways: 12 V DC input connector;...
  • Page 15: Operating Modes

    DEMO9S12PFAME User's Manual 5 Operating Modes 5.1 Overview The Demonstration Board can work in two modes: “standalone” mode and “host” mode. 5.2 Standalone Mode In standalone mode, no PC connection is required. The microcontroller is factory programmed with a sample application.
  • Page 16 Operating Modes Note: all MCUs in the S12 family contain a single-wire background debug interface which supports in-circuit programming of on-chip non-volatile memory. This system does not interfere with normal application resources. It does not use any user memory or locations in the memory map.
  • Page 17: Application Tutorial

    Start CodeWarrior by selecting it in the Windows Start menu. From the CodeWarrior main menu, choose “File > Open” and choose the “DEMO9S12PFAME\C\Demo\Demo.mcp” file. This is the board example you copied from the SofTec Microsystems “System Software” CD-ROM. Click “Open”. The Project window will open.
  • Page 19: Summary Of Jumper And Connector Settings

    DEMO9S12PFAME User's Manual 7 Summary of Jumper and Connector Settings 7.1 Jumpers Name Reference Description/Pinout J104 VAUX ENABLE Installed: Power the demonstration board through the VDD line of the carrier board (connects the pin 1 of the J101 connector to the VDD line of the...
  • Page 20 Summary of Jumper and Connector Settings Name Reference Description/Pinout J402 CAN ENABLE All Installed: The CAN transceiver is connected to the microcontroller (default) ERR# Not Installed: The CAN transceiver is not connected to STB# the microcontroller J502 POWER SELECTION 1-2 (“UNREG”): The power supply is taken from the power supply connector (J501) 2-3 (“USB”):...
  • Page 21 DEMO9S12PFAME User's Manual Name Reference Description/Pinout J508 LED ENABLE Installed: The LEDs are connected to PA[3..0] ports of the microcontroller (default) Not Installed: The LEDs are not connected to the microcontroller Page 21...
  • Page 22: Connectors

    Summary of Jumper and Connector Settings 7.2 Connectors Name Reference Description/Pinout J101 40-Pin I/O Female Header Connector 1 VDD (5.0 V) RESET# BKGD PAD07 PAD06 PAD05 PAD04 PAD03 PAD02 PAD01 PAD00 Page 22...
  • Page 23 DEMO9S12PFAME User's Manual Name Reference Description/Pinout J102 40-Pin I/O Female Header Connector 2 N.C. N.C. N.C. N.C. N.C. N.C. N.C. PAD08 PAD09 N.C. N.C. N.C. N.C. N.C. N.C. N.C. Page 23...
  • Page 24 Summary of Jumper and Connector Settings Name Reference Description/Pinout J103 40-Pin I/O Female Header Connector 3 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. Page 24...
  • Page 25 DEMO9S12PFAME User's Manual Name Reference Description/Pinout J105 BDM Connector (Not Populated) BKGD N.C. RESET N.C. J201 USB Connector 5 V DC USB Bus Power Supply Line USB D- USB D+ J301 RS-232 Connector Connected to pins 4 and 6 Connected to pins 1 and 6...
  • Page 27: Troubleshooting

    DEMO9S12PFAME User's Manual 8 Troubleshooting 8.1 USB Driver Problems If you connected the Demonstration Board to the PC before installing the SofTec Microsystems Additional Components, the Demonstration Board’s USB driver may not have been correctly installed on your system. Unplugging and replugging the USB cable is of no use, since Windows has marked the device as “disabled”.

Table of Contents