Datasheet
Rev.6.00 Mar. 18, 2009 Page xlvi of lviii
REJ09B0050-0600
Section 14 Serial Communication Interface (SCI, IrDA)
Figure 14.1 Block Diagram of SCI............................................................................................ 543
Figure 14.2 Data Format in Asynchronous Communication (Example with 8-Bit Data,
Parity, Two Stop Bits)............................................................................................ 576
Figure 14.3 Receive Data Sampling Timing in Asynchronous Mode ....................................... 578
Figure 14.4 Relation between Output Clock and Transfer Data Phase
(Asynchronous Mode)............................................................................................ 579
Figure 14.5 Sample SCI Initialization Flowchart ...................................................................... 580
Figure 14.6 Example of Operation in Transmission in Asynchronous Mode
(Example with 8-Bit Data, Parity, One Stop Bit) ................................................... 582
Figure 14.7 Sample Serial Transmission Flowchart.................................................................. 583
Figure 14.8 Example of SCI Operation in Reception (Example with 8-Bit Data, Parity,
One Stop Bit).......................................................................................................... 584
Figure 14.9 Sample Serial Reception Data Flowchart (1) ......................................................... 586
Figure 14.9 Sample Serial Reception Data Flowchart (2) ......................................................... 587
Figure 14.10 Example of Communication Using Multiprocessor Format
(Transmission of Data H'AA to Receiving Station A) ........................................... 589
Figure 14.11 Sample Multiprocessor Serial Transmission Flowchart......................................... 590
Figure 14.12 Example of SCI Operation in Reception (Example with 8-Bit Data,
Multiprocessor Bit, One Stop Bit).......................................................................... 592
Figure 14.13 Sample Multiprocessor Serial Reception Flowchart (1)......................................... 593
Figure 14.13 Sample Multiprocessor Serial Reception Flowchart (2)......................................... 594
Figure 14.14 Data Format in Clocked Synchronous Communication (For LSB-First) ............... 595
Figure 14.15 Sample SCI Initialization Flowchart ...................................................................... 596
Figure 14.16 Sample SCI Transmission Operation in Clocked Synchronous Mode ................... 598
Figure 14.17 Sample Serial Transmission Flowchart .................................................................. 599
Figure 14.18 Example of SCI Operation in Reception ................................................................ 600
Figure 14.19 Sample Serial Reception Flowchart ....................................................................... 601
Figure 14.20 Sample Flowchart of Simultaneous Serial Transmit and Receive Operations ....... 603
Figure 14.21 Schematic Diagram of Smart Card Interface Pin Connections............................... 604
Figure 14.22 Normal Smart Card Interface Data Format ............................................................ 605
Figure 14.23 Direct Convention (SDIR = SINV = O/E = 0) ....................................................... 605
Figure 14.24 Inverse Convention (SDIR = SINV = O/E = 1) ..................................................... 606
Figure 14.25 Receive Data Sampling Timing in Smart Card Mode
(Using Clock of 372 Times the Bit Rate)............................................................... 607
Figure 14.26 Retransfer Operation in SCI Transmit Mode ......................................................... 609
Figure 14.27 TEND Flag Generation Timing in Transmission Operation .................................. 610
Figure 14.28 Example of Transmission Processing Flow ........................................................... 611
Figure 14.29 Retransfer Operation in SCI Receive Mode........................................................... 612
Figure 14.30 Example of Reception Processing Flow................................................................. 613