background image

 

 

 
 

Freescale Semiconductor  

                                           

                                                   

11 

 

Connector J1  

Connector J1 provides access to APS12C32SLK I/O port signals.  

Figure 3: MCU_PORT Connector 

 

V

x

 

PE1/IRQ* 

Default Signal Assignments 

GND 

RESET* MCU 

PORT

Signal 

Disable 

PS1/TXD 

MODC/BKGD 

   

PS0/RXD 

NC PS1/TXD

COM1 

TXD 

CT-5 

PP5/KWP5 

10 

NC PS0/RXD

COM1 

RXD 

CT-4 

PE0/XIRQ* 

11  12 

NC PE1/IRQ*

SW1 

User1 

PT0/PW0/IOC0 

13  14 

NC PP5/KWP5

SW2 

User2 

PT1/PW1/IOC1 

15  16 

NC PA0

LED1 

User3 

PM4/MOSI 

17  18 

PAD00/AN00 PB4

LED2 

User4 

PM2/MISO 

19  20 

PAD01/AN01 

   

PM5/SCK 

21  22 

PB4 

PM3/SS* 

23  24 

PA0 

PE4/ELCK 

25  26 

PM1/TXCAN 

Note:  Default signal assignment should be 
disabled to  use the signal at connector J1 

PE7/XCLKS 

27  28 

PM0/RXCAN  

 

PAD02/AN02 

29  30 

PT2/PW2/IOC2  

 

PAD03/AN03 

31  32 

PT3/PW3/IOC3  

 

PAD04/AN04 

33  34 

PT4/PW04/IOC4  

 

PAD05/AN05 

35  36 

PT5/IOC5  

 

PAD06/AN06 

37  38 

PT6/IOC6  

 

PAD07/AN07 

39  40 

PT7/IOC7  

 

User Options 

User options include 2 LED’s, and 2 pushbutton switches.  Each user option may be enabled 
individually using the USER option header.  When the appropriate USER option jumper is 
installed, the associated user option is enabled.  Removing a jumper disables the associated 
user option.   

Table 2: User Option Jumper Settings 

Jumper On 

Off 

MCU 

Signal 

User 1 

Enable SW1 

Disable SW1 

PE0/XIRQ* 

User 2 

Enable SW2 

Disable SW2 

PP5 /KWP5 

User 3 

Enable LED1 

Disable LED1 

PA0 

User 4 

Enable LED2 

Disable LED2 

PB4 

Switches 

Two push button switches provide momentary, active low, input to the MCU for user 
applications.  Pressing a switch provides a momentary low logic level input tot the MCU.  SW1 
and SW2 provide input to MCUI/O ports PE0 and PP5 respectively.   

Summary of Contents for Freescale MC9S12C32

Page 1: ...miconductor Inc 2006 All rights reserved _______________________________________________________________________ Application Module Student Learning Kit Users Guide featuring the Freescale MC9S12C32 For use with the following part numbers CSM 12C32 APS12C32SLK PBS12C32SLK ...

Page 2: ...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 ...

Page 3: ..._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 ...

Page 4: ...ay 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 ...

Page 5: ...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 rail operation and exter...

Page 6: ... 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 applic...

Page 7: ...upply GETTING STARTED Please refer to the APS12C32SLK Quick Start Users Guide to quickly setup the stand alone application module or PBS12C32SLK Quick Start Users Guide to get started with the microcontroller project board PBMCUSLK Operation The APS12C32SLK module provides input and output features designed to assist embedded application development Access to the MCU port signals is available thro...

Page 8: ... should be exercised not to over drive this input Use of connector J1 to supply 3 3V to the module requires disabling the voltage supervisor LV1 by opening cut trace CT 1 See the Low Voltage Detect section below To re enable the low voltage supervisor install a 1206 sized 0 ohm resistor at CT1 Connector J1 may also be used to source 5V power from the on board regulator to external modules attached...

