Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

AN2591 Datasheet(PDF) 12 Page - STMicroelectronics

No. de pieza AN2591
Descripción Electrónicos  In certain applications
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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