Datasheet

Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 583 of 710
REJ09B0384-0300
(e) Multiplication Ratio Inquiry
The boot program will return the supported multiplication and division ratios.
Command H'22
Command, H'22, (1 byte): Inquiry regarding multiplication ratio
Response H'32 Size Number
of types
Number of
multiplication ratios
Multiplica-
tion ratio
···
···
SUM
Response, H'32, (1 byte): Response to the multiplication ratio inquiry
Size (1 byte): The amount of data that represents the number of clock sources and
multiplication ratios and the multiplication ratios
Number of types (1 byte): The number of supported multiplied clock types
(e.g. when there are two multiplied clock types, which are the main and peripheral clocks, the
number of types will be H'02.)
Number of multiplication ratios (1 byte): The number of multiplication ratios for each type
(e.g. the number of multiplication ratios to which the main clock can be set and the peripheral
clock can be set.)
Multiplication ratio (1 byte)
Multiplication ratio: The value of the multiplication ratio (e.g. when the clock-frequency
multiplier is four, the value of multiplication ratio will be H'04.)
Division ratio: The inverse of the division ratio, i.e. a negative number (e.g. when the clock is
divided by two, the value of division ratio will be H'FE. H'FE = D'-2)
The number of multiplication ratios returned is the same as the number of multiplication ratios
and as many groups of data are returned as there are types.
SUM (1 byte): Checksum