STMPE1801BJR STMicroelectronics, STMPE1801BJR Datasheet

no-image

STMPE1801BJR

Manufacturer Part Number
STMPE1801BJR
Description
Touch Screen Converters & Controllers Xpander Logic 18-Bit 18 GPIO 1.65 to 3.6V
Manufacturer
STMicroelectronics
Datasheet

Specifications of STMPE1801BJR

Rohs
yes
Input Type
1 Keypad
Data Rate
400 kbps
Resolution
18 bit
Interface Type
I2C
Supply Voltage
1.65 V to 3.6 V
Supply Current
28 uA
Operating Temperature
- 40 C to + 85 C
Package / Case
CSP-25
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Supply Voltage - Max
3.6 V
Supply Voltage - Min
1.65 V

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STMPE1801BJR
Manufacturer:
Intersil
Quantity:
1 048
Part Number:
STMPE1801BJR
Manufacturer:
ST
0
Part Number:
STMPE1801BJR
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
STMPE1801BJR
Quantity:
65 000
Features
Table 1.
March 2011
18 GPIOs configurable as GPI, GPO, keypad
matrix, special key or dedicated key function
Operating voltage: 1.65 - 3.6 V
Hardware keypad controller (KPC)
(10 x 8 matrix with 4 optional dedicated keys
maximum)
Keypad controller capable of detecting
keypress in hibernation mode
Interrupt output (open drain) pin
Advanced power management system
Ultra-low standby mode current
Programmable pull-up resistors for all GPIO
pins
ESD performance on GPIO pins:
– ± 8 kV human body model
ESD performance on V
SCL, SDA pins:
– ± 3 kV human body model
(JESD22 A114-C)
(JESD22 A114-C)
STMPE1801BJR
Order code
Device summary
18-bit enhanced port expander with keypad controller
CC
, GND, INT
Flip-chip CSP 25 (2.03 x 2.03 mm)
B
, R
Doc ID 17884 Rev 3
STB
0.4 mm pitch
,
Package
Description
The STMPE1801 is a GPIO (general purpose
input/output) port expander capable of interfacing
a main digital ASIC via the two-line bidirectional
bus (I
used in mobile multimedia platforms to resolve
the problem of the limited number of GPIOs
typically available on digital engines.
The STMPE1801 offers high flexibility, as each
I/O can be configured as input, output, special
key, keypad matrix or dedicated key function. This
device is designed to include very low quiescent
current, and a wakeup feature for each I/O, to
optimize the power consumption of the device.
Potential applications for the STMPE1801 include
portable media players, game consoles, mobile
and smart phones.
2
C). A separate GPIO expander IC is often
Flip-chip CSP 25
(2.03 x 2.03 mm)
Xpander Logic™
STMPE1801
Tape and reel
Packaging
www.st.com
1/60
60

Related parts for STMPE1801BJR

STMPE1801BJR Summary of contents

Page 1

... GND, INT CC SCL, SDA pins: – ± human body model (JESD22 A114-C) Table 1. Device summary Order code STMPE1801BJR March 2011 Description The STMPE1801 is a GPIO (general purpose input/output) port expander capable of interfacing a main digital ASIC via the two-line bidirectional 2 bus (I C) ...

Page 2

Contents Contents 1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 3

STMPE1801 ...

Page 4

Block diagram 1 Block diagram Figure 1. STMPE1801 block diagram 4/60 Doc ID 17884 Rev 3 STMPE1801 ...

Page 5

STMPE1801 2 Pin settings 2.1 Pin connection Figure 2. Pin connection (top-through view) 2.2 Pin description Table 2. Pin description Pin number Type RSTB _ GPIO_ 1 4 GPIO9 ...

Page 6

Pin settings Table 2. Pin description (continued) Pin number Type 2.3 GPIO pin functions Table 3. GPIO pin function Name GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 ...

Page 7

STMPE1801 Table 3. GPIO pin function Name GPIO13 GPIO14 GPIO15 GPIO16 GPIO17 The default function is always GPIO. As soon as the key scanning is enabled through the keypad registers, the function is then switched to the key function and ...

Page 8

Maximum ratings 3 Maximum ratings Stressing the device above the rating listed in the “absolute maximum ratings” table may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other ...

Page 9

