Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2591 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN2591
Description  In certain applications
Download  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2591 Datasheet(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)


Similar Part No. - AN2591

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2590 STMICROELECTRONICS-AN2590 Datasheet
833Kb / 17P
   20 W dimmable CFL ballast solution
AN2593 STMICROELECTRONICS-AN2593 Datasheet
152Kb / 15P
   STR91x interrupt management
AN2595 STMICROELECTRONICS-AN2595 Datasheet
240Kb / 20P
   Designing an application with the ST10F27xZx devices
More results

Similar Description - AN2591

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN3011 STMICROELECTRONICS-AN3011 Datasheet
1Mb / 37P
   In certain applications such as LCD or plasma TVs
logo
Bourns Electronic Solut...
BPS140 BOURNS-BPS140 Datasheet
447Kb / 4P
   10 mm Analog High Pressure Sensor for Certain Harsh Media
logo
STMicroelectronics
AN1320 STMICROELECTRONICS-AN1320 Datasheet
164Kb / 20P
   IN BALLAST APPLICATIONS
AN421 STMICROELECTRONICS-AN421 Datasheet
93Kb / 11P
   In real time applications
AN3168 STMICROELECTRONICS-AN3168 Datasheet
321Kb / 20P
   In alternating current applications
logo
AVX Corporation
TAJC106M035R AVX-TAJC106M035R Datasheet
74Kb / 6P
   voltage derating in applications
logo
KEC(Korea Electronics)
PG03DXTEV KEC-PG03DXTEV Datasheet
439Kb / 2P
   Protection in Portable Electronics Applications.
PG15FBUSC KEC-PG15FBUSC Datasheet
439Kb / 2P
   Protection in Portable Electronics Applications.
PG15GSUSC KEC-PG15GSUSC Datasheet
438Kb / 2P
   Protection in Portable Electronics Applications.
logo
National Semiconductor ...
AN-2116 NSC-AN-2116 Datasheet
713Kb / 8P
   SolarMagic??ICs in Microinverter Applications
More results


Html Pages

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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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