background image

 

 

 
 

Freescale Semiconductor  

                                                                                                                3 

 

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 

Initial release 

 

Содержание Freescale MC9S12C32

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: