h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 480

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
4. Bit rate
• Confirmation, H'06, (one byte): Confirmation of a new bit rate
• Response, H'06, (one byte): Response to confirmation of a new bit rate
The sequence of new bit-rate selection is shown in figure 14.24.
Rev. 2.00, 03/04, page 448 of 534
Confirmation
Response
The calculated operating frequency should be checked to ensure that it is within the range of
minimum to maximum frequencies which are available with the clock modes of the specified
device. When it is out of this range, an operating frequency error is generated.
To facilitate error checking, the value (n) of clock select (CKS) in the serial mode register
(SMR), and the value (N) in the bit rate register (BRR), which are found from the peripheral
operating clock frequency (φ) and bit rate (B), are used to calculate the error rate to ensure that
it is less than 4%. If the error is more than 4%, a bit rate error is generated. The error is
calculated using the following expression:
When the new bit rate is selectable, the rate will be set in the register after sending ACK in
response. The host will send an ACK with the new bit rate for confirmation and the boot
program will response with that rate.
Waiting for one-bit period
Setting a new bit rate
at the specified bit rate
Error (%) = {[
H'06
Host
H'06
(N + 1)
Figure 14.24 New Bit-Rate Selection Sequence
×
φ
B
×
×
H'06 (ACK) with the new bit rate
H'06 (ACK) with the new bit rate
10
64
6
×
Setting a new bit rate
2
(2×n − 1)
H'06 (ACK)
] − 1}
×
100
Setting a new bit rate
Boot program

Related parts for h8s-2172