STMPE1801 4 Electrical specification 4.1 DC electrical characteristics Table 6. DC electrical characteristics Symbol V Supply voltage CC Active current (core I and analog key CC press I Hibernate current HIBERNATE Open drain output I NTB current Parameter ...

Page 10

Electrical specification 4.2 Input/Output DC electrical characteristics Table 7. I/O DC electrical characteristics Symbol V Low level input voltage IL V High level input voltage IH V Schmitt trigger hysteresis HYST V Low level output voltage OL V High level ...

Page 11

STMPE1801 5 Register address Table 8. STMPE1801 register summary table Addres Register name s 00 CHIP_ID 01 VERSION_ID 02 SYS_CTRL 04 INT_CTRL_LOW 05 INT_CTRL_HIGH 06 INT_EN_MASK_LOW 07 INT_EN_MASK_HIGH 08 INT_STA_LOW 09 INT_STA_HIGH INT_EN_GPIO_MASK 0A _LOW INT_EN_GPIO_MASK 0B _MID INT_EN_GPIO_MASK 0C ...

Page 12

Register address Table 8. STMPE1801 register summary table Addres Register name s 19 GPIO_SET_DIR_LOW 1A GPIO_SET_DIR_MID GPIO_SET_DIR_HIG GPIO_RE_LOW 1D GPIO_RE_MID 1E GPIO_RE_HIGH 1F GPIO_FE_LOW 20 GPIO_FE_MID 21 GPIO_FE_HIGH GPIO_PULL_UP_LO GPIO_PULL_UP_MID GPIO_PULL_UP_HIG ...

Page 13

STMPE1801 Table 8. STMPE1801 register summary table Addres Register name s 3A KPC_DATA_BYTE0 3B KPC_DATA_BYTE1 3C KPC_DATA_BYTE2 3D KPC_DATA_BYTE3 3E KPC_DATA_BYTE4 Auto- Description 7 increment UP UP Keypad data Yes UP SF7 SF6 SF5 ...

Page 14

I2C specification specification The features supported by the I 2 ● slave device ● Operates at V ● Compliant to Philips I ● Supports standard (up to 100 kbps) and fast (up to 400 ...

Page 15

STMPE1801 6.5 Acknowledge bit (ACK) The acknowledge bit is used to indicate a successful byte transfer. The bus transmitter releases the SDA after sending eight bits of data. During the ninth bit, the receiver pulls the SDA low to acknowledge ...

Page 16

I2C specification Table 9. Operating modes Mode Write Figure 3. Operating modes One Byte Read More than One Byte Read One Byte Write More than One Byte Write 16/60 Byte Programming sequence START, Device Address, R/W =0, Register Address to ...

Page 17

STMPE1801 6.9 General call address A general call address is a transaction with the slave address of 0x00 and R/W =0. When a general call address is asserted, the STMPE1801 responds to this transaction with an acknowledgement and behaves as ...

Page 18

System controller 7 System controller 7.1 System level registers The system controller is the heart of the STMPE1801. It contains the registers for power control and chip identification. The system registers are: Address CHIP_ID ...

Page 19

STMPE1801 SYS_CTRL 7 6 SF_RST Address: 02 Type: R/W Reset: 0x06 Description: System control register. [7] SF_RST: Soft Reset Writing a ‘1’ to this bit will do a soft reset of the device. Once the reset ...

Page 20

System controller 7.2 States of operation Figure 4. States of operation The device has two main modes of operation: ● Operational mode: This is the mode, whereby normal operation of the device takes place. In this mode, the main finite ...

Page 21

STMPE1801 Any keypad activity, interrupt event, hotkey activity or VALID I device from Hibernate mode and switches to operational mode automatically. 7.2.2 Keypress detect in the Hibernate mode When in Hibernate mode, any keypress detected causes the system to go ...

Page 22

Clocking system 8 Clocking system In order to reduce the power consumption, the STMPE1801 turns off the oscillator during Hibernate mode. Figure 5. Clocking system 8.0.1 Clock source By default, when the STMPE1801 powers up, it derives a 32 kHz ...

Page 23

STMPE1801 8.0.2 Power mode programming sequence The device enters auto Hibernate mode when there is inactivity for a fixed period of time. To wake up the device, the host is required to: – Send soft ...

Page 24

Interrupt system 9 Interrupt system The STMPE1801 uses a highly flexible interrupt system. It allows the host system to configure the type of system events that should result in an interrupt, and pinpoints the source of interrupt by status registers. ...

Page 25

STMPE1801 9.1 Interrupt system register map Table 11. Interrupt system register map Address Register name 04 INT_CTRL_LOW 05 INT_CTRL_HIGH 06 INT_EN_MASK_LOW 07 INT_EN_MASK_HIGH 08 INT_STA_LOW 09 INT_STA_HIGH 0A INT_EN_GPIO_MASK_LOW 0B INT_EN_GPIO_MASK_MID 0C INT_EN_GPIO_MASK_HIGH 0D INT_STA_GPIO_LOW 0E INT_STA_GPIO_MID 0F INT_STA_GPIO_HIGH 9.2 ...

Page 26

Interrupt system INT_CTRL INT_CTRL_HIGH Address: 04, 05 Type: R, R/W Reset: 0x00 Description: The interrupt control register is used to configure the interrupt controller. It has global enable interrupt mask ...

Page 27

STMPE1801 INT_EN_MASK INT_EN_MASK_HIGH Address: 06, 07 Type: R, R/W Reset: 0x00 Description: The interrupt enable mask register is used to enable the interruption from a ...

Page 28

Interrupt system INT_STA INT_STA_HIGH Address: 08, 09 Type: R Reset: 0x00 Description: The interrupt status register monitors the status of the interruption from a particular ...

Page 29

STMPE1801 INT_EN_GPIO_MASK 7 6 IEG7 IEG6 IEG5 IEG15 IEG14 IEG13 Address: 0A, 0B, 0C Type: R/W Reset: 0x00 Description: The ...

Page 30

Interrupt system NT_STA_GPIO 7 6 ISG7 ISG6 ISG5 ISG15 ISG14 ISG13 Address: 0D, 0E, 0F Type: R Reset: 0x00 Description: The interrupt ...

Page 31

STMPE1801 9.3 Programming sequence To configure and initialize the interrupt controller to allow interruption to host, observe the following steps: 1. Set the INT_EN_MASK and INT_EN_GPIO_MASK registers to the desired values to enable the interrupt sources that are to be ...

Page 32

GPIO controller 10 GPIO controller A total of 18 GPIOs are available in the STMPE1801 port expander device. Most of the GPIOs are sharing physical pins with alternate functions. The GPIO controller contains the registers that allow the host system ...

Page 33

STMPE1801 10.1 GPIO control registers A group of registers is used to control the exact function of each of the 18 GPIOs. All the GPIO registers are named as GPIO_xxx_yyy, where: – xxx represents the functional group – yyy represents ...

Page 34

GPIO controller 10.2 Hotkey feature A GPIO is known as ‘Hotkey’ when it is configured to trigger an interruption to the host whenever the GPIO input is being asserted. This feature is applicable in operational mode as well as in ...

Page 35

STMPE1801 11 Keypad controller The keypad controller consists of: – 4 dedicated key controllers that support simultaneous dedicated key presses; – a keyscan controller support a maximum key matrix with detection of three ...

Page 36

Keypad controller Figure 7. Keypad controller The keypad rows enabled by the KPC_ROW register are normally 'high', with the corresponding input pins pulled up by resistors internally. After reset, all the keypad columns enabled by the KPC_COL register are driven ...

Page 37

STMPE1801 key-press ROW. This is because the row and column node of key press are shorted together. 4. The state machine continues to poll while the key is still pressed and is reinitialized once all the keys are released. The ...

Page 38

Keypad controller 11.1 Keypad configurations The keypad controller supports the following types of keys: ● columns * 8 rows matrix keys ● special function keys ● dedicated keys Figure 8. Keypad ...

Page 39

STMPE1801 Figure 9. Keypad configurations STMPE1801 Input Row 0-7 Dedicated Keys 10*4 (40) Matrix Keys 4 Special Function Keys 4 Dedicated Keys Matrix keypad (10*4) Doc ID 17884 Rev 3 Keypad controller Special Function Keys 39/60 ...

Page 40

Keypad controller 11.2 Keypad controller registers The mapping between the keypad controller (rows and columns) and the GPIO is based on Section 2.3. Table 14. Keypad controller registers Address 30 31 KPC_COL_LOW 32 KPC_COL_HIGH 33 KPC_CTRL_LOW 34 KPC_CTRL_MID 35 KPC_CTRL_HIGH ...

Page 41

STMPE1801 KPC_ROW Address: 30 Type: R/W Reset: 0x00 Description: Keypad row scanning [7:0] Input row 0 – 7: ‘1’: Turn on scanning of the corresponding row .‘0’: Turn off KPC_COL_HIGH ...

Page 42

Keypad controller KPC_COL_LOW Address: 31 Type: R/W Reset: 0x00 Description: Keypad column scanning register. [7:0] OUTPUT COLUMN 0-7: ‘1’: Turn on scanning of the corresponding column. ‘0’: Turn off KPC_CTRL_LOW 7 6 SCAN_COUNT ...

Page 43

STMPE1801 KPC_CTRL_MID Address: 34 Type: R/W Reset: 0x31 Description: Keypad control register. [7:1] DB[7:2] and DB0: DB0 bit is fixed to ‘1’. 10-127ms of de-bounce time De-bounce time range is from 10 ms ...

Page 44

Keypad controller KPC_CTRL_HIGH 7 6 RSVD CMB_KEY Address: 35 Type: R/W, R 0x40 Reset: Description: Keypad data register. [7:4] RESERVED [6] CMB_KEY: Combination key mode 1: AND function for combination-key interrupt (default function for ...

Page 45

STMPE1801 The KPC_LOCK bit is only used when a combination key is configured in the device. If there is no combination key programmed, then this bit is not used. This command is used in conjunction with the combination keys. After ...

Page 46

Keypad controller 11.3 Data registers The KPC_DATA register contains five bytes of information. The first three bytes store the key coordinates and status of any three keys from the normal key matrix, while the fourth byte stores the status of ...

Page 47

STMPE1801 KPC_DATA_BYTE0 7 6 UP/DWN Address: 3A Type: R Reset: 0xF8 Description: Keypad data register. [7] UP/DWN: 0: key-down 1: key-up [6:3] C[3:0]: Column number of key 1 (valid range: 0000-1001) 0x1111: No key ...

Page 48

Keypad controller KPC_DATA_BYTE2 7 6 UP/DOWN Address: 3C Type: R Reset: 0xF8 Description: Keypad data register. [7] UP/DOWN: 0: key-down 1: key-up [6:3] C[3:0]: Column number of key 3 (valid range: 0000-1001) 0x1111: No ...

Page 49

STMPE1801 KPC_DATA_BYTE4 7 6 RESERVED Address: 3E Type: R Reset: 0x0F Description: Keypad data register. [7:4] RESERVED [3:0] Dedicated key [3:0]: 0: Key down 1: Key ...

Page 50

Keypad controller 11.4 Keypad combination key registers The 3 keypad controller mask registers contains the key combination to be used to wake up the KPC and send an interrupt to the host system. KPC_COMB_KEY_n ...

Page 51

STMPE1801 11.5 Using the keypad controller It is not necessary to explicitly enable the internal pull-up, pull-down and direction by configuring the GPIO control registers. Once a GPIO is enabled for the keypad function, its internal pull-up, pull-down and direction ...

Page 52

Keypad controller 11.5.3 Keypad wakeup from Hibernate mode The keypad controller is functional in Hibernate mode as long enabled before entering the Hibernate mode. It will then wake the system up into operational mode if a valid ...

Page 53

STMPE1801 12 Miscellaneous features 12.1 Reset The STMPE1801 is equipped with an internal POR circuit that holds the device in reset state, until the clock is steady and V filter with minimum 180 STMPE1801 by ...

Page 54

Package mechanical data 13 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ® ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available ...

Page 55

STMPE1801 Table 15. Package mechanical data for Flip-chip CSP 25 (2.03 x 2.03 mm) 0.4 mm pitch Symbol ccc Figure 11. Footprint recommendation Millimeters Min Typ 0.55 0.605 0.17 0.205 ...

Page 56

Package mechanical data Figure 12. Device marking Figure 13. Carrier tape information 1. Pin top left corner based on above tape orientation. 56/60 Doc ID 17884 Rev 3 STMPE1801 ...

Page 57

STMPE1801 Table 16. Carrier tape specifications Symbol 10P0 Table 17. Tape width (millimeters) Tape width 8 Min 2.06 2.06 0.64 3.45 7.90 1.95 3.90 39.80 1.50 0.185 3. ...

Page 58

Package mechanical data Figure 14. Reel drawing (front) Figure 15. Reel drawing (back) 58/60 Doc ID 17884 Rev 3 STMPE1801 ...

Page 59

STMPE1801 14 Revision history Table 18. Document revision history Date 15-Nov-2010 13-Dec-2010 09-Mar-2011 Revision 1 Initial release. 2 Updated: Figure 12 and added footnote related to 3 Updated: Pin A1 function in Doc ID 17884 Rev 3 Revision history Changes ...

Page 60

... Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. ...

Related keywords