MC9S08GB32 Motorola, MC9S08GB32 Datasheet - Page 154
![no-image](/images/manufacturer_photos/0/4/459/motorola_sml.jpg)
MC9S08GB32
Manufacturer Part Number
MC9S08GB32
Description
Microcontrollers
Manufacturer
Motorola
Datasheet
1.MC9S08GB32.pdf
(290 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9S08GB32ACFUE
Manufacturer:
FREESCALE
Quantity:
319
Company:
Part Number:
MC9S08GB32ACFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GB32CFU
Manufacturer:
QFP
Quantity:
513
Company:
Part Number:
MC9S08GB32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GB32CFUE
Manufacturer:
QFP
Quantity:
672
Company:
Part Number:
MC9S08GB32CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S08GB32CFUE
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Company:
Part Number:
MC9S08GB32CFUER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
- Current page: 154 of 290
- Download datasheet (2Mb)
Timer/PWM (TPM) Module
counter (when operating in normal up-counting mode) provides the timing reference for the input capture,
output compare, and edge-aligned PWM functions. The timer counter modulo registers,
TPMxMODH:TPMxMODL, control the modulo value of the counter. (The values $0000 or $FFFF
effectively make the counter free running.) Software can read the counter value at any time without
affecting the counting sequence. Any write to either byte of the TPMxCNT counter resets the counter
regardless of the data value written.
All TPM channels are programmable independently as input capture, output compare, or buffered
edge-aligned PWM channels.
10.4
Table 10-1
clock input, the associated TPM channel 0 can not use the pin. (Channel 0 can still be used in output
compare mode as a software timer.) When any of the pins associated with the timer is configured as a timer
input, a passive pullup can be enabled. After reset, the TPM modules are disabled and all pins default to
general-purpose inputs with the passive pullups disabled.
10.4.1
When control bits CLKSB:CLKSA in the timer status and control register are set to 1:1, the prescaler and
consequently the 16-bit counter for TPMx are driven by an external clock source connected to the
TPMxCH0 pin. A synchronizer is needed between the external clock and the rest of the TPM. This
synchronizer is clocked by the bus clock so the frequency of the external source must be less than one-half
the frequency of the bus rate clock. The upper frequency limit for this external clock source is specified to
be one-fourth the bus frequency to conservatively accommodate duty cycle and phase-locked loop (PLL)
or frequency-locked loop (FLL) frequency jitter effects.
When the TPM is using the channel 0 pin for an external clock, the corresponding ELS0B:ELS0A control
bits should be set to 0:0 so channel 0 is not trying to use the same pin.
10.4.2
Each TPM channel is associated with an I/O pin on the MCU. The function of this pin depends on the
configuration of the channel. In some cases, no pin function is needed so the pin reverts to being controlled
by general-purpose I/O controls. When a timer has control of a port pin, the port data and data direction
registers do not affect the related pin(s). See the
about shared pin functions.
10.5
All TPM functions are associated with a main 16-bit counter that allows flexible selection of the clock
source and prescale divisor. A 16-bit modulo register also is associated with the main 16-bit counter in the
TPM. Each TPM channel is optionally associated with an MCU pin and a maskable interrupt function.
The TPM has center-aligned PWM capabilities controlled by the CPWMS control bit in TPMxSC. When
CPWMS is set to 1, timer counter TPMxCNT changes to an up-/down-counter and all channels in the
154
Pin Descriptions
Functional Description
shows the MCU pins related to the TPM modules. When TPMxCH0 is used as an external
External TPM Clock Sources
TPMxCHn — TPMx Channel n I/O Pins
MC9S08GB/GT Data Sheet, Rev. 2.3
Pins and Connections
chapter for additional information
Freescale Semiconductor
Related parts for MC9S08GB32
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MC1723L](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Motorola, Inc [VOLTAGE REGULATOR]
Manufacturer:
Motorola
Datasheet:
![3N204](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
3N2046367254 MOTOROLA SC (XSTRS/R F)
Manufacturer:
Motorola
Datasheet:
![MPC603PRX300LC](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
MOTOROLA POWERPC 603e MICROPROCESSOR
Manufacturer:
Motorola
![2N7002LT1G/ON](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Motorola Semiconductor Datasheet Library
Manufacturer:
Motorola
![MBRP30035](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SWITCHMODE Schottky Power Rectifier(POWERTAP III Package)
Manufacturer:
Motorola
Datasheet:
![MBRP20035L](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SWITCHMODE Schottky Power Rectifirer
Manufacturer:
Motorola
Datasheet:
![MHPM7A15A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MHPM7B15A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![TE53N50E](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Search -----> MTE53N50E
Manufacturer:
Motorola
Datasheet:
![MHPM7B20A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MHPM7B8A120A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MBRP20060](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SCHOTTKY BARRIER RECTIFIER 200 AMPERES 60 VOLT
Manufacturer:
Motorola
Datasheet:
![MJ10048](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
NPN SILICON POWER DARLINGTON TRANSISTOR
Manufacturer:
Motorola
Datasheet: