User’s Manual L-20 V2.0, 2007-07
TC1796
System and Peripheral Units (Vol. 1 and 2)
Table of Contents
Peripheral Units (Vol. 2 of 2)
19 Asynchronous/Synchronous Serial Interface (ASC) . . . . . . . . . . 19-1 [2]
19.1 ASC Kernel Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-1 [2]
19.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-2 [2]
19.1.2 General Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-3 [2]
19.1.3 Asynchronous Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4 [2]
19.1.3.1 Asynchronous Data Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-5 [2]
19.1.3.2 Asynchronous Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-7 [2]
19.1.3.3 Asynchronous Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-7 [2]
19.1.3.4 RXD/TXD Data Path Selection in Asynchronous Modes . . . . . . 19-8 [2]
19.1.4 Synchronous Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-9 [2]
19.1.4.1 Synchronous Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-10 [2]
19.1.4.2 Synchronous Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-10 [2]
19.1.4.3 Synchronous Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-11 [2]
19.1.5 Baud Rate Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-12 [2]
19.1.5.1 Baud Rates in Asynchronous Mode . . . . . . . . . . . . . . . . . . . . 19-13 [2]
19.1.5.2 Baud Rates in Synchronous Mode . . . . . . . . . . . . . . . . . . . . . 19-16 [2]
19.1.6 Hardware Error Detection Capabilities . . . . . . . . . . . . . . . . . . . . 19-17 [2]
19.1.7 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-17 [2]
19.2 ASC Kernel Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-19 [2]
19.2.1 Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-20 [2]
19.2.2 Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-21 [2]
19.2.3 Data Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-28 [2]
19.3 ASC0/ASC1 Module Implementation . . . . . . . . . . . . . . . . . . . . . . . . 19-30 [2]
19.3.1 Interfaces of the ASC Modules . . . . . . . . . . . . . . . . . . . . . . . . . . 19-30 [2]
19.3.2 ASC0/ASC1 Module Related External Registers . . . . . . . . . . . . 19-31 [2]
19.3.2.1 ASC0 Clock Control Register . . . . . . . . . . . . . . . . . . . . . . . . . 19-32 [2]
19.3.2.2 Peripheral Input Select Registers . . . . . . . . . . . . . . . . . . . . . . 19-34 [2]
19.3.2.3 Port Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-36 [2]
19.3.2.4 Interrupt Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-40 [2]
19.3.3 DMA Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-42 [2]
20 Synchronous Serial Interface (SSC) . . . . . . . . . . . . . . . . . . . . . . . 20-1 [2]
20.1 SSC Kernel Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-1 [2]
20.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-2 [2]
20.1.2 General Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-3 [2]
20.1.2.1 Operating Mode Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-5 [2]
20.1.2.2 Full-Duplex Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-6 [2]
20.1.2.3 Half-Duplex Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-9 [2]
20.1.2.4 Continuous Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-10 [2]
20.1.2.5 Port Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-11 [2]
20.1.2.6 Transmit FIFO Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-12 [2]