Digchip : Database on electronics components
 
Member, Distributor  
Log In
Email:
Password:


Part: MC68302TIMING

Category:

Description:

Company: Motorola Semiconductor Products

Datasheet: Download MC68302TIMING datasheet     File size : 32 kB

Request For quote: Find where to buy MC68302TIMING



Datasheet text preview:
MOTOROLA
MICROPROCESSOR & MEMORY TECHNOLOGIES GROUP
MC68302 Auto Baud Support Package Specifications Revision 2.0
1200
2400
4800
9600
600
AUTO_BAUD
MC68302 AutoBaud Specification - Rev.2.0 May 1, 1994
Table of Contents
AutoBaud controller.......1 1.1 Overview ......1 1.2 AutoBaud Channel Reception Process ........2 1.3 AutoBaud Channel Transmit Process ....3 1.4 Autobaud Parameter RAM ...........4 1.5 AutoBaud Programming Model....5 1.5.1 Initialization of the AutoBaud Microcode Package.......6 1.5.2 Preparing for the AutoBaud Process......6 1.5.3 Enter_Baud_Hunt Command..7 1.5.4 AutoBaud Command Descriptor......7 1.5.5 AutoBaud LookUp Table.......9 1.5.5.1 LookUp Table Example ..........10 1.5.6 Determining Character Length and Parity ....11 1.5.7 AutoBaud Reception Error Handling Procedure ...12 1.5.8 AutoBaud Transmission........12 1.5.8.1 Automatic Echo ....12 1.5.8.2 Smart Echo ......13 1.5.9 Switching To Another Protocol .....14 1.6 AutoBaud Programming Example.......14
MC68302 AutoBaud Specification - Rev.2.0
1.0 AutoBaud controller
This document describes the operation, registers, and programming of the Autobaud Microcode Package Revision 2.0. Below are the major features of Revision 2.0: · Downloads into the MC68302 dual-port RAM. · Requires 16 x the maximum baudrate for the sampling clock (can be internally or externally generated). · Supports parity determination and character length detection on reception for 7-bit characters with parity, 8-bit characters with and without parity. · Supports parity generation on transmission · Supports 2 echo modes (automatic and smart echoing). · Supports determining baudrates up to 115.2 kbaud.
1.1 Overview
The support for the AutoBaud function is contained in a RAM microcode that is downloaded into the dual-port RAM of the MC68302. The AutoBaud function determines the baudrate and format of an asynchronous data stream starting with a known character. This package may be used to implement the standard AT command set or other characters. In order to use the AutoBaud mode, the Serial Communication Controller (SCC) is initially programmed to BISYNC mode. The SCC receiver then synchronizes on the falling edge of the START bit. Once a start bit is detected, each bit received is processed by the AutoBaud controller. The AutoBaud controller measures the length of the START bit to determine the receive baudrate and compares the length to values in a user supplied lookup table. After the baudrate is determined, the AutoBaud controller assembles the character and compares it against two userdefined characters. If a match is detected, the AutoBaud controller interrupts the host and returns the determined nominal start value from the lookup table. The AutoBaud controller continues to assemble the characters and interrupt the host until the host stops the reception process. The incoming message should contain a mixture of even and odd characters so that the user has enough information to decide on the proper character format ( length and parity). The host then uses the returned nominal start value from the lookup table, modifies the SCC Configuration Register (SCON) to generate the correct baudrate, and reprograms the SCC to UART mode. Many rates are supported including: 150, 300, 600, 1200, 2400, 4800, 9600, 14.4K, 19.2K, 38.4K, 57.6K, 64K, 96K, and 115.2K. To estimate the performance of the AutoBaud microcode package, the performance table in Appendix A of the MC68302 user's manual can be used. The maximum full-duplex rate for a BISYNC channel is one-tenth of the system clock rate. So a 16.67 MHz 68302 can support 115.2K AutoBaudrate with another low-speed channel (<50 kbps) and a
Motorola
MC68302 AutoBaud Specification - Rev.2.0
page 3


Others parts begin by mc