MC68331CEH16 Freescale, MC68331CEH16 Datasheet - Page 65

MC68331CEH16

Manufacturer Part Number
MC68331CEH16
Description
Manufacturer
Freescale
Datasheet

Specifications of MC68331CEH16

Cpu Family
68K/M683xx
Device Core
ColdFire
Device Core Size
32b
Frequency (max)
16MHz
Interface Type
QSPI/SCI/UART
Total Internal Ram Size
80Byte
# I/os (max)
18
Number Of Timers - General Purpose
1
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
132
Package Type
PQFP
Program Memory Type
ROMLess
Lead Free Status / RoHS Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68331CEH16
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68331CEH16
Manufacturer:
FREESCALE
Quantity:
20 000
5.5.1 SCI Pins
5.5.2 SCI Registers
SCCR0 — SCI Control Register 0
Bits [15:13] — Not Implemented
SCBR — Baud Rate
MC68331TS/D
RESET:
15
0
0
There are two unidirectional pins associated with the SCI. The SCI controls the transmit data (TXD) pin
when enabled, whereas the receive data (RXD) pin remains a dedicated input pin to the SCI. TXD is
available as a general-purpose I/O pin when the SCI transmitter is disabled. When used for I/O, TXD
can be configured either as input or output, as determined by QSM register DDRQS.
The following table shows SCI pins and their functions.
The SCI programming model includes QSM global and pin control registers, and four SCI registers.
There are two SCI control registers, one status register, and one data register. All registers can be read
or written at any time by the CPU.
Changing the value of SCI control bits during a transfer operation may disrupt operation. Before chang-
ing register values, allow the transmitter to complete the current transfer, then disable the receiver and
transmitter. Status flags in the SCSR may be cleared at any time.
SCCR0 contains a baud rate selection parameter. Baud rate must be set before the SCI is enabled. The
CPU can read and write this register at any time.
SCI baud rate is programmed by writing a 13-bit value to BR. The baud rate is derived from the MCU
system clock by a modulus counter.
The SCI receiver operates asynchronously. An internal clock is necessary to synchronize with an in-
coming data stream. The SCI baud rate generator produces a receiver sampling clock with a frequency
16 times that of the expected baud rate of the incoming data. The SCI determines the position of bit
boundaries from transitions within the received waveform, and adjusts sampling points to the proper po-
sitions within the bit period. Receiver sampling rate is always 16 times the frequency of the SCI baud
rate, which is calculated as follows:
or
where SCBR is in the range {1, 2, 3, ..., 8191}
Writing a value of zero to SCBR disables the baud rate generator.
The following table lists the SCBR settings for standard and maximum baud rates using 16.78-MHz and
20.97-MHz system clocks.
14
0
0
Transmit Data
Receive Data
Pin Names
13
0
0
12
0
Freescale Semiconductor, Inc.
SCBR = System Clock(32SCK)(Baud Rate Desired)
For More Information On This Product,
0
SCI Baud Rate = System Clock/(32SCBR)
Mnemonics
0
RXD
TXD
Go to: www.freescale.com
0
Receiver Disabled
Receiver Enabled
Transmitter Disabled
Transmitter Enabled
0
0
Mode
SCBR
0
0
Not Used
Serial Data Input to SCI
General-Purpose I/O
Serial Data Output from SCI
0
Function
0
1
$YFFC08
0
0
0
65

Related parts for MC68331CEH16