參數(shù)資料
型號: 87C754
廠商: NXP Semiconductors N.V.
英文描述: 80C51 8-bit microcontroller family 4K/256 OTP/ROM, DAC, comparator, UART, reference
中文描述: 80C51的8位單片機(jī)系列4K/256檢察官辦公室/光盤,援,比較,異步,參考
文件頁數(shù): 6/26頁
文件大小: 217K
代理商: 87C754
Philips Semiconductors
Preliminary specification
83C754/87C754
80C51 8-bit microcontroller family
4K/256 OTP/ROM, DAC, comparator, UART, reference
1998 Apr 23
6
Serial Port Control Register
The serial port control and status register is the Special Function
Register SCON, shown in Figure 1. This register contains not only
the mode selection bits, but also the 9th data bit for transmit and
receive (TB8 and RB8), and the serial port interrupt bits (TI and RI).
Baud Rates
The baud rate in Mode 0 is fixed: Mode 0 Baud Rate = Oscillator
Frequency / 12. The baud rate in Mode 2 depends on the value of
bit SMOD in Special function Register PCON. If SMOD = 0 (which is
the value on reset), the baud rate is 1/64 the oscillator frequency.
If SMOD = 1, the baud rate is 1/32 the oscillator frequency.
2
SMOD
64
In the 8XC754, the baud rates in Modes 1 and 3 are determined by
the Timer 1 overflow rate.
Mode 2 Baud Rate
(Oscillator Frequency)
Using Timer 1 to Generate Baud Rates
When Timer 1 is used as the baud rate generator, the baud rates in
Modes 1 and 3 are determined by the Timer 1 overflow rate and the
value of SMOD as follows:
2
SMOD
32
The Timer 1 interrupt should be disabled in this application. The
Timer itself can be configured for either “timer” or “counter”
operation, and in any of its 3 running modes. In the most typical
applications, it is configured for “timer” operation, in the auto-reload
mode (high nibble of TMOD = 0010B). In that case the baud rate is
given by the formula:
2
SMOD
32
Mode 1, 3 Baud Rate
(Timer 1 Overflow Rate)
Mode 1, 3 Baud Rate
Oscillator Frequency
12
[256
(TH1)]
One can achieve very low baud rates with Timer 1 by leaving the
Timer 1 interrupt enabled, and configuring the Timer to run as a
16-bit timer (high nibble of TMOD = 0001B), and using the Timer 1
interrupt to do a 16-bit software reload. Figure 2 lists various
commonly used baud rates and how they can be obtained from
Timer 1.
SM2
Enables the multiprocessor communication feature in Modes 2 and 3. In Mode 2 or 3, if SM2 is set to 1, then Rl will not be
activated if the received 9th data bit (RB8) is 0. In Mode 1, if SM2=1 then RI will not be activated if a valid stop bit was not
received. In Mode 0, SM2 should be 0.
Enables serial reception. Set by software to enable reception. Clear by software to disable reception.
The 9th data bit that will be transmitted in Modes 2 and 3. Set or clear by software as desired.
In Modes 2 and 3, is the 9th data bit that was received. In Mode 1, it SM2=0, RB8 is the stop bit that was received. In Mode 0,
RB8 is not used.
Transmit interrupt flag. Set by hardware at the end of the 8th bit time in Mode 0, or at the beginning of the stop bit in the other
modes, in any serial transmission. Must be cleared by software.
Receive interrupt flag. Set by hardware at the end of the 8th bit time in Mode 0, or halfway through the stop bit time in the other
modes, in any serial reception (except see SM2). Must be cleared by software.
REN
TB8
RB8
TI
RI
MSB
LSB
SM0
SM1
SM2
REN
TB8
RB8
TI
RI
Where SM0, SM1 specify the serial port mode, as follows:
SM0
SM1
0
1
0
1
Mode
0
1
2
3
Description
shift register
8-bit UART
9-bit UART
9-bit UART
Baud Rate
f
OSC
/ 12
variable
f
OSC
/64 or f
OSC
/32
variable
0
0
1
1
SU00120
Figure 1.
Ba d Rate
Baud Rate
f
OSC
SMOD
Timer 1
C/T
X
X
0
0
0
0
0
0
0
0
0
Mode
X
X
2
2
2
2
2
2
2
2
1
Reload Value
X
X
FFH
FDH
FDH
FAH
F4H
E8H
1DH
72H
FEEBH
Mode 0 Max: 1.67MHz
Mode 2 Max: 625k
Mode 1, 3 Max: 104.2k
19.2k
9.6k
4.8k
2.4k
1.2k
137.5
110
110
20MHz
20MHz
20MHz
11.059MHz
11.059MHz
11.059MHz
11.059MHz
11.059MHz
11.986MHz
6MHz
12MHz
X
1
1
1
0
0
0
0
0
0
0
Figure 2. Timer 1 Generated Commonly Used Baud Rates
相關(guān)PDF資料
PDF描述
87FC3-201 LEITERPLATTENTASTER SYSTEM 87 PK4
87CC3-201 LEITERPLATTENTASTER SYSTEM 87 1ST
87DC3-201 LEITERPLATTENTASTER SYSTEM 87 PK2
87L51FA CMOS single-chip 3.0V 8-bit microcontrollers
87L51FB CMOS single-chip 3.0V 8-bit microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
87C808NG-1H46(OA 制造商:Toshiba America Electronic Components 功能描述:TOS87C808NG-1H46(OA HIGH SPEED 8-BIT SIN
87C809 制造商:TOSHIBA 制造商全稱:Toshiba Semiconductor 功能描述:CMOS 8-bit Microcontroller
87-CALIBRATION 制造商:Fluke Electronics 功能描述:
87-CBSU-24" 功能描述:87-CBSU-24"--87S01--FLAT FENCE S 制造商:leader tech inc. 系列:* 零件狀態(tài):在售 類型:屏蔽,分體式 長度 - 總:- 通風(fēng):通風(fēng)孔,按樣式排列 安裝類型:通孔 標(biāo)準(zhǔn)包裝:5
87CC3-201 功能描述:KEYPAD MODULAR 1BTN RoHS:是 類別:開關(guān) >> 鍵盤 系列:* 標(biāo)準(zhǔn)包裝:1 系列:- 開關(guān)類型:傳導(dǎo)橡膠 按鍵數(shù):12 矩陣(列數(shù) x 行數(shù)):3 x 4 輸出類型:矩陣 鍵控類型:金屬,耐破壞 圖例:電話格式 可換式圖例:無 發(fā)光:不發(fā)光 密封等級:IP65