công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2591 bảng dữ liệu(PDF) 11 Page - STMicroelectronics

tên linh kiện AN2591
Giải thích chi tiết về linh kiện  In certain applications
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2591 bảng dữ liệu(HTML) 11 Page - STMicroelectronics

Back Button 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 AN2591 Datasheet HTML 14Page - STMicroelectronics AN2591 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 19 page
background image
AN2591
Using a STMPE801 (I²C bus) 8-bit I/O port expander
11/19
3
Using a STMPE801 (I²C bus) 8-bit I/O port expander
The STMPE801 is a General Purpose Input / Output (GPIO) expander specially designed
for expanding the input/output lines and solving the common problem of not having enough
GPIOs available for the application. This IC offers several features:
●
8 available GPIOs.
●
Each GPIO can be individually configured as input or output in the data direction
register GPDR and can be a source of an external interrupt configurable in the
IEGPIOR register.
●
This device interfaces to the microcontroller using an I2C bus.
●
Up to 2 devices (2 x STMPE801) can share the same I2C bus.
Note:
For more details refer to the STMPE801 datasheet.
3.1
Expanding the number of inputs/outputs to 8 lines
Figure 9 shows how the STMPE801 is connected via I2C bus to the microcontroller. When
ADDR0 pin is connected to ground, the I2C device address will be 0x82, otherwise (ADDR0
= Vcc) the device address will be 0x88.
Figure 9.
Eight channel expander
Each GPIO (0 to 7) can be configured independently as input or output (see details in the
GPDR section in STMPE801 datasheet). You can read the state of each GPIO in the GPMR
register. To set a GPIO state, you need to set its value in the GPSR register.
The INT (interrupt) output can be optionally used to increase the number of external inter-
rupt sources of the microcontroller by connecting it to one of external interrupt lines: XTI
microcontroller interrupt input. To use this option, you must first configure the IEGPIOR reg-
ister to enable the interrupt from a particular GPIO interrupt source to the host. After that,
µC
SDA
STMPE801MTR
SCL
XTI
3
5
4
6
7
8
9
10
VCC
16
VIO
1
3.3v
GND
INT
SCLK
SDAT
GPIOX.Y
RESET
ADDR0
4.7K
4.7K
R1
R2
8 inputs/
outputs
15
GPIO0
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
13
11
12
14
2
If needed
(I2C device address=0x82)



Html Pages

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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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