Freescale Semiconductor Product Brief Document Number: MC9S08PT60PB Rev. 1, 9/2011 MC9S08PT60 Series Family Product Brief Contents 1 Application examples These are general-purpose devices suitable for a wide range of applications: • Handheld devices • Sensing systems • Human input devices • Large appliances • Industrial control • Small appliances • Key pads • Power tools • Personal care appliance • Electric Motor • Remote control • Low-end meter • UPS • Battery chargers • HVAC • Smart circuit breakers © 2011 Freescale Semiconductor, Inc. 1 Application examples...............................................1 2 Features......................................................................2 2.1 Introduction....................................................2 2.2 MCU block diagram.......................................3 2.3 Device pin assignment...................................5 2.4 Module-by-module features...........................8 3 Development support..............................................10 4 Revision history......................................................11 Features 2 Features 2.1 Introduction These device series are members of the low-cost, high-performance HCS08 family of 8-bit microcontroller units (MCUs). All MCUs in the family use the enhanced HCS08 central processor unit and are available with a variety of modules, memory sizes and types, and package types. The following table summarizes the peripheral availability per package type for the devices available. Table 1. Memory and package availability Feature MC9S08PT60 MC9S08PT32 Flash size (bytes) 60,864 32,768 EEPROM size (bytes) 256 256 RAM size (bytes) 4,096 4,096 LQFP-64 Yes Yes QFP-64 Yes Yes LQFP-48 Yes Yes QFN-48 Yes Yes LQFP-44 Yes Yes LQFP-32 Yes Yes Table 2. Feature availability Pin number Bus frequency (MHz) 64-pin 48-pin 44-pin 32-pin 20 20 20 20 IRQ Yes WDOG Yes DBG Yes IPC Yes PCRC Yes ICS Yes XOSC Yes RTC Yes FTM0 channels 2-ch 2-ch 2-ch 2-ch FTM1 channels 2-ch 2-ch 2-ch 2-ch FTM2 channels 6-ch 6-ch 6-ch 6-ch MTIM0 Yes Table continues on the next page... MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 2 Freescale Semiconductor, Inc. Features Table 2. Feature availability (continued) Pin number 64-pin 48-pin 44-pin MTIM1 Yes SCI0 Yes SCI1 Yes SCI2 Yes 32-pin No SPI0 (8-bit) Yes SPI1 (16-bit) Yes IIC Yes ACMP Yes ADC channels 16 12 12 12 TSI channels 16 12 12 12 KBI pins 16 16 12 12 GPIO 57 41 37 28 2.2 MCU block diagram The block diagram in the following figure shows the structure of the MCUs. MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 Freescale Semiconductor, Inc. 3 Port A Port B PTB0/KBI0P4/RxD0/ADP4/TSI2 PTB1/KBI0P5/TxD0/ADP5/TSI3 PTB2/KBI0P6/SPSCK0/ADP6/TSI4 PTB3/KBI0P7/MOSI0/ADP7/TSI5 3 PTB4/FTM2CH4/MISO0 3 PTB5/FTM2CH5/SS0 PTB6/SDA/XTAL PTB7/SCL/EXTAL Port C MODULE (KBI0) PTC0/FTM2CH0/ADP8/TSI6 PTC1/FTM2CH1/ADP9/TSI7 PTC2/FTM2CH2/ADP10 PTC3/FTM2CH3/ADP11 PTC4/FTM1CH0/RTCO PTC5/FTM1CH1 PTC6/RxD1/TSI8 PTC7/TxD1/TSI9 Port D BDC PTD0/KBI1P0/FTM2CH2/SPSCK1 3 PTD1/KBI1P1/FTM2CH3/MOSI1 PTD2/KBI1P2/MISO1/TSI10 PTD3/KBI1P3/SS1/TSI11 PTD4/KBI1P4 PTD5/KBI1P5 PTD6/KBI1P6/RxD2 PTD7/KBI1P7/TxD2 Port E CPU PTE0/SPSCK0/TCLK1 3 PTE1/MOSI0 3 PTE2/MISO0 PTE3/SS0 PTE4 PTE5 PTE6 PTE7/TCLK2 Port F KEYBOARD INTERRUPT PTF0/TSI12 PTF1/TSI13 PTF2/TSI14 PTF3/TSI15 PTF4/ADP12 PTF5/ADP13 PTF6/ADP14 PTF7/ADP15 Port G HCS08 CORE PTA0/KBI0P0/FTM0CH0/ACMP0/ADP0 PTA1/KBI0P1/FTM0CH1/ACMP1/ADP1 PTA2/KBI0P2/RxD0/SDA1 PTA3/KBI0P3/TxD0/SCL1 PTA4/ACMPO/BKGD/MS 2 PTA5/IRQ/TCLK0/RESET PTA6/FTM2FAULT1/ADP2/TSI0 PTA7/FTM2FAULT2/ADP3/TSI1 PTG0 PTG1 PTG2 PTG3 Port H Features PTH0/FTM2CH0 3 PTH1/FTM2CH1 PTH2/BUSOUT PTH6 PTH7 KBYBOARD INTERRUPT MODULE (KBI1) SYSTEM INTEGRATION MODULE (SIM) WDOG IRQ 1 kHz OSC LVD INTERRUPT PRIORITY CONTROLLER(IPC) 8-BIT MODULO TIMER (MTIM0) 8-BIT MODULO TIMER (MTIM1) 2-CH FLEX TIMER MODULE (FTM0) 2-CH FLEX TIMER ON-CHIP ICE AND DEBUG MODUE (DBG) MODULE (FTM1) 6-CH FTM TIMER USER FLASH MC9S08PT60 = 60,864 bytes MC9S08PT32 = 32,768 bytes MODULE (FTM2) SERIAL COMMUNICATION INTERFACE (SCI0) USER EEPROM MC9S08PT60 = 256 bytes MC9S08PT32 = 256 bytes USER RAM MC9S08PT60 = 4,096 bytes MC9S08PT32 = 4,096 bytes SERIAL COMMUNICATION INTERFACE (SCI1) SERIAL COMMUNICATION INTERFACE (SCI2) 8-BIT SERIAL PERIPHERAL 20 MHz INTERNAL CLOCK SOURCE (ICS) EXTAL XTAL VDD VSS VDD 4 VSS 4 VSS 4 VREFH VDDA VREFL VSSA EXTERNAL OSCILLATOR SOURCE (XOSC) INTERFACE MODULE(SPI0) 16-BIT SERIAL PERIPHERAL INTERFACE MODULE(SPI1) INTER-INTEGRATED CIRCUIT(IIC) POWER MANAGEMENT CONTROLLER (PMC) 16-CH 12-BIT ANALOG-TO-DIGITAL CONVERTER(ADC) CYCLIC REDUNDANCY CHECK (CRC) ANALOG COMPARATOR (ACMP) REAL-TIME COUNTER (RTC) TOUCH SENSE INTERFACE (TSI) 3 3 1. PTA2 and PTA3 operate as true open drain when working as output . 2. PTA4/ACMPO/BKGD/MS is an output-only pin when used as port pin. 3. PTB4, PTB5, PTD0, PTD1, PTE0, PTE1, PTH0, and PTH1 can provide high drive source/sink current up to 20 mA. 4. The secondary power pair of VDD and VSS (pin 41 and pin 40 in 64-pin packages) and the third VSS (pin 13 in 64-pin packages) are not bonded in 32-pin packages. Figure 1. MCU block diagram MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 4 Freescale Semiconductor, Inc. Features PTE3/SS0 PTC6/RxD1/TSI8 PTC7/TxD1/TSI9 PTA0/KBI0P0/FTM0CH0/ACMP0/ADP0 PTA1/KBI0P1/FTM0CH1/ACMP1/ADP1 52 51 50 49 PTE2/MISO0 54 53 PTG2 PTG3 PTG1 55 PTG0 58 57 56 PTE0/SPSCK0/TCLK11 PTE1/MOSI01 PTC5/FTM1CH1 59 PTC4/FTM1CH0/RTCO 62 61 60 PTA4/ACMPO/BKGD/MS PTA5/IRQ/TCLK0/RESET 64 63 2.3 Device pin assignment PTD1/KBI1P1/FTM2CH3/MOSI1 1 1 48 PTA2/KBI0P2/RxD0/SDA2 PTD0/KBI1P0/FTM2CH2/SPSCK1 1 2 47 PTA3/KBI0P3/TxD0/SCL2 PTD2/KBI1P2/MISO1/TSI10 PTH7 3 46 PTH6 4 45 PTD3/KBI1P3/SS1/TSI11 PTE7/TCLK2 5 44 PTD4/KBI1P4 PTH2/BUSOUT VDD 6 43 PTF0/TSI12 7 42 PTF1/TSI13 VDDA /VREFH 8 41 VDD VSSA /V 9 40 VSS REFL VSS 10 39 PTE4 PTB7/SCL/EXTAL PTB6/SDA/XTAL 11 38 PTA6/FTM2FAULT1/ADP2/TSI0 12 37 PTA7/FTM2FAULT2/ADP3/TSI1 VSS 13 36 PTF2/TSI14 21 22 23 24 25 26 27 28 29 30 31 32 PTC2/FTM2CH2/ADP10 PTD7/KBI1P7/TxD2 PTD6/KBI1P6/RxD2 PTD5/KBI1P5 PTC1/FTM2CH1/ADP9/TSI7 PTC0/FTM2CH0/ADP8/TSI6 PTF7/ADP15 PTF6/ADP14 PTF5/ADP13 PTF4/ADP12 PTB3/KBI0P7/MOSI0/ADP7/TSI5 PTB2/KBI0P6/SPSCK0/ADP6/TSI4 PTB1/KBI0P5/TxD0/ADP5/TSI3 19 33 20 16 PTC3/FTM2CH3/ADP11 PTE6 PTB4/FTM2CH4/MISO0 1 PTB0/KBI0P4/RxD0/ADP4/TSI2 17 PTF3/TSI15 34 18 35 15 PTE5 14 PTB5/FTM2CH5/SS0 1 PTH1/FTM2CH11 PTH0/FTM2CH01 Pins in bold are not available on less pi n-count packages. 1. High source/sink current pins 2. True open drain pins Figure 2. MC9S08PT60 64-pin QFP and LQFP package MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 Freescale Semiconductor, Inc. 5 PTE3/SS0 PTC6/RxD1/TSI8 PTC7/TxD1/TSI9 PTA0/KBI0P0/FTM0CH0/ACMP0/ADP0 PTA1/KBI0P1/FTM0CH1/ACMP1/ADP1 40 39 38 37 PTE2/MISO0 42 41 PTE0/SPSCK0/TCLK11 PTE1/MOSI01 PTC5/FTM1CH1 45 43 PTC4/FTM1CH0 46 44 PTA4/ACMPO/BKGD/MS PTA5/IRQ/TCLK0/RESET 47 48 Features 34 PTD2/KBI1P2/MISO1/TSI10 PTH2/BUSOUT 4 33 PTD3/KBI1P3/SS1/TSI11 VDD 5 32 PTD4/KBI1P4 VDDA /VREFH 6 31 VDD 7 30 VSS 8 29 PTE4 9 PTB7/SCL/EXTAL PTB6/SDA/XTAL 10 28 PTA6/FTM2FAULT1/ADP2/TSI0 17 18 PTC2/FTM2CH2/ADP10 PTD7/KBI1P7/TxD2 25 PTB1/KBI0P5/TxD0/ADP5/TSI3 24 16 PTC3/FTM2CH3/ADP11 PTA7/FTM2FAULT2/ADP3/TSI1 PTB0/KBI0P4/RxD0/ADP4/TSI2 PTB2/KBI0P6/SPSCK0/ADP6/TSI4 15 PTB4/FTM2CH4/MISO0 1 Pins in bold are not available on less pi n-count packages. 1. High source/sink current pins 2. True open drain pins 27 26 23 13 14 PTE5 PTB5/FTM2CH5/SS0 1 VSS 11 PTE6 12 22 VSS PTC0/FTM2CH0/ADP8/TSI6 REFL PTB3/KBI0P7/MOSI0/ADP7/TSI5 VSSA /V 21 3 PTC1/FTM2CH1/ADP9/TSI7 PTA3/KBI0P3/TxD0/SCL2 PTE7/TCLK2 19 PTA2/KBI0P2/RxD0/SDA2 35 20 36 2 PTD5/KBI1P5 1 PTD6/KBI1P6/RxD2 PTD1/KBI1P1/FTM2CH3/MOSI1 1 PTD0/KBI1P0/FTM2CH2/SPSCK1 1 Figure 3. MC9S08PT60 48-pin LQFP and QFN package MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 6 Freescale Semiconductor, Inc. PTC6/RxD1/TSI8 PTC7/TxD1/TSI9 PTA0/KBI0P0/FTM0CH0/ACMP0/ADP0 PTA1/KBI0P1/FTM1CH0/ACMP1/ADP1 36 35 34 PTE2/MISO0 38 37 PTE0/SPSCK0/TCLK11 PTE1/MOSI01 PTC5/FTM1CH1 41 39 PTC4/FTM1CH0 42 40 PTA4/ACMPO/BKGD/MS PTA5/IRQ/TCLK0/RESET 43 44 Features PTD1/KBI1P1/FTM2CH3/MOSI1 1 1 33 PTA2/KBI0P2/RxD0/SDA2 PTD0/KBI1P0/FTM2CH2/SPSCK1 1 2 32 3 31 PTA3/KBI0P3/TxD0/SCL2 PTE7/TCLK2 PTH2/BUSOUT 4 30 PTD3/KBI1P3/SS1/TSI11 VDD 5 29 PTD4/KBI1P4 VDDA /VREFH VSSA /V REFL VSS 6 28 7 27 8 26 9 25 PTD2/KBI1P2/MISO1/TSI10 VDD VSS PTA6/FTM2FAULT1/ADP2/TSI0 PTA7/FTM2FAULT2/ADP3/TSI1 18 19 20 PTD5/KBI1P5 PTC1/FTM2CH1/ADP9/TSI7 PTC0/FTM2CH0/ADP8/TSI6 22 17 PTD6/KBI1P6/RxD2 21 16 PTD7/KBI1P7/TxD2 PTB3/KBI0P7/MOSI0/ADP7/TSI5 15 PTC2/FTM2CH2/ADP10 Pins in bold are not available on less pi n-count packages. 1. High source/sink current pins 2. True open drain pins PTB2/KBI0P6/SPSCK0/ADP6/TSI4 14 PTC3/FTM2CH3/ADP11 PTB1/KBI0P5/TxD0/ADP5/TSI3 13 PTB0/KBI0P4/RxD0/ADP4/TSI2 23 12 24 11 PTB5/FTM2CH5/SS0 1 10 VSS PTB4/FTM2CH4/MISO0 1 PTB7/SCL/EXTAL PTB6/SDA/XTAL Figure 4. MC9S08PT60 44-pin LQFP package MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 Freescale Semiconductor, Inc. 7 PTC6/RxD1/TSI8 PTC7/TxD1/TSI9 PTA0/KBI0P0/FTM0CH0/ACMP0/ADP0 PTA1/KBI0P1/FTM0CH1/ACMP1/ADP1 26 25 PTC5/FTM1CH1 29 27 PTC4/FTM1CH0 30 28 PTA4/ACMPO/BKGD/MS PTA5/IRQ/TCLK0/RESET 32 31 Module-by-module features PTD1/KBI1P1/FTM2CH3/MOSI1 1 1 24 PTA2/KBI0P2/RxD0/SDA2 PTD0/KBI1P0/FTM2CH2/SPSCK1 1 2 23 PTA3/KBI0P3/TxD0/SCL2 PTD2/KBI1P2/MISO1/TSI10 3 22 VDDA /VREFH 4 21 PTD3/KBI1P3/SS1/TSI11 VSSA /V 5 20 PTA6/FTM2FAULT1/ADP2/TSI0 PTA7/FTM2FAULT2/ADP3/TSI1 VDD REFL 15 16 14 PTC0/FTM2CH0/ADP8/TSI6 PTB3/KBI0P7/MOSI0/ADP7/TSI5 13 PTC1/FTM2CH1/ADP9/TSI7 1. High source/sink current pins 2. True open drain pins PTB2/KBI0P6/SPSCK0/ADP6/TSI4 11 PTB1/KBI0P5/TxD0/ADP5/TSI3 12 17 PTC2/FTM2CH2/ADP10 8 PTC3/FTM2CH3/ADP11 PTB0/KBI0P4/RxD0/ADP4/TSI2 PTB6/SDA/XTAL 9 18 10 19 7 PTB4/FTM2CH4/MISO0 1 6 PTB5/FTM2CH5/SS0 1 VSS PTB7/SCL/EXTAL Figure 5. MC9S08PT60 32-pin LQFP package 2.4 Module-by-module features 2.4.1 8-Bit HCS08 central processor unit (CPU) • • • • • • • • • Up to 20 MHz bus at 2.7 V to 5.5 V across temperature range of -40 °C to 105 °C Support for up to 48 interrupt/reset sources Support up to four-level nested interrupt On-chip memory Up to 60 KB flash read/program/erase over full operating voltage and temperature Up to 256 Byte EEPROM; 2-byte erase sector; program and erase while executing flash 48-bit universally unique identification (UUID) to identify each device 4096-byte random-access memory (RAM) Flash and RAM access protection MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 8 Freescale Semiconductor, Inc. Module-by-module features 2.4.2 Power-saving modes • One low-power stop modes; reduced power wait mode • Peripheral clock enable register can disable clocks to unused modules, reducing currents; allows clocks to remain enabled to specific peripherals in stop3 mode 2.4.3 Clocks • Oscillator (XOSC) • Loop-controlled Pierce oscillator • Crystal or ceramic resonator range of 31.25 kHz to 39.0625 kHz or 4 MHz to 20 MHz • Internal clock source (ICS) • Internal clock source module containing a frequency-locked-loop (FLL) controlled by internal or external reference • Precision trimming of internal reference allowing 0.2% resolution • 1% deviation across temperature range of 0 °C to 70 °C and 1.5% deviation across temperature range of -40 °C to 105 °C • Up to 20 MHz 2.4.4 System protection • • • • • Window watchdog with independent clock source Low-voltage detection with reset or interrupt; selectable trip points Illegal Opcode Detection with reset Illegal address Detection with reset Programmable cyclic redundancy check 2.4.5 ACMP • One analog comparator (ACMP) with both positive and negative inputs • Separately selectable interrupt on rising and falling comparator output filtering 2.4.6 ADC • • • • • • • 16-channel, 12-bit resolution; 2.5 µs conversion time Data buffers with optional watermark Automatic compare function 1.7 mV/°C temperature sensor Internal bandgap reference channel Operation in stop Optional hardware trigger 2.4.7 FTM • Three flex timer modulators (FTM) modules including one 6-channel and two 2-channel ones • 16-bit counter; each channel can be configured for input capture MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 Freescale Semiconductor, Inc. 9 Development support • Output compare • Edge- or center-aligned PWM mode 2.4.8 IIC • • • • • One inter-integrated circuit module Up to 400 kbps Multi-master operation Programmable slave address Supporting broadcast mode and 10-bit addressing 2.4.9 MTIM Two modulo timers with 8-bit prescaler and overflow interrupt 2.4.10 RTC 16-bit real timer counter. 2.4.11 SCI • Three serial communications interface (SCI/ UART) modules optional 13-bit break • Full duplex non-return to zero (NRZ) • LIN extension support 2.4.12 SPI • One 8-bit and one 16-bit serial peripheral interface (SPI) modules • Full-duplex or single-wire bidirectional • Master or slave mode 2.4.13 TSI • • • • Support up to 16 external electrodes Configurable software or hardware scan trigger Fully support freescale touch sensing software library Capability to wake MCU from stop 3 mode 3 Development support • Single-wire background debug interface • Breakpoint capability to allow three breakpoint setting during in-circuit debugging • On-chip in-circuit emulator (ICE) debug module containing two comparators and nine trigger modes MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 10 Freescale Semiconductor, Inc. Revision history 4 Revision history The following table provides a revision history for this document. Table 3. Revision history Rev. No. Date 0 8/2011 1 9/19/2011 Substantial Changes Initial published. Updated block diagram figure, feature availability table, CPU feature, and system protection sections. MC9S08PT60 Series Family Product Brief, Rev. 1, 9/2011 Freescale Semiconductor, Inc. 11 How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 [email protected] Document Number: MC9S08PT60PB Rev. 1, 9/2011 Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductors products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes 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 liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claims alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-RoHS-complaint and/or non-Pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale's Environmental Products program, go to http://www.freescale.com/epp. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.