Z8FMC04100 ZILOG [Zilog, Inc.], Z8FMC04100 Datasheet - Page 120

no-image

Z8FMC04100

Manufacturer Part Number
Z8FMC04100
Description
Z8 Encore-R Motor Control Flash MCUs
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
245
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100QKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100QKSG
Manufacturer:
Zilog
Quantity:
979
98
Z8 Encore!
Product Specification
General-Purpose Timer
®
Motor Control Flash MCUs
The Timer Output signal begins with a value equal to
when the timer value matches the PWM value. The Timer Output signal returns to
after the timer reaches the reload value, and is reset to
In PWM DUAL OUTPUT mode, the timer also generates a second PWM output signal,
Timer Output Complement (T
field) to delay (0–128 system clock cycles) the Low to a High (inactive to active) output
transitions on these two pins. This configuration ensures a time gap between the deasser-
tion of one PWM output to the assertion of its complement.
The steps for configuring a timer for either PWM SINGLE or DUAL OUTPUT mode and
initiating PWM operation are as follows:
1. Write to the Timer Control registers to:
2. Write to the Timer High and Low Byte registers to set the starting count value (typi-
3. Write to the PWM High and Low Byte registers to set the PWM value.
4. Write to the Timer Reload High and Low Byte registers to set the reload value (PWM
5. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
6. Configure the associated GPIO port pin(s) for the Timer Output alternate function.
7. Write to the Timer Control 1 Register to enable the timer and initiate counting.
The PWM period is determined by the following equation:
If an initial starting value other than
registers, use the ONE-SHOT mode equation to determine the first PWM time-out period.
PWM Period(s) =
a. Disable the timer.
b. Configure the timer for the selected PWM mode.
c. Set the prescale value.
d. Set the initial logic level (High or Low) and PWM High/Low transition for the
e. Set the deadband delay (DUAL OUTPUT mode) with the
cally
the first timer reset in PWM mode, counting begins at the reset value of
period). The reload value must be greater than the PWM value.
to the relevant interrupt registers.
Timer Output alternate function with the
0001h
). The starting count value only affects the first pass in PWM mode. After
System Clock Frequency (Hz)
Reload Value x Prescaler
P R E L I M I N A R Y
OUT
). A programmable deadband can be configured (
0001h
is loaded into the Timer High and Low Byte
TPOL
TPOL
0001h
bit.
and then transitions to
.
PWMD
field.
PS024604-1005
0001h
TPOL
TPOL
.
PWMD

Related parts for Z8FMC04100