поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT80C51 датащи(PDF) 40 Page - List of Unclassifed Manufacturers

номер детали HT80C51
подробное описание детали  User Manual Document Information
PDF  132 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ETC2 [List of Unclassifed Manufacturers]
домашняя страница  
Logo ETC2 - List of Unclassifed Manufacturers

HT80C51 датащи(HTML) 40 Page - List of Unclassifed Manufacturers

Back Button HT80C51 Datasheet HTML 36Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 37Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 38Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 39Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 40Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 41Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 42Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 43Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 44Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 132 page
background image
Handshake Solutions
HT80C51 User Manual
Peripheral Modules – Standard Serial Interface (SIO0)
Page 40 of 132
© Philips Electronics N.V. 2005
5.3.5.
Setting up the serial port
[Table 8] summarizes the initialization values for SCON to select different modes of the UART.
baud rate
SCON
SM0
SM1
SIO mode
SMOD = 0
SMOD = 1
SM2 = 0:
single processor
environment
SM2 = 1:
multi processor
environment
0
0
1
1
0
1
0
1
mode 0: shift register
mode 1: 8bit UART
mode 2: 9bit UART
mode 3: 9bit UART
fsio_clk_i
ft01_overflow /32
fsio_clk_i /64
ft01_overflow /32
fsio_clk_i
ft01_overflow /16
fsio_clk_i /32
ft01_overflow /16
10H
50H
90H
D0H
NA
70H
B0H
F0H
[Table 8]
Serial Port Setup
5.3.5.1.
Generating Baud Rates
Serial Port in Mode 0:
Mode 0 has a fixed baud rate which is the frequency at clock input sio_clk_i. To run the serial port
in this mode none of the Timer/Counters need to be set up. Only the SCON register needs to be de-
fined.
i
clk
sio
f
Rate
Baud
_
_
=
Serial Port in Mode 1:
Mode 1 has a variable baud rate. Timer 1 generates the baud rate.
For this purpose, Timer 1 is used in mode 2 (Auto-Reload). Refer to the initialization section of the
timer description (Chapter 5.2.5).
()
[]
1
256
32
_
_
01
TH
f
K
Rate
Baud
i
clk
t
×
×
=
If SMOD = 0, then K = 1.
If SMOD = 1, then K = 2 (SMOD is in the PCON register).
Most of the time the user knows the baud rate and needs to know the reload value for TH1.
)
(
32
256
1
_
_
01
rate
baud
f
K
TH
i
clk
t
×
×
=
TH1 must be an integer value. Rounding off TH1 to the nearest integer may not produce the desired
baud rate. In this case, the user may have to choose another crystal frequency.
Since the PCON register is not bit addressable, one way to set the bit is logical ORing the PCON register
(i.e., ORL PCON,#80H). The address of PCON is 87H.
Serial Port in Mode 2:
The baud rate is fixed in this mode and is 1/32 or 1/64 of the frequency at clock input sio_clk_i,
depending on the value of the SMOD bit in the PCON register.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com