Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
MC68HC681
DUAL ASYNCHRONOUS
RECEIVER/TRANSMITTER
(DUART)
™
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding
the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and
specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters can and do vary in different
applications. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts. Motorola does not
convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems
intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola
product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims,
costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola and
µ
are
registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
©
MOTOROLA, 1996 All Rights Reserved.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
DOCUMENTATION FEEDBACK
FAX 512-891-8593—Documentation Comments Only (no technical questions please)
http: / / www.mot.com/hpesd/docs_survey.html—Documentation Feedback Only
The Technical Communications Department welcomes your suggestions for improving our
documentation and encourages you to complete the documentation feedback form at the
World Wide Web address listed above. In return for your efforts, you will receive a small
token of our appreciation. Your help helps us measure how well we are serving your infor-
mation requirements.
Freescale Semiconductor, Inc...
The Technical Communications Department also provides a fax number for you to submit
any questions or comments about this document or how to order other documents. Please
provide the part number and revision number (located in upper right-hand corner of the
cover) and the title of the document. When referring to items in the manual, please reference
by the page number, paragraph number, figure number, table number, and line number if
needed. Please do not fax technical questions to this number.
When sending a fax, please provide your name, company, fax number, and phone number
including area code.
For Internet Access:
Web Only: http: / / www.mot.com/aesop
For Hotline Questions:
FAX (US or Canada): 1-800-248-8567
EMAIL: aesop_support@pirs.aus.sps.mot.com
MOTOROLA
MC68HC681 USER’S MANUAL
iii
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Applications and Technical Information
For questions or comments pertaining to technical information, questions, and applications,
please contact one of the following sales offices nearest you.
— Sales Offices —
Field Applications Engineering Available Through All Sales Offices
UNITED STATES
GERMANY
, Langenhagen/ Hanover
49(511)789911
GERMANY
, Munich
49 89 92103-0
GERMANY
, Nuremberg
49 911 64-3044
GERMANY
, Sindelfingen
49 7031 69 910
GERMANY
, Wiesbaden
49 611 761921
HONG KONG
, Kwai Fong
852-4808333
Tai Po
852-6668333
INDIA
, Bangalore
(91-812)627094
ISRAEL
, Tel Aviv
972(3)753-8222
ITALY
, Milan
39(2)82201
JAPAN
, Aizu
81(241)272231
JAPAN
, Atsugi
81(0462)23-0761
JAPAN
, Kumagaya
81(0485)26-2600
JAPAN
, Kyushu
81(092)771-4212
JAPAN
, Mito
81(0292)26-2340
JAPAN
, Nagoya
81(052)232-1621
JAPAN
, Osaka
81(06)305-1801
JAPAN,
Sendai
81(22)268-4333
JAPAN,
Tachikawa
81(0425)23-6700
JAPAN,
Tokyo
81(03)3440-3311
JAPAN
, Yokohama
81(045)472-2751
KOREA
, Pusan
82(51)4635-035
KOREA
, Seoul
82(2)554-5188
MALAYSIA
, Penang
60(4)374514
MEXICO
, Mexico City
52(5)282-2864
MEXICO
, Guadalajara
52(36)21-8977
Marketing
52(36)21-9023
Customer Service
52(36)669-9160
NETHERLANDS
, Best
(31)49988 612 11
PUERTO RICO
, San Juan
(809)793-2170
SINGAPORE
(65)2945438
SPAIN
, Madrid
34(1)457-8204
or
34(1)457-8254
SWEDEN
, Solna
46(8)734-8800
SWITZERLAND
, Geneva
41(22)7991111
SWITZERLAND
, Zurich
41(1)730 4074
TAlWAN
, Taipei
886(2)717-7089
THAILAND
, Bangkok
(66-2)254-4910
UNITED KINGDOM
, Aylesbury
44(296)395-252
FULL LINE REPRESENTATIVES
COLORADO
, Grand Junction
Cheryl Lee Whltely
(303) 243-9658
KANSAS
, Wichita
Melinda Shores/Kelly Greiving
(316) 838 0190
NEVADA
, Reno
Galena Technology Group
(702) 746 0642
NEW MEXICO
, Albuquerque
S&S Technologies, lnc.
(505) 298-7177
UTAH
, Salt Lake City
Utah Component Sales, Inc.
(801) 561-5099
WASHINGTON
, Spokane
Doug Kenley
(509) 924-2322
ARGENTINA
, Buenos Aires
Argonics, S.A.
(541) 343-1787
HYBRID COMPONENTS RESELLERS
Elmo Semiconductor
(818) 768-7400
Minco Technology Labs Inc.
(512) 834-2022
Semi Dice Inc.
(310) 594-4631
ALABAMA
, Huntsville
ARIZONA
, Tempe
CALIFORNIA
, Agoura Hills
CALIFORNIA
, Los Angeles
CALIFORNIA
, Irvine
CALIFORNIA
, Rosevllle
CALIFORNIA
, San Diego
CALIFORNIA
, Sunnyvale
COLORADO
, Colorado Springs
COLORADO
, Denver
CONNECTICUT
, Wallingford
FLORIDA
, Maitland
FLORIDA
, Pompano Beach/
Fort Lauderdale
FLORIDA
, Clearwater
GEORGlA
, Atlanta
IDAHO
, Boise
ILLINOIS
, Chicago/Hoffman Estates
INDlANA
, Fort Wayne
INDIANA
, Indianapolis
INDIANA
, Kokomo
IOWA
, Cedar Rapids
KANSAS
, Kansas City/Mission
MARYLAND
, Columbia
MASSACHUSETTS
, Marborough
MASSACHUSETTS
, Woburn
MICHIGAN
, Detroit
MINNESOTA
, Minnetonka
MISSOURI
, St. Louis
NEW JERSEY
, Fairfield
NEW YORK
, Fairport
NEW YORK
, Hauppauge
NEW YORK
, Poughkeepsie/Fishkill
NORTH CAROLINA
, Raleigh
OHIO
, Cleveland
OHIO
, Columbus/Worthington
OHIO
, Dayton
OKLAHOMA
, Tulsa
OREGON
, Portland
PENNSYLVANIA
, Colmar
Philadelphia/Horsham
TENNESSEE
, Knoxville
TEXAS
, Austin
TEXAS
, Houston
TEXAS
, Plano
VIRGINIA
, Richmond
WASHINGTON
, Bellevue
Seattle Access
WISCONSIN
, Milwaukee/Brookfield
CANADA
BRITISH COLUMBIA
, Vancouver
ONTARIO
, Toronto
ONTARIO
, Ottawa
QUEBEC
, Montreal
INTERNATIONAL
AUSTRALIA
, Melbourne
AUSTRALIA
, Sydney
BRAZIL
, Sao Paulo
CHINA
, Beijing
FINLAND
, Helsinki
Car Phone
FRANCE
, Paris/Vanves
Freescale Semiconductor, Inc...
(205) 464-6800
(602) 897-5056
(818) 706-1929
(310) 417-8848
(714) 753-7360
(916) 922-7152
(619) 541-2163
(408) 749-0510
(719) 599-7497
(303) 337-3434
(203) 949-4100
(407) 628-2636
(305) 486-9776
(813) 538-7750
(404) 729-7100
(208) 323-9413
(708) 490-9500
(219) 436-5818
(317) 571-0400
(317) 457-6634
(319) 373-1328
(913) 451-8555
(410) 381-1570
(508) 481-8100
(617) 932-9700
(313) 347-6800
(612) 932-1500
(314) 275-7380
(201) 808-2400
(716) 425-4000
(516) 361-7000
(914) 473-8102
(919) 870-4355
(216) 349-3100
(614) 431-8492
(513) 495-6800
(800) 544-9496
(503) 641-3681
(215) 997-1020
(215) 957-4100
(615) 584-4841
(512) 873-2000
(800) 343-2692
(214) 516-5100
(804) 285-2100
(206) 454-4160
(206) 622-9960
(414) 792-0122
(604) 293-7605
(416) 497-8181
(613) 226-3491
(514) 731-6881
(61-3)887-0711
(61(2)906-3855
55(11)815-4200
86 505-2180
358-0-35161191
358(49)211501
33(1)40 955 900
iv
MC68HC681 USER’S MANUAL
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS
Paragraph
Number
Title
Section 1
Introduction
Page
Number
Freescale Semiconductor, Inc...
1.1
1.2
1.3
1.4
1.5
1.6
1.7
Internal Control Logic ...........................................................................
Timing Logic .........................................................................................
Interrupt Control Logic..........................................................................
Data Bus Buffer ....................................................................................
Communication Channels A and B ......................................................
Input Port..............................................................................................
Output Port ...........................................................................................
Section 2
Signal Descriptions
1-4
1-4
1-5
1-5
1-5
1-5
1-6
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.14.1
2.14.2
2.14.3
2.14.4
2.14.5
2.14.6
2.15
2.15.1
2.15.2
2.15.3
2.15.4
V
CC
and GND .......................................................................................
Crystal Input or External CLOCK (X1)..................................................
Crystal Input (X2) .................................................................................
RESET (RESET) ..................................................................................
Chip-Select (CS) ..................................................................................
Read/Write (R/W) .................................................................................
Data Transfer Ackowledge (DTACK) ...................................................
Register-Select Bus (RS1–RS4) ..........................................................
Data Bus (D0–D7) ................................................................................
Interupt Request (IRQ) .........................................................................
Interupt Ackowledge (IACK) .................................................................
Channel A/B Transmitter Serial-Data Output (TxDA/TxDB).................
Channel A/B Receiver Serial-Data Input (RxDA/RxDB).......................
Parallel Inputs (IP0–IP5) ......................................................................
IP0 ..............................................................................................
IP1 ..............................................................................................
IP2 ..............................................................................................
IP3 ..............................................................................................
IP4 ..............................................................................................
IP5 ..............................................................................................
Parallel Outputs (OP0–OP7) ................................................................
OP0 ............................................................................................
OP1 ............................................................................................
OP2 ............................................................................................
OP3 ............................................................................................
2-2
2-2
2-3
2-3
2-3
2-3
2-4
2-4
2-4
2-4
2-4
2-4
2-4
2-4
2-4
2-5
2-5
2-5
2-5
2-5
2-5
2-5
2-5
2-6
2-6
MOTOROLA
MC68HC681 USER’S MANUAL
v
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph
Number
2.15.5
2.15.6
2.15.7
2.15.8
Title
Page
Number
2-6
2-6
2-6
2-6
OP4 ............................................................................................
OP5 ............................................................................................
OP6 ............................................................................................
OP7 ............................................................................................
Section 3
Operation
Freescale Semiconductor, Inc...
3.1
3.2
3.3
3.3.1
3.3.2
3.3.3
3.4
3.5
3.5.1
3.5.2
Transmitter ...........................................................................................
Receiver ...............................................................................................
Looping Modes.....................................................................................
Automatic-Echo Mode................................................................
Local-Loopback Mode................................................................
Remote-Loopback Mode............................................................
Multidrop Mode ....................................................................................
Counter/Timer ......................................................................................
Counter Mode ............................................................................
Timer Mode ................................................................................
Section 4
Programming and Register Descriptions
3-1
3-2
3-4
3-5
3-5
3-5
3-5
3-6
3-6
3-7
4.1
4.2
4.3
4.3.1
4.3.1.1
4.3.1.2
4.3.1.3
4.3.1.4
4.3.1.5
4.3.1.6
4.3.2
4.3.2.1
4.3.2.2
4.3.2.3
4.3.2.4
4.3.3
4.3.4
4.3.5
Programming Descriptions................................................................... 4-1
Register Bit Formats ............................................................................ 4-6
Register Description........................................................................... 4-13
Channel A Mode Register 1 (MR1A)........................................ 4-13
Channel A Receiver Ready-To-Receive
Control — MR1A[7]. ..................................................... 4-13
Channel A Receiver-Interrupt Select - MR1A[6]........... 4-13
Channel A Error Mode Select - MR1A[5]...................... 4-13
Channel A Parity Mode Select - MR1A[4:3]. ................ 4-13
Channel A Parity Type Select - MR1A[2]. .................... 4-13
Channel A Bits-Per-Character Select - MR1A[1:0]........ 4-13
Channel A Mode Register 2 (MR2A)........................................ 4-14
Channel A Mode Select - MR2A[7:6]............................ 4-14
Channel A Transmitter Request-to-Send
Control - MR2A[5]. ........................................................ 4-15
Channel A Clear-to-Send Control - MR2A[4]................ 4-16
Channel A Stop Bit Length Select - MR2A[3:2]. ........... 4-16
Channel B Mode Register 1 (MR1B)........................................ 4-16
Channel B Mode Register 2 (MR2B)........................................ 4-16
Channel A Clock-Select Register (CSRA) ............................... 4-16
vi
MC68HC681 USER’S MANUAL
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com