herunterladen

Freescale Semiconductor
Application Note
Document Number: AN4347
Rev. 0, 08/2011
Contents
© Freescale Semiconductor, Inc., 2011. All rights reserved.
Freescale’s S08PT family has the first S08 MCUs that
employ the 0.18 micron process, a new version of the
S08 CPU, and a new 5 V pad. This family also introduces
many new features for different peripheral modules.
With these new features, the S08PT family has lower
power consumption, better transient protection, and
better performance.
This application note outlines the product family
differences between S08AC/FL and S08PT families, and
provides recommendations for code conversion.
1 Flash and EEPROM
The flash memory is ideal for single-supply applications,
allowing for field reprogramming that does not require
external high voltage sources for program or erase
operations.
The S08PT family has both flash and EEPROM memory.
Flash memory size is device-dependent with a maximum
size of 64 KB. The EEPROM memory is 256 bytes. This
1 Flash and EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 ECC parity check. . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Clock gating. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Interrupt Priority Controller . . . . . . . . . . . . . . . . . . . . . . 13
4 S08 CPU V6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5 Enhanced code debug . . . . . . . . . . . . . . . . . . . . . . . . . 16
6 Pinout changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 Parallel I/O structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8 Safety feature enhancements . . . . . . . . . . . . . . . . . . . . 19
8.1 Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.2 Cyclic redundancy check. . . . . . . . . . . . . . . . . . . . 26
9 FlexTimer versus TPM . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.1 FTM clock source . . . . . . . . . . . . . . . . . . . . . . . . . 30
9.2 TPM-compatible functions . . . . . . . . . . . . . . . . . . . 31
9.3 FTM-specific functions. . . . . . . . . . . . . . . . . . . . . . 31
10 TSI addition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.1 TSI function description . . . . . . . . . . . . . . . . . . . . . 45
10.2 TSI applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
11 RTC and MTIM additions. . . . . . . . . . . . . . . . . . . . . . . . 48
11.1 Real time counter . . . . . . . . . . . . . . . . . . . . . . . . . 48
11.2 Modulo timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
12 16-bit SPI with queue addition. . . . . . . . . . . . . . . . . . . . 52
13 Analog-to-Digital Converter (ADC) . . . . . . . . . . . . . . . . 55
14 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
15 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Transitioning Applications from
S08AC and S08FL Family to
S08PT Family
by: Systems and Applications
Asia Pacific
Microcontroller Solutions Group
Verzeichnis