Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AT89LP428 Datasheet(PDF) 81 Page - ATMEL Corporation

Part # AT89LP428
Description  8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
PDF  149 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP428 Datasheet(HTML) 81 Page - ATMEL Corporation

Back Button AT89LP428 Datasheet HTML 77Page - ATMEL Corporation AT89LP428 Datasheet HTML 78Page - ATMEL Corporation AT89LP428 Datasheet HTML 79Page - ATMEL Corporation AT89LP428 Datasheet HTML 80Page - ATMEL Corporation AT89LP428 Datasheet HTML 81Page - ATMEL Corporation AT89LP428 Datasheet HTML 82Page - ATMEL Corporation AT89LP428 Datasheet HTML 83Page - ATMEL Corporation AT89LP428 Datasheet HTML 84Page - ATMEL Corporation AT89LP428 Datasheet HTML 85Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 81 / 149 page
background image
81
3654A–MICRO–8/09
AT89LP428/828
16.3
More About Mode 0
In Mode 0, the UART is configured as a 2-wire half-duplex synchronous serial interface. Serial
data enters and exits through RXD. TXD outputs the shift clock. Eight data bits are transmit-
ted/received, with the LSB first. Figure 16-1 on page 83 shows a simplified functional diagram of
the serial port in Mode 0 and associated timing. The baud rate is programmable to 1/2 or 1/4 the
oscillator frequency by setting/clearing the SMOD1 bit. However, changing SMOD1 has an
effect on the relationship between the clock and data as described below. The baud rate can
also be generated by Timer 1 by setting TB8. Table 16-4 lists the baud rate options for Mode 0.
Transmission is initiated by any instruction that uses SBUF as a destination register. The “write
to SBUF” signal also loads a “1” into the 9th position of the transmit shift register and tells the TX
Control Block to begin a transmission. The internal timing is such that one full bit slot may elapse
between “write to SBUF” and activation of SEND.
SEND transfers the output of the shift register to the alternate output function line of P3.0, and
also transfers Shift Clock to the alternate output function line of P3.1. As data bits shift out to the
right, “0”s come 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 9th 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 block to do
one last shift, then deactivate SEND and set TI.
Table 16-3.
Commonly Used Baud Rates Generated by Timer 2 (TPS = 0000B)
Baud Rate
f
OSC (MHz)
Timer 2
CP/RL2
C/T2
TCLK or RCLK
Reload Value
62.5K
12
0
0
1
FFF4H
19.2K
11.059
0
0
1
FFDCH
9.6K
11.059
0
0
1
FFB8H
4.8K
11.059
0
0
1
FF70H
2.4K
11.059
0
0
1
FEE0H
1.2K
11.059
0
0
1
FDC0H
137.5
11.986
0
0
1
EAB8H
110
6
0
0
1
F2AFH
110
12
0
0
1
E55EH
Table 16-4.
Mode 0 Baud Rates
TB8
SMOD1
Baud Rate
00
f
SYS/4
01
f
SYS/2
1
0
(Timer 1 Overflow)/4
1
1
(Timer 1 Overflow)/2



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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