freescale powerpoint template - nxp semiconductors · • 1 acmp • 8pins with 20ma sink • 2pins...
TRANSCRIPT
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
1
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t
he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony
are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,
ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ
Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property
of their respective owners. © 2011 Freescale Semiconductor, Inc.
May 2012
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
2
• Introduction
• S08P Peripherals deep-dive
− S08P V6
− Flash and EEPROM
− FlexTimer
− ADC
− Watchdog Timer
− TSI
− ACMP
− SCI , SPI ,IIC
• CW IDE Setup
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
3
1-Embedded Microprocessor Benchmark
Consortium’s (EEMBC®) AutoBench™
2-First samples on the market in Q4’2010
32-bit
8-bit
16-bit
S08
PX
Motor drive
optimized
Performance
expansion into power
conversion
15-year
established
history
Improved
scalability &
robustness
Highest performance1
single- and dual-core
Multicore
Functional Safety
Advanced
communications
• Motor drive
• Inverters
• Power supplies
• Small appliances
• Lighting
• Battery chargers
• Multi-market
• Medical
• Metering
• Factory automation
• Military and
aerospace
Kinetis
ColdFire
First ARM Cortex-M4
in the industry2
Aggressive market
expansion
Low-power
optimization
• Consumer
• Smart grid
Scalable general
purpose MCU lineup
Target Applications Next Generation Current Portfolio
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
4
Pillars for 5V S08P Family
... Building the Industry’s Most Trusted MCU Solutions
Robust and Reliable: industry leading EFT/ESD performance for
harsh environment and safety compliance with IEC-60730
Cost Effective: chose between bare bone PL class or the full
featured PT/PA class; reduce BOM cost with integrated EEPROM,
precision oscillator, high current IO and low Cost OSBDM; smart
pinout enables cheap single-side PCBs
Easy-to-Use: speed time to market and reduce R&D expenses with
C-friendly increased RAM/Flash ratio, simple yet powerful S08 core;
streamlined documentation; CodeWarrior support and Processor-
Expert initialization tool
Scalable & Compatible: Easy migration from existing S08
product with common core, IP and tools; consistent pinout across a
2K-60KB portfolio with a large choice of package options
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
5
S08P
Fe
atu
res
& P
erf
orm
an
ce
• Bare Bone Family
• 10Mhz
• 4KB RAM; 256B EEPROM
• Abundant GPIO
• 16ch 8bit ADC
• 6ch + 2ch FTM
• 2 x UART
• 2pins with true open drain
• 4.5V~5.5V / -40c ~ 85c
• Full-featured
• 20Mhz
• 4KB RAM; 256B EEPROM
• 3 x UART; 2 x SPI; IIC
• 6ch + 2ch + 2ch FTM; 2 x MTIM
• RTC; CRC
• 16ch 12bit ADC with 4 entry Buffer registers
• 1 ACMP
• 8pins with 20mA Sink
• 2pins with true open drain
• 2.7V~5.5V / -40c ~ 105c
• 16-TSI for touch-sensing on PT
PL
PT
Features on superset Typical Applications
Low-end
e-meter
Small
Appliances
Large
Appliances
Lighting
Control
Off-Line UPS Keypads
Power
Tools
Battery
Charger
Smart Circuit
Breaker
Class
Electric Motor
HVAC
PA
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
6
64LQFP (0.5mm pitch); 64QFP (0.8mm pitch);
44LQFP (0.8mm pitch); 32LQFP (0.8mm pitch);
48LQFP (0.5mm pitch); 48QFN
GPIO Slew Rate as S08
Passive Filter on GPIO
Digital Filter for selectable pins
2.7V ~ 5.5V / -40~105°C operation
Peripheral Bus (20MHz)
Analog Interfaces 16ch 8bit-12bit ADC
with 8 FIFO
Serial Interfaces
3 x SCI (LIN capable)
I/O Ports Up to 57
GPIO mux’d
on all pins
Timers & Triggers
6ch + 2ch + 2ch
16-bit Flex Timer
2 x MTIM
Power Management
Power On
Reset
Low Voltage
Detector
Single 2.7-5.5V Power Supply
System
Flash
60/32KB
RAM
4KB
Bi-directional
Reset Pin
Clock Management
High Speed
Ext Osc (4-
20MHz)
Low Speed Ext
Osc
32.768KHz)
Internal
R/C OSC
(~32KHz)
FLL
Clock Multiplier
DBG/
BDM
WDOG w/ ind clock
256B
EEPROM
CRC
1 x 16bit SPI
1 x IIC
16 pin KBI
16-bit Real Time Counter
1 x 8bit SPI
IRQ
2 pins True
Open-Drain
8 pins 20mA
sink/source
1 x ACMP
16-ch TSI
S08
10-20MHz
All Px Features
Available on:
PT/A
Only
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
7
44LQFP, 32LQFP GPIO Slew Rate as S08
Passive Filter on GPIO
Digital Filter for selectable pins
2.7V ~ 5.5V / -40~105°C operation
20SOIC; 20TSSOP,
16TSSOP
Peripheral Bus (20MHz)
Analog Interfaces Serial Interfaces
2 x SCI (LIN capable)
I/O Ports
Up to 37
GPIO
Timers & Triggers
6ch + 2ch
16-bit Flex Timer
1 x 8bit MTIM
Power Management
Power On
Reset
Low Voltage
Detector
Single 2.7-5.5V Power Supply
System
S08
10-20MHz
Flash
16/8KB
RAM
2KB
Bi-directional
Reset Pin
Clock Management
High Speed
Ext Osc (4-
20MHz)
Low Speed Ext
Osc
32.768KHz)
Internal
R/C OSC
(~32KHz)
FLL
Clock
Multiplier
DBG/
BDM
WDOG w/ ind clock
256B
EEPROM
CRC
1 x IIC
8 pin KBI
16-bit Real Time Counter
1 x 8bit SPI
IRQ
2 pins True
Open-Drain
4 pins 20mA
sink/source
1 x ACMP
16-ch TSI
12ch 8bit-12bit ADC
with 8 FIFO
All Px Features
Available on:
PT/A
Only
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
8
GPIO Slew Rate as S08
Passive Filter on GPIO
Digital Filter for selectable pins
2.7V ~ 5.5V / -40~105°C operation
20SOIC; 20TSSOP
16TSSOP,
8 SOIC, 8DFN
Peripheral Bus (20MHz)
Analog Interfaces Serial Interfaces
1 x SCI (LIN capable)
I/O Ports
Up to 18
GPIO
Timers & Triggers
2+2 ch
16-bit Flex Timer
Power Management
Power On
Reset
Low Voltage
Detector
Single 2.7-5.5V Power Supply
System
S08
10-20MHz
Flash
4/2KB
RAM
512B
Bi-directional
Reset Pin
Clock Management High Speed
Ext Osc (4-
20MHz)
Low Speed Ext
Osc
32.768KHz)
Internal
R/C OSC
(~32KHz)
FLL
Clock Multiplier
DBG/
BDM
WDOG w/ ind clock
128B
EEPROM
CRC
4 pin KBI
16bit Real Time Counter IRQ
2 pins 20mA
sink/source
1 x ACMP
8ch 8bit-12bit ADC
with 8 FIFO
All Px Features
Available on:
PA
Only
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
9
8 pin
SOIC
DFN
16 pin
TSSOP
32 pin
LQFP
44 pin
LQFP
48 pin
LQFP
QFN
64 pin
LQFP
QFP
20 pin
SOIC
TSSOP
Pin
Compatible
Ap
plic
atio
n P
erf
orm
an
ce
/ In
teg
ratio
n
S08PT60
S08PA60
S08PL60
S08PT32
S08PA32
S08PL32
S08PT60
S08PA60
S08PL60
S08PT32
S08PA32
S08PL32
S08PT60
S08PA60
S08PL60
S08PT32
S08PA32
S08PL32
S08PT60
S08PA60
S08PL60
S08PT32
S08PA32
S08PL32
S08PT16
S08PA16
S08PL16
S08PT16
S08PA16
S08PL16
S08PT16
S08PA16
S08PL16
S08PT8
S08PA8
S08PL8
S08PT8
S08PA8
S08PL8
S08PT8
S08PA8
S08PL8
S08PA4
S08PL4
S08PA4
S08PL4
S08PA4
S08PL4
S08PA2
S08PL2
Full Featured
with TSI
Full Featured
without TSI
Feature-Lite
S08PT16
S08PA16
S08PL16
S08PT8
S08PA8
S08PL8
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
10
Ap
plic
atio
n P
erf
orm
an
ce
/ In
teg
ratio
n
RS08KA8 RS08 Core; No Interrupt
1KB to 8KB; Ultra Low Cost
2010 2011 Available Now
S08SV/FL16 S08 Core; 8KB to 16KB
IPC; 30GPIO
RS08KB12 RS08 Core (enhanced)
2KB to 12KB
S08QD4 S08 Core; 2KB to 4KB
S08SE8 S08 Core; 4KB to 8KB;
10ch ADC; Ganged Output
S08SH8 S08 Core; 4KB to 8KB;
ACMP; SCI; SPI; IIC
S08AC16 S08 Core; 8KB to 16KB;
3TPM; 2SCI; 2SPI; IIC
S08SH32 S08 Core; 16KB to 32KB;
16pin to 28pin
S08AC60 S08 Core; 32KB to 60KB;
32pin to 64pin
S08Px60/32 60KB to 32KB; 4K RAM; 256B
EEPROM; 3UART; 2SPI; IIC
16ch 12bit ADC with 4 Buffer;
3 FTM; RTC; 64pin to 32pin
S08Px16/8 16KB to 8KB; 2K RAM; 256B
EEPROM; UART; SPI
FTM; 32pin to 16pin
S08Px 4/2 4KB to 2KB; 256B EEPROM
20pin to 8pin
Ease of Use
Lower Cost
Robustness & Reliability
S08MP16 S08 Core; 12KB to 16KB;
2FTM; PGA; HSCMP; DAC
New
Existing 0.25u
Next Node
Legend
Code & Pin
Compatibility
Code & Pin
Compatibility
S08L Core
2.7V~5.5V
S08 Core
2.7V~5.5V
RS08 Core
2.7V~5.5V
S08AC128 S08 Core; 96KB to 128KB;
44pin to 80pin
2012
Entry Level 32bit
China State Grid E-Metering
Large Appliance
Final feature depends
portfolio optimization
Final feature depends
portfolio optimization
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
11
• Memory Combination:
− Increased Flash/RAM ratio (4KB RAM in Px60): Easy for C-Coding
− On-chip EEPROM with 500K~1M write/erase cycle: Simplify the system design for data logging and recording
• Robust GPIO & High Drive Capability:
− Up to 58 GPIO with filtering in 64pin: simplify external circuit design
− Up to 8 pins with 20mA sink drive capability: save external components for high current drive like TRIAC and LED
− 2 pins with True Open-Drain: provide design flexibility for different voltage level
• 16ch 12bit SAR ADC:
− Linear successive approximation algorithm with up to 12-bit resolution
− Up to 16-ch single-ended external analog inputs
− 12-bit, 10-bit, and 8-bit modes, 8-deep result FIFO
− Single or continuous conversion (automatic return to idle after single conversion)
• 16ch Touch-Sensing Interface on PT
− Dedicated hardware module to sense touch-input, minimum software intervention
− Functional in all power modes - run, wait & low-power stop. Wake-up capable from stop
− Designed for harsh environment operation with high sensitivity
− Highly configurable through HW & SW
• Feature-Rich integration:
− 6ch + 2ch + 2ch Flex Timer; 2 x MTIM
− Real Time Counter: helpful for any task scheduling functions
− 3 x SCI; 2 x SPI; IIC
− Enhanced Watch-dog and prog-CRC to meet IEC60730
− High accuracy internal clock to eliminate external clock source
AD Engine
ADR0
ADR1
ADR6
ADR7
Interrupt when four AD
conversion results got
…
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
12
The module’s key features are:
• Up to 16 electrodes, using a single pin per electrode, with no need for an external component
• Functional in all low-power modes, waking the CPU only in electrode capacitance variations
• Low-power mode current consumption adder can be as low as 1 uA
• Capacitance measurement resolution down to 0.02fF
• Electrode sampling integration, oscillator voltage level configuration and fault detection for high robustness
• Periodic electrode scan mode requires no additional MCU peripheral.
Hardware Touch Sense Interface (TSI): Key Features
The Touch Sensing Input (TSI) Module provides capacitive touch sensing detection
with High Sensitivity, Enhanced Robustness and Extreme Low Power
performance.
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
13
Part number Flash RAM EE GPIO TSI ADC Max Fbus Temp Package Options
MC9S08PT60
60KB 4KB 256B 28-57
√ 12bit 20MHz -40 ~ 105C 64-LQFP/QFP, 48-LQFP/QFN,
44-LQFP, 32-LQFP MC9S08PA60
- MC9S08PL60 8bit 10MHz -40 ~ 85C
MC9S08PT32
32KB 4KB 256B 28-57
√ 12bit 20MHz -40 ~ 105C 64-LQFP/QFP, 48-LQFP/QFN,
44-LQFP, 32-LQFP MC9S08PA32
- MC9S08PL32 8bit 10MHz -40 ~ 85C
MC9S08PT16
16KB 2KB 256B 14-37
√ 12bit 20MHz -40 ~ 105C 44-LQFP, 32-LQFP,
20-TSSOP/SOIC, 16-TSSOP MC9S08PA16
- MC9S08PL16 8bit 10MHz -40 ~ 85C
MC9S08PT8
8KB 2KB 256B 14-37
√ 12bit 20MHz -40 ~ 105C 44-LQFP, 32-LQFP,
20-TSSOP/SOIC, 16-TSSOP MC9S08PA8
- MC9S08PL8 8bit 10MHz -40 ~ 85C
MC9S08PA4 4KB 512B 128B 6-18 -
12bit 20MHz -40 ~ 105C 20-TSSOP/SOIC, 16-TSSOP, 8-SOIC/DFN MC9S08PL4 8bit 10MHz -40 ~ 85C
MC9S08PA2 2KB 512B 128B 6 -
12bit 20MHz -40 ~ 105C 8-SOIC/DFN
MC9S08PL2 8bit 10MHz -40 ~ 85C
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
14
• TWR-S08PT60 (Expected Q4 2011) / TWR-S08RN60 (Expected Q1 2012)
− MCU card only
− Includes Quick Start Guide and labs
− Integrated USB open-source debugger
− Demo board can be powered by the USB circuit
− Integrated touch sensing reference design
• TWR-S08PT60-KIT (Expected Q4 2011)
− Elevators, supporting peripheral module, MC9S08PT60 MCU card
− Tower Kit for S08RN60 (automotive) to follow early 2012
• TWR-S08RN60-KIT (Expected Q1 2012)
− Elevators, supporting peripheral module, MC9S08RN60 MCU card
• CodeWarrior Development Studio for Microcontrollers v10.x − Complimentary Special Edition with compiler sizes up to 60K
− Single tool suite that supports software development for future migration
opportunities for both 8-bit or 32-bit and includes Processor Expert Software, a rapid
application development tool
• IAR Embedded Workbench support for S08
Online training, webcast, technical documentation and application notes available at
www.freescale.com/S08P and www.freescale.com/S08RN
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
15
• TWR-S08UNIV : Tower module can be
used in stand-alone mode or in
conjunction with Tower System
• TWR-S08DC-xxxx : Switch between
any of the 6 currently available daughter
cards …
TWR-RS08DC-KA8 TWR-S08DC-QE64
TWR-S08DC-AC60 TWR-S08DC-QG8
TWR-S08DC-QD4 TWR-S08DC-SH8
More to come!
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
16
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t
he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony
are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,
ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ
Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property
of their respective owners. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
17
• • Automotive proven mature process technology with flash reliability
• • New 5V I/O pad optimized for high performance of EMC
All GPIOs with analog and digital filters
Adjacent power and ground
Sink/source up to 20mA current
• • New low power S08 core, up to 20MHz
• • New FLASH and EEPROM
• • Motor control and power conversion FlexTimer
• • 64-bit FIFO SPI supporting real time communication
• • RTC with independent clock source
• • IEC60730 compliant watchdog
• • CRC supporting standard CRC-16/32
• • ADC with 8-entry FIFO up to 12-bit resolution
• • Touch Sense Input able to wake up MCU from stop mode
• • Analog Comparator with configurable hysteresis and 6b DAC w/ selectable vref
• • IIC compatible with SMBus
• • DBG/BDC supporting 3 hardware breakpoints
• • Illegal address capture and reset generation on illegal address and opcode
• • 4 levels of hardware interrupt nesting
• • Low voltage detection and interrupt
• • 8 bytes UUID and gated peripheral clocks
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
18
Flash memory
64-bit security and backdoor key
Automated program and erase algorithm with verify
− Fast sector erase (sector size = 512B) and
longword (32-bit) program operation
− Flexible protection scheme to prevent accidental
program or erase of flash memory
Accessible 64-byte in hidden non-volatile
information block
Ability to set flash read margin levels
EEPROM
− Single-bit fault correction and double-bit fault
detection within a word during read operations
− Automated program and erase algorithm with
verification and generation of ECC parity bits
− Fast sector erase (sector size = 2B) and byte
program operation
− Protection scheme to prevent accidental program
or erase of EEPROM memory
− Ability to program up to four bytes in a burst
sequence
− Ability to set EEPROM read margin levels
− 500K program/erase cycles
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
19
Optimized for motor control and power conversion applications
Generation of independent, complementary and asymmetric
PWM
hardware dead time insertion
rich PWM synchronization scheme and fault
rich PWM synchronization scheme and fault protection
PWM output masking and polarity control
Enhanced triggering functionality (channel match trigger and
init trigger)
Dual edge capture
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
20
Complementary PWM
Channel <n> controls first
edge of PWM, while <n+1> controls
2nd PWM edge
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
21
Complementary PWM
Channel <n> controls first
edge of PWM, while <n+1> controls
2nd PWM edge
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
22
Deadtime insertion
• Deadtime insertion on either rising edge or falling edge
• Counter clock derived from 1/4/16 system clocks
• Count from 1 to 63
• Dead time from 1 to 1008 system clocks ( 0.05 to 50.4us @20MHz )
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
23
PWM synchronize with ADC
PWM trigger signal controlled by 8-bit programmable delay block before triggering ADC conversion
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
24
PWM Synchronize with ADC
− ADC sampling helps to filter the measured current – anti-aliasing
− noise free sampling possible when the switch is inactive
− Conversion at the point when the shunt resistor signal is available
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
25
− Channel outputs are forced to a safe value when a fault is detected
• Up to 4 fault control input pins with fault filters able to filter glitches of 15
system clocks wide
• Manual fault clearing (output re-enabled only when Fault flag cleared by s/w)
and automatic fault clearing (output re-enabled when fault input returns to 0)
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
26
− One-shot or continuous mode
• Pulse width measurement
• Period measurement
• Input Filter
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
27
Linear Successive Approximation algorithm with 8-, 10-, or 12-bit resolution
Up to 8 external analog inputs, external pin inputs, and 5 internal analog inputs including internal
bandgap, temperature sensor, and references
Single or Continuous Conversion (automatic return to idle after single conversion)
Operation in wait or stop3 modes for lower noise operation
Automatic compare with interrupt for less-than, or greater-than or equal-to programmable value
8-entry channel FIFO and result FIFO to minimize the CPU overhead
• Configurable FIFO depth from 2 to 8 entries as FIFO full condition
• When channel FIFO is full:
• For software trigger mode
- Immediately start the first channel conversion, after the previous conversion completes, start
the next conversion until the conversion of the last channel in FIFO depth completed, set
conversion complete COCO flag
• For hardware trigger mode
− When the first trigger occurs, start the first conversion, after previous conversion completes
and when the next trigger occurs, start the next conversion until all channels in FIFO depth
completes conversion, then set conversion complete COCO flag
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
28
FIFO scan mode
− Always use the first dummied channel in spite of the value in the input channel FIFO to simplify
the dummy work of input channel FIFO
− ADC conversion start to work in FIFO mode as soon as the first channel is dummied; when the
previous conversion is completed, start the next conversion until the result FIFO is full and then set
conversion complete COCO flag
− In continuous conversion in which the ADC_SC1[ADCO] bit is set, the ADC starts next round of
conversion immediately when all conversions are completed.
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
29
ADC hardware trigger selection
• For S08PT60, RTC overflow/ MTIM0 overflow/FTM2 trigger (match trigger or initialization trigger)
with 8-bit programmable delay
• For other devices, refer to device reference manual
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
30
capacitive touch sensing detection with high
sensitivity and enhanced robustness
Up to 16 electrodes, using a single pin per electrode,
with individual result registers
No need for external components
Capacitive touch sensing detection across all low -
power modes – able to wake MCU from stop- modes
Capacitance measurement resolution down to 0.02pf
Selectable internal reference (10MHz) or external
reference (20MHz)
Configurable software or hardware scan trigger
(RTC overflow)
Compensate for temperature and supply voltage
variations
Fully support Freescale touch sensing software (TSS)
library for
− button, keyboards, sliders, and rotaries
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
31
Freescale provides the complete Touch Solution by seamless integration of the Touch Sensing Module (TSI) in the Freescale Touch Sensing Library.
While the TSI Module provides robust, precise electrode capacitance measurement, the library allows easy implementation of sliders, rotaries and keypads. Keeps flexibility to adjust very specific application requirements.
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
32
Compliant with IEC60730 safety standard
Independent clock source
• Internal 32 kHz RC oscillator
• internal1 kHz RC oscillator
• External clock
16-bit Programmable timeout period with optional fixed 256 clock prescaler when longer timeout periods are needed
Robust write sequence for counter refresh
Refresh sequence of writing 0xA602 and then 0xB480 MUST be within 16 bus clocks
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
33
Window mode option for the refresh mechanism
− Programmable 16-bit window value
− Provides robust check that program flow is
faster than expected
− Early refresh attempts trigger a reset
Robust write sequence for unlocking write-once
configuration bits
− Configuration bits and registers are write-
once-after-reset, to ensure watchdog
configuration cannot be mistakenly altered
− Unlock sequence of writing 0xC520 and then
0xD928 within 16 bus clocks for allowing
updates to write-once configuration bits
• Flexible test mode enabling fast testing
watchdog in the safety environment (either
high 8-bit counter or lower 8-bit counter for
comparison)
• Backup reset to prevent hardware lockup
condition driven by bus clock
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
34
16/32-bit CRC code for errordetection
Programmable 16/32-bit initial seed value
Programmable 16/32-bit polynomial
Reverse input and output data by bit in a byte (no byte reverse)
Final complement output of result
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
35
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
36
Support LIN protocol
Double-buffered transmitter and receiver with separate enables
Full-duplex, standard non-return-to-zero (NRZ) format
Programmable 13-bit baud rates
Interrupt-driven or polled operation
− Transmit data register empty and
− Transmit data register empty and transmission complete
− Receive data register full
− Receive overrun, parity error, framing error, and noise error
− Idle receiver detect
− Active edge on receive pin
− Break detect supporting LIN
Hardware parity generation and checking
Programmable 8-bit or 9-bit character length
Two wakeup mode:
idle-line
address-mark
Optional 13-bit break character generation / 11-
bit break character detection
Configurable transmitter output polarity
Input can be from ACMP
Output can be modulated by FTM
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
37
For 16-bit SPI, new features:
• 64-bit FIFO mode with level watermark for high speed/large amounts of data transfers
• Hardware match feature for receive data
• Programmable 8- or 16-bit data transmission length
For both 16-bit and 8-bit SPI, traditional features:
• Master mode or slave mode operation
• Master mode or slave mode operation
• Full-duplex or single-wire bidirectional mode
• Programmable transmit bit rate
• Double-buffered transmit and receive data register
• Serial clock phase and polarity options
• Slave select output
• Mode fault error flag with CPU interrupt capability
• Control of SPI operation during wait mode
• Selectable MSB-first or LSB-first shifting
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
38
• 16-bit SPI FIFO
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
39
16-bit up-counter and 16-bit modulo match register
Software controllable periodic interrupt on match
Selectable clock sources for input to prescaler
• External clock: XOSC
• LPO (~1 kHz)
• Bus clock
programmable 16 bit prescaler can be binary-based or decimal-based
• 1,2,4,8,16,32,64,128,256,512,1024,2048,100,1000
Can work in stop mode to wake up MCU
RTC overflow signal can trigger to ADC and TSI (only on S08PT)
RTC overflow can toggle output on pin RTCO (only on S08PT)
8-bit up-counter
• Free-running or 8-bit modulo limit
• Software controllable interrupt on overflow
• Counter reset bit(TRST)
• Counter stop bit(TSTP)
4 clock sources for input to prescaler:
• 4 clock sources for input to prescaler:
• System bus clock – rising edge
• Fixed clock(XCLK)- rising edge
• External clock source on TCLK pin – rising edge
9 selectable prescalers:
• 1, 2,4,8,16,32,64,128 or 256
MTIM overflow can trigger ADC
Real Time Counter (RTC) Modulo Timer (MTIM)
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
40
Compatible with The I2C-Bus Specification and SMBus spec version 2
• Slave address can be 7-bit or 10-bit
• Support general call recognition, alert response and so on
• Programmable bus low and high timeout
• Bit rate up to 100kbps at maximum bus loading
Multimaster operation
Software programmable for one of 64 different serial clock frequencies
5-bit glitch input filter
Range slave address recognition
Automatic switch to slave mode when bus arbitration lost and interrupt generation
Calling address identification interrupt
Bus busy detection
Low power mode wakeup on slave address match
Acknowledge bit generation and detection
START and STOP signal generation and detection
Repeated START signal generation and detection
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
41
Software Tools
• CW10.2 with PT60 service pack
• ProcessorExpert
• Software Driver (SSD) for Flash and EEPROM
in S08PTxx
Hardware Tools
• TWR-S08PT60
• TWR-S08PT60-KIT (TWR-S08PT60 + TWR-
PROTO+TWR-ELEV)
• TWR-S08DC-PT60 ( can work with TWR-
S08UNIV)
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
42
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t
he Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony
are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,
ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, Processor Expert, QorIQ
Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks
of Freescale Semiconductor, Inc. All other product or service names are the property
of their respective owners. © 2011 Freescale Semiconductor, Inc.
November 2011
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
43
Go to:
http://www.freescale.com/CodeWarrior
Download the last Free Special Edition version and updates
patches. For the lab today, the needed files are:
- Special Edition: CodeWarrior for Microcontrollers 10.2 (Eclipse, Windows hosted)
(Or Linux)
- MCU 10.2 Update 1.0.0 (Win) (Or Linux)
Install CodeWarrior 10.2 normally.
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
44
• Click on Help -> Install New Software
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
45
• Click on ADD
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
46
• Click on Archive
• Then select the patch file and press OK
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
47
• Select the Patch to be applied.Unselect the option “Contact all update sites during install to find required software” and click on Next
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
48
• Click on Next
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
49
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
50
• Wait a while…
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
51
After finish, restart the IDE and it’s done!
Select all the certificates as trustables. And click ok
TM
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore
and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a
Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
52
Q&A
TM