Z8F0223SJ005EG Zilog, Z8F0223SJ005EG Datasheet - Page 82

IC ENCORE MCU FLASH 2K 28SOIC

Z8F0223SJ005EG

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

Specifications of Z8F0223SJ005EG

Core Processor
Z8
Core Size
8-Bit
Speed
5MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
269-4082
Z8F0223SJ005EG
PS024314-0308
PWM SINGLE OUTPUT Mode
In PWM SINGLE OUTPUT mode, the timer outputs a PWM 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 TPOL bit in the Timer Control register is set to 1, the Timer Output signal begins as
a High (1) and 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 TPOL bit in the Timer Control register is set to 0, the Timer Output signal begins as
a Low (0) and 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 Single Output mode and initiat-
ing 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
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 for the Timer Output alternate function.
7. Write to the Timer Control register to enable the timer and initiate counting.
The PWM period is represented by the following equation:
(typically
reset in PWM mode, counting always begins at the reset value of
period). The Reload value must be greater than the PWM value.
to the relevant interrupt registers.
PWM Period (s)
0001H
0001H
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
.
.
). This only affects the first pass in PWM mode. After the first timer
=
----------------------------------------------------------------------- -
System Clock Frequency (Hz)
Reload Value Prescale
×
Z8 Encore! XP
0001H
Product Specification
and counting resumes.
0001H
®
F0823 Series
.
Timers
72

Related parts for Z8F0223SJ005EG