Renesas H8S/2437 Hardware Manual page 628

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

• Response, H'06, (one byte): Response to the clock mode selection command
ACK will be returned when the clock mode matches.
Error Response
H'91
• Error response, H'91, (one byte)
command
• ERROR : (one byte): Error code
H'11: Checksum error
H'22: Clock mode error, that is, the clock mode does not match.
Even if the clock mode numbers are H'00 and H'01 by a clock mode inquiry, the clock mode
must be selected using these respective values.
(e) Multiplication Ratio Inquiry
The boot program will return the supported multiplication and division ratios.
Command
H'22
• Command, H'22, (one byte): Inquiry regarding multiplication ratio
Response
H'32
Number of
multiplication ratios
···
SUM
• Response, H'32, (one byte): Response to the multiplication ratio inquiry
• Size (one byte): The amount of data that represents the number of clock sources and
multiplication ratios and the multiplication ratios
• Number of types (one 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 (one 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 (one 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 (one byte): Checksum
Rev. 1.00, 09/03, page 590 of 704
ERROR
: Error response to the clock mode selection
Size
Multiplica-
tion ratio
Number
of types
···

Advertisement

Table of Contents
loading

Table of Contents