mc9s08sg4 Freescale Semiconductor, Inc, mc9s08sg4 Datasheet - Page 233

no-image

mc9s08sg4

Manufacturer Part Number
mc9s08sg4
Description
8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08sg4MTJG
Manufacturer:
FREESCALE
Quantity:
20 000
Chapter 16
Timer Pulse-Width Modulator (S08TPMV3)
16.1
The TPM uses one input/output (I/O) pin per channel, TPMxCHn where x is the TPM number (for
example, 1 or 2) and n is the channel number (for example, 0–1). The TPM shares its I/O pins with
general-purpose I/O port pins (refer to the
All MC9S08SG8 MCUs have two TPM modules. The number of channels available depends on the pin
quantity of the package, as shown in
Figure 16-1
16.1.1
The ACMP module can be configured to connect the output of the analog comparator to TPM1 input
capture channel 0 by setting ACIC in SOPT2. With ACIC set, the TPM1CH0 pin is not available externally
regardless of the configuration of the TPM1 module for channel 0.
16.1.2
The external clock for the TPM modules, TPMCLK, is selected by setting CLKS[B:A] = 1:1 in TPMxSC,
which selects the TCLK pin input. The TCLK input on PTA0 can be enabled as external clock inputs to
both TPM modules and MTIM simultaneously.
Freescale Semiconductor
Introduction
ACMP/TPM Configuration Information
TPM Configuration Information
shows the MC9S08SG8 block diagram with the TPM modules highlighted.
Table 16-1. MC9S08SG8 Features by MCU and Package
1
Pin quantity
TPM1 channels
TPM2 channels
The 8-pin device does not have TPM1CH1 or TPM2CH1
bonded out, but those timer channels are available to the
user to use as software compares.
MC9S08SG8 MCU Series Data Sheet, Rev. 3
Feature
Table 16-1
Pins and Connections
:
20
2
2
MC9S08SG8/4
16
2
2
chapter for more information).
1
1
8
1
1
233

Related parts for mc9s08sg4