STMPE2401TBR STMicroelectronics, STMPE2401TBR Datasheet

IC I/O EXPANDER I2C 24B 36TFBGA

STMPE2401TBR

Manufacturer Part Number
STMPE2401TBR
Description
IC I/O EXPANDER I2C 24B 36TFBGA
Manufacturer
STMicroelectronics
Datasheet

Specifications of STMPE2401TBR

Interface
I²C
Number Of I /o
24
Interrupt Output
Yes
Frequency - Clock
400kHz
Voltage - Supply
1.65 V ~ 1.95 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
36-TFBGA
Includes
Keypad, POR, PWM
For Use With
497-6426 - BOARD EVAL BASED ON STMPE2401
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6133-2

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STMPE2401TBR
Quantity:
5 990
Part Number:
STMPE2401TBR
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
STMPE2401TBR
Manufacturer:
ST
0
Part Number:
STMPE2401TBR
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
STMPE2401TBR
Quantity:
1 600
Features
Figure 1.
May 2007
24 GPIOs
Operating voltage 1.8V
Hardware key pad controller (8*12 matrix max)
3 PWM (8 bit) output for LED brightness control
and blinking
Interrupt output (open drain) pin
Configurable hotkey feature on each GPIO
Ultra-low Standby-mode current
Package TFBGA - 36 pins 3.6x3.6mm, pitch
0.5mm
24-bit Enhanced port expander with Keypad and PWM controller
STMPE2401TBR
Part number
Device summary
TFBGA36
Package
Rev 2
Description
The STMPE2401 is a GPIO (General Purpose
Input / output) port expander able to interface a
Main Digital ASIC via the two-line bidirectional
bus (I2C); separate GPIO Expander IC is often
used in Mobile-Multimedia platforms to solve the
problems of the limited amounts of GPIOs usually
available on the Digital Engine.
The STMPE2401 offers great flexibility as each
I/Os is configurable as input, output or specific
functions; it's able to scan a keyboard, also
provides PWM outputs for brightness control in
backlight, rotator decoder interface and GPIO.
This device has been designed very low
quiescent current, and is including a wake up
feature for each I/O, to optimize the power
consumption of the IC.
Potential application of the STMPE2401 includes
portable media player, game console, mobile
phone, smart phone
TFBGA
STMPE2401
Tape and reel
Packaging
Xpander logic
www.st.com
1/55
55

Related parts for STMPE2401TBR

STMPE2401TBR Summary of contents

Page 1

... Ultra-low Standby-mode current ■ Package TFBGA - 36 pins 3.6x3.6mm, pitch 0.5mm Figure 1. Device summary Part number STMPE2401TBR May 2007 TFBGA Description The STMPE2401 is a GPIO (General Purpose Input / output) port expander able to interface a Main Digital ASIC via the two-line bidirectional bus (I2C); separate GPIO Expander IC is often ...

Page 2

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

Page 3

STMPE2401 6 I2C Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 4

Contents 11 PWM controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5

STMPE2401 1 Block diagram Figure 1. Block diagram Block diagram 5/55 ...

Page 6

Pin settings 2 Pin settings 2.1 Pin connection Figure 2. Pin connection 2.2 Pin assignment and TFBGA ball location Table 1. Pin assignment Ball Reset_N 6/55 TFBGA Name Type ...

Page 7

STMPE2401 Table 1. Pin assignment Ball XTALOUT Name Type KP_X7 IO GPIO KP_Y5 IO GPIO ...

Page 8

Pin settings 2.3 GPIO Pin functions Table 2. GPIO Pin functions Pin N° Name 2 KP_X0 4 KP_X1 5 KP_X2 6 KP_X3 7 KP_X4 8 KP_X5 9 KP_X6 12 KP_X7 13 KP_Y5 14 KP_Y4 15 KP_Y3 16 KP_Y2 17 KP_Y1 ...

Page 9

