Rev. 5.00, 09/03, page xxxiv of xliv
Figure 11.23 Timing Chart of Source Address Reload Function ............................................... 373
Figure 11.24 Block Diagram of CMT ....................................................................................... 376
Figure 11.25 Counter Operation................................................................................................ 380
Figure 11.26 Count Timing ....................................................................................................... 381
Figure 11.27 CMF Setting Timing............................................................................................ 382
Figure 11.28 Tim ing of CMF Clearing by the CPU .................................................................. 382
Figure 12.1 Block Diagram of TMU ....................................................................................... 390
Figure 12.2 Setting the Count Operation................................................................................. 401
Figure 12.3 Auto-Reload Count Operation.............................................................................. 402
Figure 12.4 Count Timing when Operating on In tern al Clock................................................ 402
Figure 12.5 Count Timing when Operating on External Clock (Both Edges Detected).......... 403
Figure 12.6 Count Timing when Operating on On-Chip RTC Clock...................................... 403
Figure 12.7 Operation Tim ing when Using Input Capture Function (Using TCLK Rising
Edge) .................................................................................................................... 404
Figure 12.8 UNF Setting Timing............................................................................................. 404
Figure 12.9 Status Flag Clearing Tim ing................................................................................. 405
Figure 13.1 Block Diagram of RTC ........................................................................................ 408
Figure 13.2 Setting the Time................................................................................................... 422
Figure 13.3 Reading the Time ................................................................................................. 423
Figure 13.4 Using the Alarm Function .................................................................................... 424
Figure 13.5 Example of Crystal Oscillator Circuit Connection............................................... 425
Figure 13.6 Using Periodic Interrupt Function........................................................................ 426
Figure 14.1 Block Diagram of SCI.......................................................................................... 428
Figure 14.2 SCPT[1]/SCK0 Pin .............................................................................................. 429
Figure 14.3 SCPT[0]/TxD0 Pin............................................................................................... 430
Figure 14.4 SCPT[0]/RxD0 Pin............................................................................................... 431
Figure 14.5 Example of Data For mat in Asynchronous Communication (8-Bit Data
with Parity and Two Stop Bits)............................................................................ 455
Figure 14.6 Output Clock and Serial Data Timing (Asynchronous Mode) ............................. 457
Figure 14.7 Sample Flowchart for SCI Initialization............................................................... 458
Figure 14.8 Sample Flowchart for Transmitting Serial Data................................................... 459
Figure 14.9 Example of SCI Transmit Operation in Asynchronous Mode (8-Bit Data
with Parity and One Stop Bit) .............................................................................. 461
Figure 14.10 Sa mple Flowchart for Receiving Serial Data ....................................................... 462
Figure 14.11 Example of SCI Receive Operation (8-Bit Data with Parity and One Stop Bit) .. 465
Figure 14. 12 Communication Among Processors Using Multipro cessor Format
(Sending Data H'AA to Receiving Processor A).................................................. 466
Figure 14.13 Sa mple Flowchart for Transmitting Multiprocessor Serial Data.......................... 467
Figure 14.14 Example of SCI Multiprocessor Transmit Operation (8-Bit Data with
Multiprocessor Bit and One Stop Bit).................................................................. 468
Figure 14.15 Sa mple Flowchart for Receiving Multiprocessor Serial Data .............................. 470
Figure 14.16 Example of SCI Receive Operation (8-Bit Data with Multiprocessor Bit and
One Stop Bit)........................................................................................................ 472