Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 365 Page - STCmicro Technology Co,.Ltd

Part # STC12LE5616AD
Description  Enhanced 8051 Central Processing Unit ,1T per machine cycle, faster 8~12 times than the rate of a standard 8051.
PDF  377 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC12LE5616AD Datasheet(HTML) 365 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 361Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 362Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 363Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 364Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 365Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 366Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 367Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 368Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 369Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 365 / 377 page
background image
Appendix E: Using Serial port expand I/O interface
STC12C5620AD series MCU serial port mode0 can be used for expand IO if UART is free in your application.
UART Mode0 is a synchronous shift register, the baudrate is fixed at fosc/12, RXD pin (P3.0) is the data I/O port,
and TXD pin (P3.1) is clock output port, data width is 8 bits, always sent / received the lowest bit at first.
(1) Using 74HC165 expand parallel input ports
Please refer to the following circuit which using 2 pcs 74HC165 to expand 16 input I/Os
H G F E D C B A
10
12
13
14
3
4
5
6
Q
H
Q
H
SIN
S/L
CP
9
7
1
15
2
8
16
Vcc
74HC165
H G F E D C B A
11
12
13
14
3
4
5
6
Q
H
Q
H
SIN
S/L
CP
9
7
1
15
2
8
16
Vcc
74HC165
12Cxx
P3.0
P3.1
P1.0
10
104
104
11
74HC165 is a 8-bit parallel input shift register, when S/L (Shift/Load) pin is falling to low level, the parallel port
data is read into internal register, and now, if S/L is raising to high and ClockDisable pin (15 pin) is low level,
then clock signal from CP pin is enable. At this time register data will be output from the Dh pin (9 pin) with the
clock input.
…
MOV R7,#05H
;read 5 groups data
MOV R0,#20H
;set buffer address
START: CLR P1.0
;S/L = 0, load port data
SETB P1.0
;S/L = 1, lock data and enable clock
MOV R1,#02H
;2 bytes per group
RXDAT:MOV SCON,#00010000B
;set serial as mode 0 and enable receive data
WAIT:
JNB RI,WAIT
;wait for receive complete
CLR RI
;clear receive complete flag
MOV A,SBUF
;read data to ACC
MOV @R0,A
;save data to buffer
INC R0
;modify buffer ptr
DJNZ R1,RXDAT
;read next byte
DJNZ R7,START
;read next group
…
365



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