Renesas H8S/2437 Hardware Manual page 632

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

Advertisement

Command
H'3F
Number of
multiplication ratios
SUM
• Command, H'3F, (one byte): Selection of new bit rate
• Size (one byte): The number of bytes that represents the bit rate, input frequency, number
of multiplication ratios, and multiplication ratio
• Bit rate (two bytes): New bit rate
One hundredth of the value (e.g. when the value is 19200 bps, it will be 192, which is
H'00C0.)
• Input frequency (two bytes): Frequency of the clock input to the boot program
This is valid to the hundredths place and represents the value in MHz multiplied by 100.
(E.g. when the value is 20.00 MHz, it will be 2000, which is H'07D0.)
• Number of multiplication ratios (one byte): The number of multiplication ratios to which
the device can be set. (e.g. when there are two operating clock frequency types, which are
the main and peripheral clocks, the number of multiplication ratios will be 2.)
• Multiplication ratio 1 (one byte)
main operating frequency
Multiplication ratio: The value of the multiplication ratio (e.g. when the clock frequency is
multiplied by four, the multiplication ratio will be H'04.)
Division ratio: The inverse of the division ratio, as a negative number (e.g. when the clock
frequency is divided by two, the value of division ratio will be H'FE. H'FE = D'−2)
• Multiplication ratio 2 (one byte): The value of multiplication or division ratios for the
peripheral frequency
Multiplication ratio: The value of the multiplication ratio (e.g. when the clock frequency is
multiplied by four, the multiplication ratio will be H'04.)
Division ratio: The inverse of the division ratio, as 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)
• SUM (one byte): Checksum
Response
H'06
• Response, H'06, (one byte): Response to selection of a new bit rate
When it is possible to set the bit rate, ACK will be returned.
Error Response
H'BF
• Error response, H'BF, (one byte): Error response to selection of new bit rate
• ERROR: (one byte): Error code
Rev. 1.00, 09/03, page 594 of 704
Size
Multiplication
ratio 1
: The value of multiplication or division ratios for the
ERROR
Bit rate
Input frequency
Multiplication
ratio 2

Advertisement

Table of Contents
loading

Table of Contents