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

X  

AN2591 데이터시트(PDF) 12 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) 12 Page - STMicroelectronics

Back Button 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 AN2591 Datasheet HTML 14Page - STMicroelectronics AN2591 Datasheet HTML 15Page - STMicroelectronics AN2591 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 19 page
background image
Using a STMPE801 (I²C bus) 8-bit I/O port expander
AN2591
12/19
you must configure the INTPolarity bit and the INT_Enable bit in the SystemControl register
(address = 0x04).
You must read the ISGPIOR register in interrupt routine to determine which GPIO has
generated the interrupt. Each bit of this register, represents the interrupt status of each
GPIO pin.
The VIO pin is provided to fix the voltage used by the GPIOs. The VIO pin level, must be
greater than or equal to the Vcc level.
The RESET input pin is connected to any microcontroller GPIO to initialize the STMPE801
when it is needed.
3.2
Expanding the number of I/Os to 16 lines
The STMPE801 design supports connecting up to two devices in the same I2C bus to obtain
16 additional input/output lines.
Figure 10 shows how two STMPE801 share the two lines of the I2C interface with different
addresses. The first device the has its ADDR0 input connected to ground will have the
address 0x82, whereas the ADDR0 input of the second device is connected to Vcc to fix the
I2C device address to 0x88.
It is possible to use the two interrupt outputs of the two devices to expand the interrupt lines
to 16. Each interrupt output (INT: pin 11) is connected to an interrupt input (two interrupt
inputs are used, see Figure 10).
Note:
When only one interrupt is available in the microcontroller you are using, you can add an
appropriate logic gate to connect the two INT outputs to its inputs and connect the gate
output to the interrupt input of the microcontroller. In this case, to determine which GPIO has
generated the interrupt, you must read the ISGPIOR register of each device).



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