Timers; Flextimer Module (Ftm) - Freescale Semiconductor MC9S08PT60 Reference Manual

Table of Contents

Advertisement

9.8

Timers

9.8.1 FlexTimer module (FTM)

The FlexTimer module is an up to six-channel timer that supports input capture, output
compare, and the generation of PWM signals to control electric motor and power
management applications. FTM time reference is a 16-bit counter that can be used as an
unsigned or signed counter.
This MCU contains up to three FTM modules with one 6-channel FTM and two 2-
channel FTMs. FTM0 and FTM1, each of which has two independent channels, are fully
compatible to the TPM. FTM2, which has six channels, is backward compatible to the
TPM for simple configuration and operation, and features hardware deadtime insertion,
pairs with complementary outputs, generation of triggers, and fault inputs.
Each FTM module has independent external clock input. The following table summarizes
the external signals of FTM modules.
FTM
FTM0
FTM1
FTM2
The following figure shows the device block diagram highlighting FTM modules and
pins.
Freescale Semiconductor, Inc.
Table 9-1. FTM module external signals
Functions
channel 0
channel 1
alternate clock
channel 0
channel 1
alternate clock
channel 0
channel 1
channel 2
channel 3
channel 4
channel 5
fault 1
fault 2
alternate clock
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Chapter 9 Chip configurations
Default
PTA0/FTM0CH0
PTA1/FTM0CH1
PTA5/TCLK0
PTC4/FTM1CH0
PTC5/FTM1CH1
PTE0/TCLK1
PTC0/FTM2CH0
PTC1/FTM2CH1
PTC2/FTM2CH2
PTC3/FTM2CH3
PTB4/FTM2CH4
PTB5/FTM2CH5
PTA6/FTM2FAULT1
PTA7/FTM2FAULT2
PTE7/TCLK2
Alternate
PTH0/FTM2CH0
PTH1/FTM2CH1
PTD0/FTM2CH2
PTD1/FTM2CH3
235

Advertisement

Table of Contents
loading

Table of Contents