Receive Data Sampling Timing And Reception Margin; Figure 12.25 Receive Data Sampling Timing In Smart Card Interface Mode (When Clock Frequency Is 372 Times The Bit Rate) - Renesas H8SX/1500 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1500 Series:
Table of Contents

Advertisement

Section 12 Serial Communication Interface (SCI)
12.7.4

Receive Data Sampling Timing and Reception Margin

Only the internal clock generated by the on-chip baud rate generator can be used as a transfer
clock in smart card interface mode. In this mode, the SCI can operate on a basic clock with a
frequency of 32, 64, 372, or 256 times the bit rate according to the BCP1 and BCP0 bit settings
(the frequency is always 16 times the bit rate in normal asynchronous mode). At reception, the
falling edge of the start bit is sampled using the basic clock in order to perform internal
synchronization. Receive data is sampled on the 16th, 32nd, 186th and 128th rising edges of the
basic clock so that it can be latched at the middle of each bit as shown in figure 12.25. The
reception margin here is determined by the following formula.
M = | (0.5 –
M: Reception margin (%)
N: Ratio of bit rate to clock (N = 32, 64, 372, 256)
D: Duty cycle of clock (D = 0 to 1.0)
L: Frame length (L = 10)
F: Absolute value of clock frequency deviation
Assuming values of F = 0, D = 0.5, and N = 372 in the above formula, the reception margin is
determined by the formula below.
M =
( 0.5 –
Internal
basic clock
Receive data
(RxD)
Synchronization
sampling timing
Data sampling
timing
Figure 12.25 Receive Data Sampling Timing in Smart Card Interface Mode
Rev. 3.00 Mar. 14, 2006 Page 432 of 804
REJ09B0104-0300
1
| D – 0.5 |
) – (L – 0.5) F –
2N
1
) × 100% = 49.866%
2 × 372
372 clock cycles
186 clock
cycles
0
185
Start bit
(When Clock Frequency is 372 Times the Bit Rate)
(1 + F ) | × 100%
N
371
0
D0
185
371 0
D1

Advertisement

Table of Contents
loading

Table of Contents