Page 9: ...a short piece of wire across the cut trace pads Timing A ceramic resonator Y1 provides a 16 0 MHz base operating frequency to the MCU This supports a default 8 0 MHz internal operating frequency Higher frequencies are possible using the embedded PLL The resonator output is routed to the MCU only and is not available at the MCU Port connector J1 The MCU ECLK output is available to the user at conne...

Page 10: ...l COM Signals COM Signal MCU Port Connector Disable TXD PS1 TXD J1 5 CT5 RXD PS0 RXD J1 7 CT4 COM Connector A standard 9 pin D Sub connector provides external connections for the COM port The COM port is configured as a DCE device Component U2 provides RS 232 translation services The figure below shows the DB9 connector Figure 2 COM Connector 1 6 TXD 2 7 RTS RXD 3 8 CTS 4 9 NC GND 5 Female DB9 con...

Page 11: ... IOC2 PAD03 AN03 31 32 PT3 PW3 IOC3 PAD04 AN04 33 34 PT4 PW04 IOC4 PAD05 AN05 35 36 PT5 IOC5 PAD06 AN06 37 38 PT6 IOC6 PAD07 AN07 39 40 PT7 IOC7 User Options User options include 2 LED s and 2 pushbutton switches Each user option may be enabled individually using the USER option header When the appropriate USER option jumper is installed the associated user option is enabled Removing a jumper disa...

Page 12: ...velopment platform for developing application code The debug monitor allows the user to quickly and easily develop and debug RAM based application code The debug monitor is accessible through the COM port using an ASCII terminal program such as HyperTerminal or AxIDE The terminal should be configured for 9600 8 N 1 with no flow control The monitor relocates the hardware interrupt vector table from...

Page 13: ... implemented at this time Interrupt Support All interrupt services under are provided through the relocated vector table see Table 5 below Each location in the table is initialized to a value of 0000 to cause the trap of an unscheduled interrupt Any nonzero value will allow the interrupt to proceed to the user s service routine that should be located at the address indicated The interrupt service ...

Page 14: ...FFA2 1A C2RX 0FA4 FFA4 1C C2ERR 0FA6 FFA6 1E C2WU 0FA8 FFA8 20 C1TX 0FAA FFAA 22 C1RX 0FAC FFAC 24 C1ERR 0FAE FFAE 26 C1WU 0FB0 FFB0 28 C0TX 0FB2 FFB2 2A C0RX 0FB4 FFB4 2C C0ERR 0FB6 FFB6 2E C0WU 0FB8 FFB8 30 FEPRG 0FBA FFBA 32 EEPRG 0FBC FFBC 34 SPI2 0FBE FFBE 36 SPI1 0FC0 FFC0 38 I2C 0FC2 FFC2 3A BDLC 0FC4 FFC4 3C CRGC 0FC6 FFC6 3E CRGL 0FC8 FFC8 40 PACBO 0FCA FFCA 42 MCNT 0FCC FFCC 44 PTHI 0FCE...

Page 15: ... serial monitor operation This application note may be found on the Support CD received with the module or from the Freescale web site Serial Monitor Memory Map Table 6 Serial Monitor Memory Map 0x0000 0x03FF Registers 1K bytes Reserved 0x3800 0x3FFF Internal RAM Relocated 2K bytes Reserved 0x8000 0xBFFF Fixed Flash EEPROM Block 1 visible at RESET 16K bytes 0xC000 0xF77F Fixed Flash EEPROM Block 2...

Page 16: ...tatus of SW1 is read only during the rising edge of RESET To load user application on start up the user is responsible for programming the pseudo reset vector 0xF7FE 0xF7FF Pressing SW1 after the MCU exits reset will not access the serial monitor After exiting reset pressing SW1 has effect as defined in the user application BDM_PORT Header BDM access is gained through the BDM_PORT header This is a...

Page 17: ...akes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale S...

Reviews: