NXP Semiconductors Freescale MC9S12C32 User Manual

Freescale Semiconductor SLK0101UG
User Guide Rev. 0, 9/2006
Application Module Student Learning Kit Users
Guide featuring the Freescale MC9S12C32
For use with the following part numbers:
CSM-12C32 APS12C32SLK PBS12C32SLK
© Freescale Semiconductor, Inc., 2006. All rights reserved. _______________________________________________________________________
CONTENTS
CAUTIONARY NOTES ..............................................................................................................4
FEATURES................................................................................................................................5
REFERENCES...........................................................................................................................6
INTRODUCTION........................................................................................................................7
GETTING STARTED..................................................................................................................7
OPERATION..............................................................................................................................7
POWER................................................................................................................................. 8
PWR.................................................................................................................................. 8
CONNECTOR J1............................................................................................................... 8
PWR_SEL JUMPER.......................................................................................................... 8
RESET SWITCH ................................................................................................................... 9
LOW-VOLTAGE DETECT..................................................................................................... 9
TIMING.................................................................................................................................. 9
COMMUNICATIONS............................................................................................................. 9
COM CONNECTOR........................................................................................................ 10
CONNECTOR J1............................................................................................................. 11
USER OPTIONS ................................................................................................................. 11
SWITCHES ..................................................................................................................... 11
LED’S............................................................................................................................... 12
DEVELOPMENT SUPPORT....................................................................................................12
ASCII MONITOR OPERATION........................................................................................... 12
ASCII MONITOR MEMORY MAP ................................................................................... 12
MONITOR COMMANDS................................................................................................. 13
INTERRUPT SUPPORT.................................................................................................. 13
INTERRUPT VECTOR TABLE........................................................................................ 14
SERIAL MONITOR OPERATION........................................................................................ 15
SERIAL MONITOR MEMORY MAP................................................................................ 15
BDM_PORT HEADER......................................................................................................... 16
2 Freescale Semiconductor
FIGURES
Figure 1: PWR_SEL ...................................................................................................................8
Figure 2: COM Connector.........................................................................................................10
Figure 3: MCU_PORT Connector.............................................................................................11
Figure 4: BDM_PORT...............................................................................................................16
TABLES
Table 1: Serial COM Signals ....................................................................................................10
Table 2: User Option Jumper Settings......................................................................................11
Table 4: Monitor Commands ....................................................................................................13
Table 5: Monitor Memory Map..................................................................................................12
Table 6: MON12 Interrupt Vector Table....................................................................................14
Table 7: Serial Monitor Memory Map........................................................................................15
REVISION
August 25, 2006 A Initial release
Freescale Semiconductor 3
Cautionary Notes
Electrostatic Discharge (ESD) prevention measures should be used when handling this
product. ESD damage is not a warranty repair item.
Axiom Manufacturing does not assume any liability arising out of the application or use of
any product or circuit described herein; neither does it convey any license under patent rights or the rights of others.
EMC Information on the APS12C32SLK module: a) This product as shipped from the factory with associated power supplies and cables, has
been verified to meet with requirements of CE and the FCC as a CLASS B product.
b) This product is designed and intended for use as a development platform for hardware or
software in an educational or professional laboratory.
c) In a domestic environment, this product may cause radio interference in which case the
user may be required to take adequate prevention measures.
d) Attaching additional wiring to this product or modifying the products operation from the
factory default as shipped may effect its performance and cause interference with nearby electronic equipment. If such interference is detected, suitable mitigating measures should be taken.
TERMINOLOGY
This module uses option selection jumpers and cut-traces to setup default configuration. Terminology for application of the option jumpers is as follows:
Jumper – a plastic shunt that connects 2 terminals electrically Jumper on, in, or installed - jumper is installed such that 2 pins are connected together Jumper off, out, or idle - jumper is installed on 1 pin only. It is recommended that
jumpers be idled by installing on 1 pin so they will not be lost. Cut-Trace – a circuit trace connection between component pads. The circuit trace may
be cut using a razor knife to break the default connection. To reconnect the circuit, simply install a suitably sized 0-ohm resistor or attach a wire across the pads.
4 Freescale Semiconductor
FEATURES
The APS12C32SLK is an educational application module for the Freescale Semiconductor MC9S12C32 microcontroller. Application module SLK’s include components for out-of-box operation and are preprogrammed with a serial monitor to make application development quick and easy. A background DEBUG port is provided for development tool use and is compatible with HCS12 BDM interface cables and software. The 40-pin connector allows the APS12C32SLK module to be connected to an expanded evaluation environment such as the Microcontroller Project Board Student Learning Kit (PBMCUSLK) or user’s custom PCB.
Features:
MC9S12C32 MCU, 48 QFP
32K Byte Flash EEPROM 2K Bytes RAM 31 I/O lines Timer/PWM SCI and SPI Communications Ports Key Wake-up Port BDM DEBUG Port CAN 2.0 Module Analog Comparator 8 MHz Internal Bus Operation Default 25 MHz Bus Operation using internal PLL
+3.3VDC to +5VDC operation Power Input Selection Jumper On-board, regulated +5V power supply Optional power input/output from Connector J1 16 MHz Ceramic Resonator RS-232 Serial Port w/ DB9 Connector 8-Ch, 10-bit, Analog Comparator with full rail-to-r ail operation and
external trigger capability 8-Channel, 16-bit Timer with Input Capture, Output Compare, and
PWM capabilities
User Components Provided
3 Push Button Switches: 2 User, RESET
3 LED Indicators: 2 User, VDD Jumpers
Disable User Components
Power Select Connectors
40 pin connector provides access to most MCU I/O signals
2.0mm Barrel Connector Power Input
DEBUG BDM Connector
DB9 Communications Connector Supplied with DB9 Serial Cable, Documentation (CD), Manual, and Wall plug type power supply.
Specifications:
Module Size 2.2” x 1.6” Power Input: +9VDC @ 200 mA typical, +6 to +16VDC range
Freescale Semiconductor 5
References
Reference documents are provided on the support CD in Acrobat Reader format. More information can be found in the Application Notes section of the Freescale Web site.
APS12C32SLKSCHEM.pdf APS12C32SLK Application Module Schematic APS12C32SLKUG.pdf APS12C32SLK User Guide 9S12C32DGV1.pdf MC9S12C32 Device User Guide 9S12C32_ZIP.zip Zip file containing Device Block User Guides APS12C32SLKQSUG.pdf Quick Start Guide for use with stand-alone module APS12C32SLKSW.zip CodeWarrior project for use with
APS12C32SLK_QSUG
AN2548.pdf Serial Monitor Program for HCS12 MCU’s
The following reference documents are for using the application module in conjunction with the Freescale Microcontroller Project Board Student Learning Kit:
PBS12C32SLKQSUG.pdf Quick Start Guide for application module use with
PBMCUSLK
PBS12C32SLKSW.zip CodeWarrior project for use with
PBS12C32SLK_QSUG
Visit www.freescale.com\universityprogram for current product information, reference materials and updates.
6 Freescale Semiconductor
Loading...
+ 11 hidden pages