STEVAL-ICB002V1 STMicroelectronics, STEVAL-ICB002V1 Datasheet

BOARD EVAL TOUCH STM32/STMPE821

STEVAL-ICB002V1

Manufacturer Part Number
STEVAL-ICB002V1
Description
BOARD EVAL TOUCH STM32/STMPE821
Manufacturer
STMicroelectronics

Specifications of STEVAL-ICB002V1

Sensor Type
Touch, Capacitive
Sensing Range
3 Button/Key
Interface
USB
Voltage - Supply
3.3V
Embedded
Yes, MCU, 32-Bit
Utilized Ic / Part
STMPE821
Silicon Manufacturer
STMicroelectronics
Kit Contents
Board
Features
PWM/GPIO Output, Multiple Touch Detection, Demonstrates Up To 3 Capacitive Touch Keys
Svhc
No SVHC (15-Dec-2010)
For Use With
497-10173 - BOARD EVAL S-TOUCH STM32
Lead Free Status / RoHS Status
Lead free by exemption / RoHS compliant by exemption
Sensitivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
497-10167
Features
Applications
Table 1.
November 2010
Up to 8 GPIOs
Up to 8 capacitive touch key inputs
Operating voltage 2.7- 3.6
Internal regulator
Interrupt output pin
I
8 kV HBM ESD protection
50 fF resolution, 128 steps capacitance
measurement
Advanced data filtering (AFS)
Environment tracking calibration (ETC)
Individually adjustable touch variance (TVR)
setting for all channels
Adjustable environmental variance (EVR) for
optimal calibration
Capacitive key sensing capability in 25 μA
sleep mode
Mobile and smartphones
Portable media players
Game consoles
2
C interface (1.8 V operation, 3.3 V tolerant)
STMPE821QTR
Order code
Device summary
S-Touch
®
QFN16 (2.6 x 1.8 mm)
8-channel capacitive touchkey controller
Doc ID 14478 Rev 5
Package
Description
The STMPE821 is an 8-channel capacitive touch
key controller. The capacitance measurement is
implemented fully in optimized hardware.
All 8 I/Os could be configured via I
function as either capacitive touch key, or GPIO
(general purpose I/O).
(2.6 x 1.8 mm)
QFN16
Tape and reel
STMPE821
Packing
2
C bus to
www.st.com
1/50
50

Related parts for STEVAL-ICB002V1

STEVAL-ICB002V1 Summary of contents

Page 1

S-Touch Features ■ GPIOs ■ capacitive touch key inputs ■ Operating voltage 2.7- 3.6 ■ Internal regulator ■ Interrupt output pin 2 ■ interface (1.8 V operation, 3.3 V tolerant) ■ 8 ...

Page 2

Contents Contents 1 STMPE821 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 ...

Page 3

STMPE821 List of tables Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 4

List of figures List of figures Figure 1. Functional block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5

STMPE821 1 STMPE821 functional overview The STMPE821 consists of the following blocks: ● GPIO controller ● PWM controller ● Impedance sensor ● Touch key controller 2 ● interface 1.1 STMPE821 block diagram Figure 1. Functional block diagram INT ...

Page 6

STMPE821 functional overview 1.2 Pin assignment and function Figure 2. STMPE821 pin assignment (top view) Table 2. Pin assignments and function Pin number 6/50 ...

Page 7

STMPE821 1.3 STMPE821 typical application The STMPE821 is able to support channel capacitive sensors. Figure 3. Typical application diagram STMPE821 functional overview Doc ID 14478 Rev 5 7/50 ...

Page 8

STMPE821 functional overview 1.4 Calibration algorithm The STMPE821 maintains 2 parameters for each TOUCH channel: TVR and CALIBRATED IMPEDANCE. CALIBRATED IMPEDANCE is an internal reference of which, if the currently measured IMPEDANCE exceeds the CALIBRATED IMPEDANCE by a magnitude of ...

Page 9

STMPE821 1.4.1 Noise filtering When the STMPE821 is operating in the vicinity of highly emissive circuits (DC-DC converter, PWM controller/drive etc), the sensor inputs will be affected by high-frequency noise. In this situation, the time-integrating function could be used to ...

Page 10

STMPE821 functional overview 1.5 Power management The STMPE821 operates in 3 states. Figure 4. STMPE821 operating states On RESET, the STMPE821 enters the ACTIVE state immediately. Upon a fixed period of inactivity, the device enters into the SLEEP state. Any ...

Page 11

STMPE821 2 Power schemes The STMPE821 is powered by a 2.7 - 3.6 V supply. An internal LDO regulates this supply into 1.8 V for core operation. All GPIOs operates at V Figure 5. Power using the internal regulator * ...

Page 12

I2C interface interface The features that are supported by the I 2 ● slave device ● Compliant to Philips I ● Supports standard (up to 100 kbps) and fast (up to 400 kbps) modes. ...

Page 13

STMPE821 Table 4. Operation modes Mode Read Write Figure 6. Read and write modes (random and sequential) One byte Read More than one byte Read One byte Write More than one byte Read Byte Programming sequence Start, Device address, R/W ...

Page 14

