參數(shù)資料
型號: P89C664
廠商: NXP Semiconductors N.V.
元件分類: 8位微控制器
英文描述: 80C51 8-bit Flash microcontroller family
中文描述: 80C51的8位閃存微控制器系列
文件頁數(shù): 39/89頁
文件大?。?/td> 491K
代理商: P89C664
Philips Semiconductors
Product data
P89C660/P89C662/P89C664/
P89C668
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
2002 Oct 28
39
When Timer 2 is in the baud rate generator mode, one should not try
to read or write TH2 and TL2. As a baud rate generator, Timer 2 is
incremented every state time (f
OSC
/2) or asynchronously from pin
T2; under these conditions, a read or write of TH2 or TL2 may not
be accurate. The RCAP2 registers may be read, but should not be
written to, because a write might overlap a reload, and cause write
and/or reload errors. The timer should be turned off (clear TR2)
before accessing Timer 2 or RCAP2 registers.
Summary Of Baud Rate Equations:
Timer 2 is in baud rate
generating mode. If Timer 2 is being clocked through pin T2(P1.0)
the baud rate is:
Timer 2 Overflow Rate
16
If Timer 2 is being clocked internally, the baud rate is:
Baud Rate
Baud Rate
f
OSC
(RCAP2H,RCAP2L)]]
[ n *
[65536
* n =
16 in 6 clock mode
32 in 12 clock mode
Where f
OSC
= Oscillator Frequency
To obtain the reload value for RCAP2H and RCAP2L, the above
equation can be rewritten as:
RCAP2H,RCAP2L
65536
f
OSC
Baud Rate
n *
Timer/Counter 2 Set-up
Except for the baud rate generator mode, the values given for T2CON
do not include the setting of the TR2 bit. Therefore, bit TR2 must be
set, separately, to turn the timer on. See Table 11 for set-up of Timer 2
as a timer. Also see Table 12 for set-up of Timer 2 as a counter.
Table 11.
Timer 2 as a Timer
T2CON
MODE
INTERNAL CONTROL
(Note 1)
EXTERNAL CONTROL
(Note 2)
16-bit Auto-Reload
00H
08H
16-bit Capture
01H
09H
Baud rate generator receive and transmit same baud rate
34H
36H
Receive only
24H
26H
Transmit only
14H
16H
Table 12.
Timer 2 as a Counter
TMOD
MODE
INTERNAL CONTROL
(Note 1)
EXTERNAL CONTROL
(Note 2)
16-bit
02H
0AH
Auto-Reload
03H
0BH
NOTES:
1. Capture/reload occurs only on timer/counter overflow.
2. Capture/reload occurs on timer/counter overflow and a 1-to-0 transition on T2EX (P1.1) pin except when Timer 2 is used in the baud rate
generator mode.
相關PDF資料
PDF描述
P89C664HFA 80C51 8-bit Flash microcontroller family
P89C664HFBD 80C51 8-bit Flash microcontroller family
P89C662HBA 80C51 8-bit Flash microcontroller family
P89C662HBBD 80C51 8-bit Flash microcontroller family
P89C664HBA 80C51 8-bit Flash microcontroller family
相關代理商/技術參數(shù)
參數(shù)描述
P89C664HBA 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:80C51 8-bit Flash microcontroller family
P89C664HBA/00,512 功能描述:8位微控制器 -MCU 64K/2K FL 6 CLK ISP/IAP COM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
P89C664HBBD 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:80C51 8-bit Flash microcontroller family
P89C664HBBD/00,557 功能描述:8位微控制器 -MCU 64K/2K FL 6 CLK ISP/IAP COM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
P89C664HFA 制造商:PHIL 功能描述: