Download Print this page

Renesas H8S Family Hardware Manual page 988

Advertisement

Section 25 Flash Memory
(2)
Programming/Erasing Initialization
The on-chip programming/erasing program to be downloaded includes the initialization program.
The specified period pulse must be applied when programming or erasing. The specified pulse
width is made by the method in which wait loop is configured by the CPU instruction. The
operating frequency of the CPU must be set.
The initial program is set as a parameter of the programming/erasing program which has
downloaded these settings.
(a)
Flash programming/erasing frequency parameter (FPEFEQ: general register ER0 of
CPU)
This parameter sets the operating frequency of the CPU. The settable range of the operating
frequency in this LSI is 20 to 34 MHz.
Initial
Bit
Bit Name
Value
31 to 16 
F15 to F0 
15 to 0
Rev. 1.00 Mar. 12, 2008 Page 940 of 1178
REJ09B0403-0100
R/W
Description
Unused
This bit should be cleared to 0.
R/W
Frequency Set
Set the operating frequency of the CPU. With the PLL
multiplication function, set the frequency multiplied. The
setting value must be calculated as the following
methods.
1. The operating frequency which is shown in MHz units
must be rounded in a number to three decimal places
and be shown in a number of two decimal places.
2. The value multiplied by 100 is converted to the binary
digit and is written to the FPEFEQ parameter
(general register ER0).
For example, when the operating frequency of the CPU
is 33.000 MHz, the value is as follows.
1. The number to three decimal places of 34.000 is
rounded and the value is thus 34.00.
2. The formula that 34.00 × 100 = 3400 is converted to
the binary digit and B'0000,1101,0100,1000 (H'0D48)
is set to ER0.

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472