Electronic Components Datasheet Search
  English  ▼

X  

AN2421 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN2421
Description  Using the STMPE801 as a keypad controller
PDF  6 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2421 Datasheet(HTML) 5 Page - STMicroelectronics

  AN2421 Datasheet HTML 1Page - STMicroelectronics AN2421 Datasheet HTML 2Page - STMicroelectronics AN2421 Datasheet HTML 3Page - STMicroelectronics AN2421 Datasheet HTML 4Page - STMicroelectronics AN2421 Datasheet HTML 5Page - STMicroelectronics AN2421 Datasheet HTML 6Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 5 / 6 page
background image
AN2421
Performance
5/6
4
Performance
To ensure minimum I2C activity, with 20-ms scanning interval (50 scan cycles per second)
for an 8*8 keypad matrix, 400 I2C transactions are required per second with each
transaction writing to one single register in STMPE801 for driving the respective column low
and reading the BB_GPIO status.
Assuming the transaction length is approximately 40-bit time (I2C address with ACK,
Register address with ACK, Register Data with ACK, inter-transaction time), the total bittime
per second is:
Equation 1
The I2C interface has a bandwidth of 400Kbit/s, so the keypad controller uses only 16/400
(4%) of the I2C bandwidth.
There are no interrupts from STMPE801 to the Baseband.
5
Enhancements
It is possible to further enhance keypad controller performance using the following
recommendations:
In Idle state,
Baseband goes into hibernation
STMPE801 GPIOs are configured to inputs with interrupt enabled
If any keys are pressed, the STMPE801 sends an interrupt to wake up the Baseband and
start the scanning operation (STMPE801 reverts to operating as output). This enables the
system to enter Deep Hibernation mode and still detect key presses.
This enhancement also further reduces I2C bandwidth requirements as a scanning
operation occurs if and only if a key is pressed.
6
Revision history
400
40
16.000
=
bit time
Table 1.
Document revision history
Date
Revision
Changes
20-Nov-2006
1
Initial release.



Html Pages

1 2 3 4 5 6


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

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