Renesas H8S/2437 Hardware Manual page 633

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

Advertisement

H'11:
H'24:
H'25:
H'26:
H'27:
(5) Received Data Check
The methods for checking of received data are listed below.
1. Input Frequency
The received value of the input frequency is checked to ensure that it is within the range of
minimum to maximum frequencies which matches the clock modes of the specified device.
When the value is out of this range, an input-frequency error is generated.
2. Multiplication Ratio
The received value of the multiplication ratio or division ratio is checked to ensure that it
matches the clock modes of the specified device. When the value is out of this range, a
multiplication-ratio error is generated.
3. Operating Frequency
Operating frequency is calculated from the received value of the input frequency and the
multiplication or division ratio. The input frequency is input to the LSI and the LSI is operated
at the operating frequency. The expression is given below.
Operating frequency = Input frequency × Multiplication ratio, or
Operating frequency = Input frequency ÷ Division ratio
The calculated operating frequency should be checked to ensure that it is within the range of
minimum to maximum frequencies which is available with the clock modes of the specified
device. When it is out of this range, an operating frequency error is generated.
4. Bit Rate
The value (n) of the clock select bit (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:
Error (%) = {[
Checksum error
Bit-rate selection error
The rate is not available.
Error in input frequency
This input frequency is not within the specified range.
Multiplication-ratio error
The ratio does not match an available ratio.
Operating frequency error
The frequency is not within the specified range.
φ × 10
6
(N + 1) × B × 64 × 2
(2×n − 1)
] − 1} × 100
Rev. 1.00, 09/03, page 595 of 704

Advertisement

Table of Contents
loading

Table of Contents