参数资料
型号: MC68331CFC16B1
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 32-BIT, 16 MHz, MICROCONTROLLER, PQFP132
封装: 0.950 X 0.950 INCH, 0.025 INCH PITCH, PLASTIC, QFP-132
文件页数: 62/90页
文件大小: 481K
代理商: MC68331CFC16B1
MC68331
MOTOROLA
MC68331TS/D
65
5.5.1 SCI Pins
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.
5.5.2 SCI Registers
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.
Bits [15:13] — Not Implemented
SCBR — Baud Rate
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:
SCI Baud Rate = System Clock/(32SCBR)
or
SCBR = System Clock(32SCK)(Baud Rate Desired)
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.
Pin Names
Mnemonics
Mode
Function
Receive Data
RXD
Receiver Disabled
Receiver Enabled
Not Used
Serial Data Input to SCI
Transmit Data
TXD
Transmitter Disabled
Transmitter Enabled
General-Purpose I/O
Serial Data Output from SCI
SCCR0 — SCI Control Register 0
$YFFC08
15
14
13
12
0
SCBR
RESET:
0
1
0
相关PDF资料
PDF描述
MC68882CRC16A 32-BIT, MATH COPROCESSOR, CPGA68
MC68HC11E1VFN3 8-BIT, 3 MHz, MICROCONTROLLER, PQCC52
MC68HC16Z1CFC25 16-BIT, 25.17 MHz, MICROCONTROLLER, PQFP132
MC68HC705X32CFU4 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP64
MC68HC711P2CFN4 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQCC84
相关代理商/技术参数
参数描述
MC68331CFC20 制造商:Freescale Semiconductor 功能描述:
MC68331CFC20B1 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68331CFC25 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68331CFC25B1 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68331CFV16 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:User’s Manual