Clock - Renesas H8S Series Hardware Manual

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

Advertisement

• Direct convention (SDIR = SINV = O/E = 0)
(Z)
With the direct convention type, the logic 1 level corresponds to state Z and the logic 0 level to state A, and transfer is
performed in LSB-first order. The start character data above is H'3B.
The parity bit is 1 since even parity is stipulated for the Smart Card.
• Inverse convention (SDIR = SINV = O/E = 1)
(Z)
With the inverse convention type, the logic 1 level corresponds to state A and the logic 0 level to state Z, and transfer
is performed in MSB-first order. The start character data above is H'3F.
The parity bit is 0, corresponding to state Z, since even parity is stipulated for the Smart Card.
With the H8S/2357 Group, inversion specified by the SINV bit applies only to the data bits, D7 to D0. For parity bit
inversion, the O/E bit in SMR is set to odd parity mode (the same applies to both transmission and reception).
15.3.5

Clock

Only an internal clock generated by the on-chip baud rate generator can be used as the transmit/receive clock for the Smart
Card interface. The bit rate is set with BRR and the CKS1 and CKS0 bits in SMR. The formula for calculating the bit rate
is as shown below. Table 15-5 shows some sample bit rates.
If clock output is selected by setting CKE0 to 1, a clock with a frequency of 372 times the bit rate is output from the SCK
pin.
ø
B =
1488 × 2
× (N + 1)
2n–1
Where: N = Value set in BRR (0 ≤ N ≤ 255)
B = Bit rate (bit/s)
ø = Operating frequency (MHz)
n = See table 15-4
Table 15-4 Correspondence between n and CKS1, CKS0
A
Z
Z
A
Ds
D0
D1
D2
A
Z
Z
A
Ds
D7
D6
D5
× 10
6
n
0
1
2
3
Z
Z
Z
A
D3
D4
D5
D6
A
A
A
A
D4
D3
D2
D1
CKS1
CKS0
0
0
1
1
0
1
A
Z
(Z)
State
D7
Dp
A
Z
(Z)
State
D0
Dp
Rev.6.00 Oct.28.2004 page 527 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents