參數(shù)資料
型號: Q67127-C2036SAB-C161R1-L16M
英文描述: IC-SM-16 BIT CPU
中文描述: 集成電路的Sm - 16位CPU
文件頁數(shù): 63/121頁
文件大?。?/td> 1000K
代理商: Q67127-C2036SAB-C161R1-L16M
Semiconductor Group
6-29
On-Chip Peripheral Components
C501
6.3
Serial Interface
The serial port is full duplex, meaning it can transmit and receive simultaneously. It is also receive-
buffered, meaning it can commence reception of a second byte before a previously received byte
has been read from the receive register. (However, if the first byte still hasn’t been read by the time
reception of the second byte is complete, one of the bytes will be lost). The serial port receive and
transmit registers are both accessed at special function register SBUF. Writing to SBUF loads the
transmit register, and reading SBUF accesses a physically separate receive register.
The serial port can operate in 4 modes (one synchronous mode, three asynchronous modes):
Mode 0, Shift Register (Synchronous) Mode:
Serial data enters and exits through RxD. TxD outputs the shift clock. 8 data bits are transmitted/
received: (LSB first). The baud rate is fixed at
1
/
12
of the oscillator frequency. (See
section 6.3.4
for
more detailed information)
Mode 1, 8-Bit USART, Variable Baud Rate:
10 bits are transmitted (through TxD) or received (through RxD): a start bit (0), 8 data bits (LSB first),
and a stop bit (1). On receive, the stop bit goes into RB8 in special function register SCON. The
baud rate is variable. (See
section 6.3.5
for more detailed information)
Mode 2, 9-Bit USART, Fixed Baud Rate:
11 bits are transmitted (through TxD) or received (through RxD): a start bit (0), 8 data bits (LSB first),
a programmable 9th data bit, and a stop bit (1). On transmit, the 9th data bit (TB8 in SCON) can be
assigned to the value of 0 or 1. Or, for example, the parity bit (P, in the PSW) could be moved into
TB8. On receive, the 9th data bit goes into RB8 in special function register SCON, while the stop
bit is ignored. The baud rate is programmable to either
1
/
32
or
1
/
64
of the oscillator frequency. (See
section 6.3.6
for more detailed information)
Mode 3, 9-Bit USART, Variable Baud Rate:
11 bits are transmitted (through TxD) or received (through RxD): a start bit (0), 8 data bits (LSB first),
a programmable 9th data bit, and a stop bit (1). In fact, mode 3 is the same as mode 2 in all respects
except the baud rate. The baud rate in mode 3 is variable.(See
section 6.3.6
for more detailed
information)
In all four modes, transmission is initiated by any instruction that uses SBUF as a destination
register. Reception is initiated in mode 0 by the condition RI = 0 and REN = 1. Reception is initiated
in the other modes by the incomming start bit if REN = 1.
The serial interface also provides interrupt requests when transmission or reception of a frames
have been completed. The corresponding interrupt request flags are TI or RI, resp. See
chapter 7
of this user manual for more details about the interrupt structure. The interrupt request flags TI and
RI can also be used for polling the serial interface, if the serial interrupt is not to be used (i.e. serial
interrupt not enabled).
相關PDF資料
PDF描述
Q67120-C2200 16-Bit Single-Chip Microcontroller Bare Die Delivery
Q67120-C1054 High Speed CMOS Logic Triple 3-Input NOR Gates 14-SOIC -55 to 125
Q67120-C1056 High Speed CMOS Logic Triple 3-Input NOR Gates 14-SOIC -55 to 125
Q67120-C2002 High Speed CMOS Logic Octal D-Type Flip-Flops with Reset 20-SOIC -55 to 125
Q67120-C2003 8-Bit CMOS Microcontroller
相關代理商/技術(shù)參數(shù)
參數(shù)描述
Q67127-C2056 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
Q67127-C2057 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
Q67127-C2058 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
Q67127-C2060 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
Q67127-C2061 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller