Renesas H8S Series Hardware Manual page 858

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 21 Flash Memory (0.18-µm F-ZTAT Version)
• ERROR (1 byte): Error code
H'11: Checksum error
H'24: Bit rate selection error
The rate is not available.
H'25: Input frequency error
The input frequency is not within the specified range.
H'26: Division ratio error
The division ratio does not match an available ratio.
H'27: Operating frequency error
The operating frequency is not within the specified range.
(5)
Receive Data Check
The methods for checking 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 the
minimum to maximum frequencies which are available with the clock modes of the specified
device. When the value is out of this range, an input frequency error is generated.
2. Division ratio
The received value of the division ratio is checked to ensure that it matches the division for the
clock modes of the specified device. When the value is out of this range, a division ratio error
is generated.
3. Operating frequency
Operating frequency is calculated from the received value of the input frequency and the
division ratio. The input frequency is the frequency input to the LSI, and the operating
frequency is the frequency at which the LSI is actually operated. The formula is given below.
Operating frequency = Input frequency ÷ Division ratio
The calculated operating frequency should be checked to ensure that it is within the range of
the 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.
4. Bit rate
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 selection error is generated. The error
is calculated using the following formula:
Rev. 3.00 Jul. 14, 2005 Page 810 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents