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

X  

AT89LP2052 датащи(PDF) 33 Page - ATMEL Corporation

номер детали AT89LP2052
подробное описание детали  8-bit Microcontroller with 2/4-Kbyte Flash
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP2052 датащи(HTML) 33 Page - ATMEL Corporation

Back Button AT89LP2052 Datasheet HTML 29Page - ATMEL Corporation AT89LP2052 Datasheet HTML 30Page - ATMEL Corporation AT89LP2052 Datasheet HTML 31Page - ATMEL Corporation AT89LP2052 Datasheet HTML 32Page - ATMEL Corporation AT89LP2052 Datasheet HTML 33Page - ATMEL Corporation AT89LP2052 Datasheet HTML 34Page - ATMEL Corporation AT89LP2052 Datasheet HTML 35Page - ATMEL Corporation AT89LP2052 Datasheet HTML 36Page - ATMEL Corporation AT89LP2052 Datasheet HTML 37Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 90 page
background image
33
3547F–MICRO–6/06
AT89LP2052/LP4052
17.4
More About Mode 1
Ten 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 SCON. In the
AT89LP2052/LP4052, the baud rate is determined by the Timer 1 overflow rate. The baud rate
is determined by the Timer 1 overflow rate. Figure 17-2 shows a simplified functional diagram of
the serial port in Mode 1 and associated timings for transmit and receive.
Transmission is initiated by any instruction that uses SBUF as a destination register. The “write
to SBUF” signal also loads a “1” into the ninth bit position of the transmit shift register and flags
the TX Control unit that a transmission is requested. Transmission actually commences at S1P1
of the machine cycle following the next rollover in the divide-by-16 counter. Thus, the bit times
are synchronized to the divide-by-16 counter, not to the “write to SBUF” signal.
The transmission begins when SEND is activated, which puts the start bit at TXD. One bit time
later, DATA is activated, which enables the output bit of the transmit shift register to TXD. The
first shift pulse occurs one bit time after that.
As data bits shift out to the right, “0”s are clocked in from the left. When the MSB of the data byte
is at the output position of the shift register, the “1” that was initially loaded into the ninth position
is just to the left of the MSB, and all positions to the left of that contain “0”s. This condition flags
the TX Control unit to do one last shift, then deactivate SEND and set TI. This occurs at the tenth
divide-by-16 rollover after “write to SBUF.”
Reception is initiated by a 1-to-0 transition detected at RXD. For this purpose, RXD is sampled
at a rate of 16 times the established baud rate. When a transition is detected, the divide-by-16
counter is immediately reset, and 1FFH is written into the input shift register. Resetting the
divide-by-16 counter aligns its roll-overs with the boundaries of the incoming bit times.
The 16 states of the counter divide each bit time into 16ths. At the seventh, eighth, and ninth
counter states of each bit time, the bit detector samples the value of RXD. The value accepted is
the value that was seen in at least 2 of the 3 samples. This is done to reject noise. In order to
reject false bits, if the value accepted during the first bit time is not 0, the receive circuits are
reset and the unit continues looking for another 1-to-0 transition. If the start bit is valid, it is
shifted into the input shift register, and reception of the rest of the frame proceeds.
As data bits come in from the right, “1”s shift out to the left. When the start bit arrives at the left
most position in the shift register, (which is a 9-bit register in Mode 1), it flags the RX Control
block to do one last shift, load SBUF and RB8, and set RI. The signal to load SBUF and RB8
and to set RI is generated if, and only if, the following conditions are met at the time the final shift
pulse is generated.
RI = 0 and
Either SM2 = 0, or the received stop bit = 1
If either of these two conditions is not met, the received frame is irretrievably lost. If both condi-
tions are met, the stop bit goes into RB8, the 8 data bits go into SBUF, and RI is activated. At
this time, whether or not the above conditions are met, the unit continues looking for a 1-to-0
transition in RXD.



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


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

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