Register map and function description 4 Register map and function description This section lists and describes the registers of the STMPE821 device, starting with a register map and then provides detailed descriptions of register types. Table 5. Register summary map ...

Page 15

STMPE821 Table 5. Register summary map table (continued) Address Register name 0x40 EVR 0x50 - STRENGTH_THRES 0x57 [0-7] 0x60 - STRENGTH [0-7] 0x67 0x70 - CAL_IMPEDANCE 0x77 [0-7] 0x80 - IMPEDANCE [0-7] 0x87 0x92 INT_PENDING 0xA0 PWM_OFF_OUTPUT 0xA1 MASTER_EN 0xB0 ...

Page 16

System and identification registers 5 System and identification registers Table 6. System and identification registers map Address Register name 0x00 CHIP_ID_0 0x01 CHIP_ID_1 0x02 ID_VER 0x03 SYS_CFG_1 0x04 SYS_CFG_2 CHIP_ID_x Address: 0x00, 0x01 Type: R Description: 8-bit device identification 16/50 ...

Page 17

STMPE821 ID_VER Address: 0x02 Type: R Reset: 0x0F Description: 16-bit revision number SYS_CFG_1 RESERVED Address: 0x03 Type: R/W Reset: 0x00 Description: The reset control register enables to reset the device [7:4] RESERVED [3] SLEEP: Write ‘1’ to ...

Page 18

System and identification registers SYS_CFG_2 SENSOR SENSOR SENSOR CLOCK 2 CLOCK 1 CLOCK 0 Address: 0x04 Type: R/W Reset: 0xEF Description: This register enables to switch off the clock supply [7:5] SENSOR CLOCK: See description in the ...

Page 19

STMPE821 6 Interrupt controller module Figure 7. Interrupt controller module block diagram INT pending INT mask GPIO interrupt status GPIO interrupt enable Interrupt status Interrupt enable AND Doc ID 14478 Rev 5 Interrupt controller module INT AND CS00053 19/50 ...

Page 20

Interrupt controller module INT_CTRL 7 6 Address: 0x08 Type: R/W Reset: 0x00 Description: This register is used to enable control the polarity, edge/level and enabling of the interrupt system.device [7:3] RESERVED [2] POLARITY: '0' for active low '1' for active ...

Page 21

STMPE821 INT_EN GPIO PWM3 PWM2 Address: 0x09 Type: R/W Reset: 0x00 Description: This register is used to enable the interruption from a system related interrupt source to the host. Writing ‘1’ in this register enables the corresponding ...

Page 22

Interrupt controller module are still updated. Writing ‘1’ clears a bit in this register. Writing ‘0’ has no effect. [7] GPIO: One or more level transition in enabled GPIOs [6] PWM3: Completion of PWM sequence [5] PWM2: Completion of PWM ...

Page 23

STMPE821 GPIO_INT_STA Address: 0x0D Type: R/W Reset: 0x00 Description: The GPIO interrupt status register LSB monitors the status of the interruption from a particular GPIO pin interrupt source to the host. Regardless whether the IEGPIOR bits are ...

Page 24

GPIO controller 7 GPIO controller A total of 8 GPIOs are available in the STMPE821. The GPIO controller contains the registers that allow the host system to configure each of the pins into either a GPIO, direct output of a ...

Page 25

STMPE821 The function of each bit is shown in the following table: Table 9. GPIO control bits function Register name GPIO monitor pin state GPIO set pin state GPIO set pin direction GPIO function Function Reading this bit yields the ...

Page 26

Capacitive touch module registers 8 Capacitive touch module registers Table 10. TOUCH_FIFO summary table TOUCH_FIFO Address: 0x19, 0x18 Type: R Reset: 0x00 Description: TOUCH_FIFO is the access port for the internal 4-level FIFO used ...

Page 27

