전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2591 데이터시트(PDF) 9 Page - STMicroelectronics

부품명 AN2591
상세설명  In certain applications
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2591 데이터시트(HTML) 9 Page - STMicroelectronics

Back Button AN2591 Datasheet HTML 5Page - STMicroelectronics AN2591 Datasheet HTML 6Page - STMicroelectronics AN2591 Datasheet HTML 7Page - STMicroelectronics AN2591 Datasheet HTML 8Page - STMicroelectronics AN2591 Datasheet HTML 9Page - STMicroelectronics AN2591 Datasheet HTML 10Page - STMicroelectronics AN2591 Datasheet HTML 11Page - STMicroelectronics AN2591 Datasheet HTML 12Page - STMicroelectronics AN2591 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 19 page
background image
AN2591
Expanding the number of inputs
9/19
2.2
Using shift registers
2.2.1
Expanding the number of inputs to 8 lines
A PISO (Parallel In Serial Out) shift register can also be used to increase the number of
inputs. Figure 7 shows how to connect a shift register M74HC165 to a microcontroller using
only 3 GPIOs.
The shift register sends data serially to the microcontroller via its QH output (pin 9) using
synchronous communication.
First, you load the 8 bit data available on the inputs (A to H) into the register by applying a
load pulse (set it low and then high again), the 8 bits of data are loaded in parallel into the
register. The logic level that was present at the H input appears immediately on the QH
output when the latch pulse is applied. Then, on each subsequent rising edge of the clock
(pin 2), the logic level of the next bit appears on the QH output and can be read via the
GPIO0.2 input and shifted by software to build a byte of data. 8 bits of data take 7 clock
pulses (generated by the microcontroller) to shift out one byte and not 8 clocks because
initially the higher bit was present on QH.
The number of lines saved is 8 - 3 = 5.
Figure 7.
Expander for 8 inputs using a shift register: M74HC165
µC
GPIO0.0
M74HC165
GPIO0.1
GPIO0.2
A
B
C
D
E
F
G
H
11
13
12
14
3
4
5
6
3.3v
GND
S/L
CK
QH
Vcc
SI
16
1
2
9
10
8
8 inputs
CK INH
15
QH



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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