công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

SH79F3283P/032PR bảng dữ liệu(PDF) 95 Page - SINOWEALTH Electronic Ltd

tên linh kiện SH79F3283P/032PR
Giải thích chi tiết về linh kiện  Enhanced 8051 Microcontroller with 12bit ADC
PDF  144 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SINOWEALTH [SINOWEALTH Electronic Ltd]
Trang chủ  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F3283P/032PR bảng dữ liệu(HTML) 95 Page - SINOWEALTH Electronic Ltd

Back Button SH79F3283P/032PR Datasheet HTML 91Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 92Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 93Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 94Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 95Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 96Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 97Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 98Page - SINOWEALTH Electronic Ltd SH79F3283P/032PR Datasheet HTML 99Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 144 page
background image
SH79F3283
95
Baud Rate Generate
In Mode0, the baud rate is programmable to either 1/12 or 1/4 of the system clock. This baud rate is determined by SM2 bit.
When set to 0, the serial port runs at 1/12 of the system clock. When set to 1, the serial port runs at 1/4 of the system clock.
In Mode1 & Mode3, the baud rate can be selected from Timer4/2 overflow rate.
Individually set TCLK (T2CON.4) and RCLK (T2CON.5) to 1 to select Timer2 as baud clock source of TX & RX (Refer to
"Timer" section for details). Whether TCLK or RCLK is set to logic 1, Timer2 is baud rate generator mode. If TCLK and RCLK
are logic 0, Timer4 will be used as the baud clock source of TX & RX.
The Mode1 & 3 baud rate equations are shown below. [RCAP2H, RCAP2L] is the 16-bit auto-reload register for Timer2, and
[TH4, TL4] is the 16-bit reload register for Timer4.
L]
2
RCAP
H,
2
[RCAP
65536
f
16
2
1
BaudRate
−
×
×
=
SYS
, Baud Rate using Timer2, the clock source of Timer2 is system clock.
L]
2
RCAP
H,
2
[RCAP
65536
f
16
1
BaudRate
2
T
−
×
=
, Baud Rate using Timer2, the clock source of T2 input pin.
4]
TL
4,
[TH
65536
/PRESCALER
f
16
2
2
BaudRate
4
T
−
×
×
=
SMOD
, Baud Rate using Timer4, Timer4 works in Mode1.
In Mode2, the baud rate is programmable to either 1/32 or 1/64 of the system clock. This baud rate is determined by the
SMOD bit (PCON.7). When this bit is set to 0, EUART runs at 1/64 of the system clock. When set to 1, EUART runs at 1/32 of
the system clock.
)
64
f
(
2
BaudRate
SYS
SMOD
×
=
Multi-Processor Communication
Software Address Recognition
Modes2 and 3 of the EUART have a special function for multi-processor communication. In these modes, 9 data bits are
received. The 9th bit goes into RB8. Then a stop bit follows. The EUART can be programmed such that when the stop bit is
received, the serial port interrupt will be activated (i.e. the request flag RI is set) only if RB8 = 1. This feature is enabled by
setting the bit SM2 in SCON.
A way to use this feature in multiprocessor communications is as follows. lf the master processor wants to transmit a block of
data to one of the several slaves, it first sends out an address byte which identifies the target slave. An address byte differs
from a data byte by using the 9th bit. The 9
th bit is 1 in an address byte, the 9th bit is 0 in a data byte.
If SM2 is 1, slave will not respond to data byte interrupt. An address byte, however, will interrupt all slaves, so that each slave
can examine the received byte and see if it is being addressed. The addressed slave will clear its SM2 bit and prepare to
receive the data bytes that will be coming. After having received a complete message, the slave sets SM2 again. The slaves
that were not addressed keep their SM2 setting and go on with their business, ignoring the incoming data bytes.
Note: In Mode0, SM2 is used to select baud rate doubling. In Mode1, SM2 can be used to check the validity of the stop bit. If
SM2 = 1, the receive interrupt will not be activated unless a valid stop bit is received.
Automatic (Hardware) Address Recognition
In Mode2 & 3, setting the SM2 bit will configure EUART act as following: when a stop bit is received, EUART will generate an
interrupt only if the 9
th bit that goes into RB8 is logic 1 (address byte) and the received data byte matches the EUART slave
address. Following the received address interrupt, the slave should clear its SM2 bit to enable interrupts to receive the
following data byte(s).
The 9-bit mode requires that the 9
th information bit is 1 to indicate that the received information is address rather than data. When
the master processor wants to transmit a block of data to one of the slaves, it must first send out the address of the targeted slave
(or slaves). All the slave processors should have their SM2 bit set high when waiting for an address byte, which ensures that they
will be interrupted only by the reception of an address byte. The Automatic address recognition feature further ensures that only
the address matching slave will be interrupted. The address comparison is done by hardware not software.
After being interrupted, the address matching slave clears the SM2 bit to receive data bytes. The un-addressed slaves will be
unaffected, they will be still waiting for their address. Once the entire message is received, the addressed slave should set its
SM2 bit to ignore all not address byte in transmission until it receives the next address byte.
The Automatic Address Recognition feature allows a master to selectively communicate with one or more slaves by invoking
the Given Address. All of the slaves may be contacted by using the Broadcast address. Two special Function Registers are
used to define the slave’s address (SADDR) and the address shield (SADEN). The slave address is an 8-bit byte stored in the
SADDR register. The SADEN register is actually used to define whether the byte value in SADDR is valid or not. If a bit
position in SADEN is 0, then the corresponding bit position in SADDR is i. Only those bit positions in SADDR whose
corresponding bits in SADEN are 1 are used to obtain the Given Address. This gives the user flexibility to address multiple
slaves without changing the slave address in SADDR. Use of the Given Address allows multiple slaves to be recognized while
excluding others.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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