STMPE821 FEATURE_SELECT RESERVED Address: 0x20 Type: R/W Reset: 0x04 Description: Controls AFS (advanced filtering system and second level filtering feature [7:3] RESERVED [2:1] AFS[1:0]: “00’: reserved “01’ AFS mode 1 (only 1 strongest key) ‘10’: AFS mode ...

Page 28

Capacitive touch module registers CAL_INTERVAL Address: 0x22 Type: R/W Reset: 0x30 Description: Calibration interval [7:0] CALIBRATION INTERVAL: Interval between calibration = Calibration Interval [7:0] * sensor clock period * 50 Range INTEGRATION ...

Page 29

STMPE821 CTRL RESERVED Address: 0x25 Type: R/W Reset: 0x00 Description: Control [7:4] RESERVED [3] F2A: Write '1' to force device to remain in ACTIVE state at all times [2] HDC_U: Write '1' to perform unconditional host driven ...

Page 30

Capacitive touch module registers INT_MASK RESERVED Address: 0x26 Type: R/W Reset: 0x08 Description: Writing '1' to this register disables the corresponding interrupt source. [7:4] RESERVED [3] EOC: End of calibration This interrupt occurs on both automatic and ...

Page 31

STMPE821 FILTER_PERIOD Address: 0x28 Type: R/W Reset: 0x00 Description: Filter period. [7:0] FILTER_COUNT: Additional filter to stabilize touch output in AFS mode. AFS touch output is monitored for Filter Count [7:0] times every integration time. For each ...

Page 32

Capacitive touch module registers TVR RESERVED Address: 0X30 - 0x3B Type: R/W Reset: 0x08 Description: Touch variance setting. [7] RESERVED [6:0] TVR: Setting TVR between 0-99 A high TVR value decreases sensitivity of the sensor, but increasing ...

Page 33

STMPE821 STRENGTH 7 6 Address: 0x60 - 0x67 Type: R Reset: 0x00 Description: The number of times where a sense capacitance exceeds the calibrated reference impedance [7:0] STRENGTH: Read-only field Counts the number of times a sensed impedance exceeds calibrated ...

Page 34

Capacitive touch module registers CALIBRATED_IMPEDANCE 7 6 Address: 0x70 - 0x77 Type: R Reset: 0x00 Description: Calibrated impedance is a reference value maintained by the device. [7:0] CALIBRATED IMPEDANCE: Calibrated reference impedance IMPEDANCE 7 6 Address: 0x80 - 0x87 Type: ...

Page 35

STMPE821 9 Basic PWM controller The advanced PWM allows complex brightness and blinking control of a LED. The basic PWM controller allows simpler brightness control and basic blinking patterns. The STMPE821 is fitted with a 4-channel basic PWM controller. The ...

Page 36

Basic PWM controller Figure 9. Ramps with programmable brightness, ON/OFF period and repetition Duty cycle ON period “On” period = period 0[1:0] * time unit [3:0] “Off” period = period 1[1:0] * time unit [3:0] Duty cycle during “on” period ...

Page 37

STMPE821 9.1 PWM function register map Table 11. PWM function register map summary table Register name PWM_OFF_OUTPUT MASTER_EN PWM0_SET PWM0_CTRL PWM0_RAMP_RATE PWM1_SET PWM1_CTRL RAMP1_RATE PWM2_SET PWM2_CTRL RAMP2_RATE PWM3_SET PWM3_CTRL PWM3_RATE MASTER_EN 7 6 AF3 AF2 Address: 0xA1 Type: R/W Reset: ...

Page 38

Basic PWM controller PWM_OFF_OUTPUT 7 6 Address: 0xA0 Type: R/W Reset: 0x00 Description: PWM group control register. [7:4] RESERVED [3:0] OUT3:0: Default is '0' '1' - PWM channel outputs '1' when disabled '0' - PWM channel outputs '0' when disabled ...

Page 39

STMPE821 PWM_n_SETUP 7 6 BRIGHTNESS Address: 0xB0 Type: R/W Reset: 0x00 Description: PWM setup register. [7:4] BRIGHTNESS: This defines the duty cycle during the ON period of the PWM channel output which in turn determines the brightness level of the ...

Page 40

Basic PWM controller PWM_CTRL_n 7 6 PERIOD_0 Address: 0xB1, 0xB5, 0xB9, 0xBD Type: R/W Reset: 0x00 Description: This register controls the sequence and repetition of blinking. [7:6] PERIOD_0: This defines the ON period time which is when the PWM channel ...

Page 41

STMPE821 9.2 Interrupt on basic PWM controller The basic PWM controller can be programmed to generate interrupts on completion of the blinking sequence. a) Each basic PWM controller has its own bit in interrupt the enable/status registers enabled, ...

Page 42

Maximum rating 10 Maximum rating 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 43

STMPE821 11 Electrical specifications Table 13. DC electrical characteristics (- °C unless otherwise stated) Symbol Core supply V CC voltage IO supply V IO voltage I Active current active I Active current active I Active current active I ...

Page 44

Electrical specifications Table 13. DC electrical characteristics (- °C unless otherwise stated) Symbol Input voltage high state (RST Input voltage high state (GPIO) Output voltage V low state OL (GPIO) Output voltage V high state OH ...

Page 45

STMPE821 12 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 at: www.st.com. ...

Page 46

Package mechanical data Table 14. Mechanical data for QFN16 (2.6 x 1.8 x 0.55 mm) - 0.40 mm pitch Symbol Figure 12. Footprint recommendations for QFN16 (2.6 x 1.8 x 0.55 mm) - ...

Page 47

STMPE821 Figure 13. Carrier tape for QFN16 (2.6 x 1.8 x 0.55 mm) - 0.40 mm pitch Doc ID 14478 Rev 5 Package mechanical data 785978-J 47/50 ...

Page 48

Package mechanical data Figure 14. Reel information for QFN16 (2.6 x 1.8 x 0.55 mm) - 0.40 mm pitch 1. Drawing not to scale. 2. Dimensions are in millimeters 48/50 Doc ID 14478 Rev 5 STMPE821 7875978 ...

Page 49

STMPE821 13 Revision history Table 15. Document revision history Date 26-Feb-2008 10-Jun-2008 15-Sep-2008 06-Apr-2009 24-Nov-2010 Revision 1 Initial release. Modified: operating voltage range included support for 5.5 V, Section 1.3 on page Section 4 on page 14, ...

Page 50

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