Z8F011ASH020EG2156 ZiLOG, Z8F011ASH020EG2156 Datasheet - Page 134

no-image

Z8F011ASH020EG2156

Manufacturer Part Number
Z8F011ASH020EG2156
Description
8-bit Microcontrollers - MCU 1K FLASH 256B RAM 16B NVDS
Manufacturer
ZiLOG
Datasheet

Specifications of Z8F011ASH020EG2156

Rohs
yes
Core
eZ8
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
1 KB
Data Ram Size
256 B
On-chip Adc
No
Package / Case
SOIC-20
Mounting Style
SMD/SMT
Interface Type
UART
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
2
Program Memory Type
Flash
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
PS025113-1212
Caution:
Byte Programming
bits can only be set to 1. Thus, sectors can be protected, but not unprotected, via register
write operations. Writing a value other than
the Flash Sector Protect Register and reenables access to the Page Select Register.
Observe the following procedure to setup the Flash Sector Protect Register from user
code:
1. Write
2. Write
3. Read and/or write the Flash Sector Protect Register which is now at Register File
4. Write
The Sector Protect Register is initialized to 0 on reset, putting each sector into an unpro-
tected state. When a bit in the Sector Protect Register is written to 1, the corresponding
sector can no longer be written or erased. After setting a bit in the Sector Protect Register,
the bit cannot be cleared by the user.
Flash memory is enabled for byte programming after unlocking the Flash Controller and
successfully enabling either mass erase or page erase. When the Flash Controller is
unlocked and mass erase is successfully enabled, all of the program memory locations are
available for byte programming. In contrast, when the Flash Controller is unlocked and
page erase is successfully enabled, only the locations of the selected page are available for
byte programming. An erased Flash byte contains all 1’s (
tion can only be used to change bits from 1 to 0. To change a Flash bit (or multiple bits)
from 0 to 1 requires execution of either the page erase or mass erase commands.
Byte programming can be accomplished using the On-Chip Debugger’s write memory
command or eZ8 CPU execution of the LDC or LDCI instructions. Refer to the
Core User Manual
description of the
Flash memory, the eZ8 CPU idles, but the system clock and on-chip peripherals continue
to operate. To exit programming mode and lock the Flash, write any value to the Flash
Control Register, except the mass erase or page erase commands.
The byte at each address within Flash memory cannot be programmed (any bits written
to 0) more than twice before an erase cycle occurs.
address
00H
5EH
00H
FF9H
to the Flash Control Register to reset the Flash Controller.
to the Flash Control Register to select the Flash Sector Protect Register.
to the Flash Control Register to return the Flash Controller to its reset state.
.
LDC
(UM0128), which is available for download on www.zilog.com, for the
and
LDCI
instructions. While the Flash Controller programs the
5EH
to the Flash Control Register deselects
FFH
Z8 Encore!
). The programming opera-
Product Specification
®
F0830 Series
eZ8 CPU
Operation
116

Related parts for Z8F011ASH020EG2156