STMPE2401 2.4 Pin mapping to TFBGA ( bottom view, balls up) Table 3. Pin mapping to TFBGA A 1 KP-X2 2 KP-X4 3 KP-X6 4 VCC 5 KP-Y5 6 KP- KP-X1 Reset_N XTALOUT KP-X3 KP-X0 XTALIN KP-X5 GND ...

Page 10

... These are stress ratings only and operation of the device at these or any other conditions above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum Rating conditions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant quality documents. 3.1 Absolute maximum rating Table 4 ...

Page 11

STMPE2401 4 Electrical specification 4.1 DC electrical characteristics Table 6. DC electrical characteristics Symbol VCC1,2 1.8V supply voltage I HIBERNATE mode HIBERNATE current I SLEEP mode current SLEEP Icc Operating current (FSM working – No peripheral activity) I _INT Open ...

Page 12

Electrical specification 4.4 DC output specification (1.55V < vdd < 1.95V) Table 9. DC output specification Symbol Ipu Pull-up current Ipd Pull-down current Rup Equivalent pull-up resistance Rpd Equivalent pull-down resistance Note: Pull-up and Pull-down characteristics 4.5 AC characteristics Table ...

Page 13

STMPE2401 5 Register map All registers have the size of 8-bit. Some of the registers are composed of 2-byte to form 16- bit registers. For each of the module, their registers are residing within the given address range. Table 11. ...

Page 14

