Z8F042AHH020EG Zilog, Z8F042AHH020EG Datasheet - Page 171

IC ENCORE XP MCU FLASH 4K 20SSOP

Z8F042AHH020EG

Manufacturer Part Number
Z8F042AHH020EG
Description
IC ENCORE XP MCU FLASH 4K 20SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F042AHH020EG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, LVD, POR, PWM, Temp Sensor, WDT
Number Of I /o
17
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4156
Z8F042AHH020EG
PS022517-0508
Page Erase
Mass Erase
Flash Controller Bypass
5. Re-write the page written in
6. Write Flash Memory using LDC or LDCI instructions to program the Flash.
7. Repeat
8. Write
Flash memory can be erased one page (512 bytes) at a time. Page Erasing the Flash
memory sets all bytes in that page to the value FFH. The Page Select Register identifies
the page to be erased. While the Flash Controller executes the Page Erase operation, the
eZ8 CPU idles but the system clock and on-chip peripherals continue to operate. The eZ8
CPU resumes operation after the Page Erase operation completes. Interrupts that occur
when the Page Erase operation is in progress are serviced once the Page Erase operation is
complete. When the Page Erase operation is complete, the Flash Controller returns to its
locked state. Only pages located in unprotected sectors can be erased.
Follow the steps below to perform a Page Erase operation:
1. Write
2. Write the page to be erased to the Page Select Register.
3. Write the first unlock command
4. Write the second unlock command
5. Re-write the page written in
6. Write the Page Erase command
The Flash memory cannot be Mass Erased by user code.
The Flash Controller can be bypassed and the control signals for the Flash memory
brought out to the GPIO pins. Bypassing the Flash Controller allows faster Programming
algorithms by controlling the Flash programming signals directly.
Flash Controller Bypass is recommended for gang programming applications and large
volume customers who do not require in-circuit programming of the Flash memory.
For more information on bypassing the Flash Controller, refer to Third-Party Flash Pro-
gramming Support for Z8 Encore! XP, available for download at www.zilog.com.
00H
00H
step 6
to the Flash Control Register to lock the Flash Controller.
to the Flash Control Register to reset the Flash Controller.
to program additional memory locations on the same page.
step 2
step 2
95H
73H
to the Page Select Register.
to the Page Select Register.
8CH
to the Flash Control Register.
to the Flash Control Register.
to the Flash Control Register.
Z8 Encore! XP
Product Specification
®
F0822 Series
Flash Memory
158

Related parts for Z8F042AHH020EG