p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 516

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 19 Flash Memory (0.18-µm F-ZTAT Version)
(2)
The on-chip programming/erasing program to be downloaded includes the initialization program.
A pulse of the specified width must be applied when programming or erasing. The specified pulse
width is made by the method in which a wait loop is configured by CPU instructions. The
operating frequency of the CPU must be set too.
The initialization program is used to set the above values as parameters of the
programming/erasing program that was downloaded.
(a)
This parameter sets the operating frequency of the CPU. The settable range of the operating
frequency in this LSI is 8 to 20 MHz.
Rev. 1.00 Sep. 21, 2006 Page 478 of 658
REJ09B0310-0100
Bit
31 to 16 
15 to 0 F15 to F0 
Programming/Erasing Initialization
Flash programming/erasing frequency control parameter (FPEFEQ: general register
ER0 of CPU)
Bit Name
Initial
Value
R/W
R/W
Description
Unused
These bits should be cleared to 0.
Frequency Set
These bits set the operating frequency of the CPU. The
setting value must be calculated with the following
procedure.
1. The operating frequency shown in MHz units must be
2. The value multiplied by 100 is converted to the
For example, when the operating frequency of the CPU
is 20.000 MHz, the setting value is as follows:
1. 20.000 is rounded off to two decimals, thus becoming
2. The formula of 20.00 × 100 = 2000 is converted to
rounded off to two decimals.
hexadecimal numeral and written to the FPEFEQ
parameter (general register ER0).
20.00.
the hexadecimal numeral and H'07D0 is set to ER0.

Related parts for p2125vps20