Z8F0812SJ020EC Zilog, Z8F0812SJ020EC Datasheet - Page 86

IC ENCORE MCU FLASH 8K 28SOIC

Z8F0812SJ020EC

Manufacturer Part Number
Z8F0812SJ020EC
Description
IC ENCORE MCU FLASH 8K 28SOIC
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F0812SJ020EC

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
19
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Other names
269-3228
PS022517-0508
4. If required, enable the timer interrupt and set the timer interrupt priority by writing to
5. Configure the associated GPIO port pin for the Timer Input alternate function.
6. If using the Timer Output function, configure the associated GPIO port pin for the
7. Write to the Timer Control Register to enable the timer.
In COUNTER mode, the number of Timer Input transitions since the timer start is given
by the following equation:
PWM Mode
In PWM mode, the timer outputs a Pulse-Width Modulator output signal through a GPIO
port pin. The timer input is the system clock. The timer first counts up to the 16-bit PWM
match value stored in the Timer PWM High and Low Byte Registers. When the timer
count value matches the PWM value, the Timer Output toggles. The timer continues
counting until it reaches the Reload value stored in the Timer Reload High and Low Byte
registers. Upon reaching the Reload value, the timer generates an interrupt, the count
value in the Timer High and Low Byte Registers is reset to
If the
a High (1) and then transitions to a Low (0) when the timer value matches the PWM value.
The Timer Output signal returns to a High (1) after the timer reaches the Reload value and
is reset to
If the
a Low (0) and then transitions to a High (1) when the timer value matches the PWM value.
The Timer Output signal returns to a Low (0) after the timer reaches the Reload value and
is reset to
Follow the steps below for configuring a timer for PWM mode and initiating the PWM
operation:
1. Write to the Timer Control Register to:
2. Write to the Timer High and Low Byte Registers to set the starting count value
COUNTER Mode Timer Input Transitions
the relevant interrupt registers.
Timer Output alternate function.
(typically
reset in PWM mode, counting always begins at the reset value of
TPOL
TPOL
Disable the timer
Configure the timer for PWM mode.
Set the prescale value.
Set the initial logic level (High or Low) and PWM High/Low transition for the
Timer Output alternate function.
0001H
0001H
bit in the Timer Control Register is set to 1, the Timer Output signal begins as
bit in the Timer Control Register is set to 0, the Timer Output signal begins as
0001H
.
.
). This only affects the first pass in PWM mode. After the first timer
=
Current Count Value Start Value
Z8 Encore! XP
0001H
Product Specification
and counting resumes.
0001H
®
F0822 Series
.
Timers
73

Related parts for Z8F0812SJ020EC