I2C Interface Interface The features that are supported by the I 2 ● Slave device ● SDAT and SCLK operates from 1.8V to 3.3V ● Compliant to Philip I ● Supports Standard (up to ...

Page 15

STMPE2401 6.4 Data input The device samples the data input on SDATA on the rising edge of the SCLK. The SDATA signal must be stable during the rising edge of SCLK and the SDATA signal must change only when SCLK ...

Page 16

I2C Interface 6.7 Operation modes Table 13. Operating modes Mode Bytes START, Device Address, R Register Address to be read RESTART, Device Address, R Data Read, STOP If no STOP is issued, the Data Read can ...

Page 17

STMPE2401 Figure 4. I2C timing 2 Table 14 address Symbol f SCL clock frequency SCL t Clock low period LOW t Clock high period HIGH t SDA and SCL fall time F START condition hold time t HD:STA ...

Page 18

System controller 7 System controller The system controller is the heart of the STMPE2401. It contains the registers for power control, and the registers for chip identification. The system registers are: Table 15. System controller Address 0x00 0x01 0x80 0x81 ...

Page 19

STMPE2401 7.2 System control register Table 18. System control register Bit 7 6 Soft_Reset - Disable_32KHz Sleep Enable_GPIO Enable_PWM Enable_KPC Enable_ROT Read/Writ W e (IIC) Read/Writ RW e(HW) Reset 0 Value Table 19. System control register writing Bits Name 0 ...

Page 20

System controller 7.3 States of operation The device has three main modes of operation: ● Operational Mode: This is the mode, whereby normal operation of the device takes place. In this mode, the RC clock is available and the Main ...

Page 21

STMPE2401 8 Clocking system Figure 6. Clocking system The decision on clocks is based on the bits written into SYSCON registers. Bits the SYSCON register control the gating of clocks to the Rotator, Keypad Controller, PWM ...

Page 22

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

Page 23

STMPE2401 9.2 Interrupt control register (ICR) ICR register is used to configure the Interrupt Controller. It has a global enable interrupt mask bit that controls the interruption to the host. Bit Reset 0 0 Value ...

Page 24

Interrupt system Table 22. IER Bits Name 8:0 IE[x] 9.4 Interrupt status register (ISR) ISR register monitors the status of the interruption from a particular interrupt source to the host. Regardless whether the IER bits are enabled or not, the ...

Page 25

STMPE2401 9.5 Interrupt enable GPIO mask register (IEGPIOR) IEGPIOR register is used to enable the interruption from a particular GPIO interrupt source to the host. The IEG[15:0] bits are the interrupt enable mask bits correspond to the GPIO[15:0] pins. Bit ...

Page 26

Interrupt system 9.6 Interrupt status GPIO register (ISGPIOR) ISGPIOR register monitors the status of the interruption from a particular GPIO pin interrupt source to the host. Regardless whether the IEGPIOR bits are enabled or not, the ISGPIOR bits are still ...

Page 27

STMPE2401 9.7 Programming sequence To configure and initialize the Interrupt Controller to allow interruption to host, observe the following steps: ● Set the IER and IEGPIOR registers to the desired values to enable the interrupt sources that are to be ...

Page 28

GPIO controller 10 GPIO controller A total of 24 GPIOs are available in the STMPE2401 port expander IC. Most of the GPIOs are sharing physical pins with some alternate functions. The GPIO controller contains the registers that allow the host ...

Page 29

STMPE2401 Table 26. GPIO controller Address Register name 0x9B GPAFR_U_msb 0x9C GPAFR_U_csb 0x9D GPAFR_U_lsb 0x9E GPAFR_L_msb 0x9F GPAFR_L_csb 0xA0 GPAFR_L_lsb 0xA5 – 0xAF RESERVED 10.1 GPIO control registers A group of registers are used to control the exact function of ...

Page 30

GPIO controller Table 28. Bit’s function Register name GPIO Edge Detect Status GPIO Rising Edge GPIO Falling Edge GPIO Pull Up GPIO Pull Down 10.2 GPIO alternate function register (GPAFR) GPAFR is to select the functionality of the GPIO pin. ...

Page 31

STMPE2401 Table 29. Bit description Bits Name 23:0 AF[x] Bit 23 R/W RW Reset 0 Value Bit 15 R/W RW Reset 0 Value Bit 7 R/W RW Reset 0 Value GPIO Pin ‘x’ Alternate Function Select (where ...

Page 32

GPIO controller Table 30. Bit description Bits Name 23:0 AF[x] 10.3 Hot key feature A GPIO is known as ‘Hot Key’ when it is configured to trigger an interruption to the host whenever the GPIO input is being asserted. This ...

Page 33

STMPE2401 11 PWM controller The STMPE2401 PWM controller provides 3 independent PWM outputs used to generate light effect; if the PWM outputs are not used, these pins can be used as GPIO. Figure 8. PWM controller Instructions are downloaded into ...

Page 34

PWM controller 11.1 Registers in the PWM controller The main system registers are: Table 31. Main system registers Address Register Name 0x30 PWMCS 0x38 PWMIC0 0x39 PWMIC1 0x3A PWMIC2 34/55 Description PWM Control and Status register PWM instructions are initialized ...

Page 35

STMPE2401 11.2 PWM control and status register (PWMCS) Bit Read/Write Reset Value Table 32. Bit description Bits Name 0 EN0 1 EN1 2 EN2 3 II0 4 II1 5 II2 Reserved II2 II1 ...

Page 36

PWM controller 11.3 PWM instruction channel x (PWMICx) This PWMICx is the dataport that allows the instructions to be loaded into the PWM channel. The loading of the instructions is achieved by continuously writing to this dataport. As this dataport ...

Page 37

STMPE2401 12 PWM commands The STMPE2401 PWM Controller works as a simple MCU, with program space of 64 instructions and a simple instruction set. The instructions are all 16 bits in length. The 3 most significant bits are used to ...

Page 38

PWM commands Table 36. Instruction Instruction RAMP 0 Prescale Step Time 0= 1=512 0 = immediate action SMAX 0 ( SMIN 0 ( GTS BRANCH 1 ...

Page 39

STMPE2401 In order to enable a PWM channel, the programming sequence below should be observed. ● The ENx of the PWMCS register should be kept in ‘0’. By default, it has a value of ‘0’. ● Loads the instructions into ...

Page 40

Keypad controller 13 Keypad controller The main operations of the keypad controller are controlled by four dedicated key controllers that support up to four simultaneous dedicated key presses and a key scan controller and two normal key controllers that support ...

Page 41

STMPE2401 The keypad column inputs enabled by the KPC_col register are normally ‘HIGH’, with the corresponding input pins pulled up by resistors internally. After reset, all the keypad row outputs enabled by the KPC_row register are driven ‘LOW’ ...

Page 42

Keypad controller 13.2 KPC_col register Table 38. KPC_col Register Bit Name Read/Write W Reset Value Bit 13.3 KPC_row_msb register Table 39. KPC_row_msb register Bit Name ScanPW1 Read/Write Reset Value Bit 7 6 ...

Page 43

STMPE2401 13.4 KPC_row_lsb register Table 40. KPC_row_lsb register Bit Name Read/Write W Reset Value Bit 13.5 KPC_ctrl_msb register Table 41. KPC_ctrl_msb register Bit Name Read/Write Reset Value Bit ...

Page 44

Keypad controller 13.6 KPC_ctrl_lsb register Table 42. KPC_ctrl_lsb register Bit Name Read/Write W Reset Value Bit 13.7 Data registers The KPC_DATA register contains three bytes of information. The first two bytes store ...

Page 45

STMPE2401 Table 44. KPC_data_byte1 register Bit Name Up/Down Read/Write Reset Value Bit Table 45. KPC_data_byte2 register Bit 7 Name - Read/Write R Reset 0 Value Bit ...

Page 46

Keypad controller 13.7.1 Resistance Maximum resistance between keypad output and keypad input, inclusive of switch resistance, protection circuit resistance and connection, must be less than 3.2 KΩ 13.7.2 Using the keypad controller Before enabling the keypad controller operation, proper setup ...

Page 47

STMPE2401 14 Rotator controller Rotator controller consists of 3 terminal, each capable of becoming an input with internal pull-up, or and output. At any moment, 2 terminals are inputs and one terminal is output. Figure 10. Rotator controller The Rotator ...

Page 48

Rotator controller Table 47. Registers for rotator control Address 0x70 0x72 14.1 Rotator_Control Bit 7 Start_FSM Read/Write RW Reset Value 0 Bits Name 7 Start_FSM 14.2 Rotator_Buffer Bit Symbol_Type Read/Write Reset Value Bits 7 Symbol_Type 6~0 Symbol_Count Number of symbols ...

Page 49

STMPE2401 The host should do the following on the I 1. The host writes to GPIO Controller to configure the PU/PD bit and select the Rotator Bits on the relevant IO. 2. Write Rotator_Control data register to start the rotator ...

Page 50

Miscellaneous features 15 Miscellaneous features 15.1 Reset STMPE2401 is equipped with an internal POR circuit that holds the device in reset state, until the clock is steady and V STMPE2401 by asserting Reset_N pin. 15.2 Under voltage lockout STMPE2401 is ...

Page 51

STMPE2401 16 Mechanical data In order to meet environmental requirements, ST offers these devices in ECOPACK® packages. These packages have a Lead-free second level interconnect . The category of second level interconnect is marked on the package and on the ...

Page 52

Mechanical data Table 48. TFBGA Mechanical data Dim Figure 12. Package dimensions 52/55 mm. Min Typ Max 1.1 1 1.16 0.25 0.78 0.86 0.30 0.25 0.35 3.60 3.50 3.70 3.50 ...

Page 53

STMPE2401 Figure 13. Recommended footprint Figure 14. Tape and reel information Mechanical data 53/55 ...

Page 54

Revision history 17 Revision history Table 49. Revision history Date 08-Jan-2007 29-May-2007 54/55 Revision 1 Initial release 2 Cover page updated STMPE2401 Changes ...

Page 55

... STMPE2401 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