MC9S08SG32E1JTGR FREESCALE [Freescale Semiconductor, Inc], MC9S08SG32E1JTGR Datasheet - Page 239

no-image

MC9S08SG32E1JTGR

Manufacturer Part Number
MC9S08SG32E1JTGR
Description
HCS08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
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 MC9S08SG32 Series MCUs have two TPM modules.
Figure 16-1
16.1.1
The external clock for the MTIM module, TCLK, is selected by setting CLKS = 1:1 or 1:0 in MTIMCLK,
which selects the TCLK pin input. The TCLK input can be enabled as external clock inputs to both the
MTIM and TPM modules simultaneously.
.
16.1.2
The TPM modules pins, TPM1CHx and TPM2CHx can be repositioned under software control using
TxCHnPS bits in SOPT2 as shown in
Freescale Semiconductor
TxCHxPS in SOPT2
0 (default)
1
Introduction
TPM Configuration Information
TPM Pin Repositioning
shows the MC9S08SG32 Series block diagram with the TPM modules highlighted.
Port Pin for TPM2CH1
PTB4
PTA7
Table 16-1. TPM Position Options
Table
MC9S08SG32 Data Sheet, Rev. 7
Port Pin for TPM2CH0
Pins and Connections
16-1.
PTA1
PTA6
Port Pin for TPM1CH1
chapter for more information).
PTB5
PTC1
Port Pin for TPM1CH0
PTC0
PTA0
239

Related parts for MC9S08SG32E1JTGR