Z8 Encore!® Motor Control Flash MCUs
Product Specification
220
Bit
Value
Description
Position
[7:0]]
0
1
Sector Protect
SECTn
Sector n can be programmed or erased from user code.
Sector n is protected and cannot be programmed or erased from user code.
Flash Frequency High and Low Byte Registers
The Flash Frequency High and Low Byte registers, shown in Tables 120 and 121, com-
bine to form a 16-bit value, FFREQ, to control timing for Flash program and erase opera-
tions. The 16-bit Flash Frequency registers must be written with the system clock
frequency in kilohertz for Program and Erase operations. Calculate the Flash Frequency
value using the following equation:
System Clock Frequency
FFREQ[15:0] = {FFREQH[7:0],FFREQL[7:0]} =
1000
Flash programming and erasure is not supported for system clock frequencies below
32KHz, above 20MHz, or outside of the valid operating frequency range for the device.
The Flash Frequency High and Low Byte registers must be loaded with the correct value
to ensure proper program and erase times.
Caution:
Table 120. Flash Frequency High Byte Register (FFREQH)
BITS
FIELD
RESET
R/W
7
6
5
4
3
2
1
0
FFREQH
00H
R/W
FFAH
ADDR
Program Memory
P R E L I M I N A R Y
PS024604-1005