XAPP512 Datasheet: Implementing Keypad Scanners





XAPP512 Implementing Keypad Scanners Datasheet

Part Number XAPP512
Description Implementing Keypad Scanners
Manufacture Xilinx
Total Page 4 Pages
PDF Download Download XAPP512 Datasheet PDF

Features: www.DataSheet4U.com Application Note: C oolRunner-II CPLD R Implementing Keypa d Scanners with CoolRunner-II XAPP512 (v1.0) April 4, 2005 Summary This app lication note provides a functional des cription of Verilog source code for a k eypad scanner. The code is used to targ et the lowest density, 32-macrocell Coo lRunnerTM-II XC2C32A CPLD device in a C P56 package (6 mm x 6 mm). The keypad a ccommodated in this design has 8 rows a nd 8 columns. The design can easily be scaled to target keypads with more or l ess rows/columns. For instance, a keypa d with 7 rows and 7 columns would allow the design to fit in the smallest QFG3 2 package (5 mm x 5 mm). To obtain the Verilog source code described in this d ocument, see “Verilog Code,” page 4 , for instructions. Introduction As h andheld devices such as cell phones pac k more and more features into them, the y require more effective ways of enteri ng data. Most cell phones, for example, use the standard DTMF style keypad and a multi-tap process to ente.

Keywords: XAPP512, datasheet, pdf, Xilinx, Implementing, Keypad, Scanners, stock, pinout, distributor, price, schematic, inventory, databook, Electronic, Components, Parameters, parts, cross reference, chip, Semiconductor, circuit, Electric, manual, substitute, Equivalent

www.DataSheet4U.com
R
XAPP512 (v1.0) April 4, 2005
Application Note: CoolRunner-II CPLD
Implementing Keypad Scanners with
CoolRunner-II
Summary
This application note provides a functional description of Verilog source code for a keypad
scanner. The code is used to target the lowest density, 32-macrocell CoolRunnerTM-II
XC2C32A CPLD device in a CP56 package (6 mm x 6 mm). The keypad accommodated in this
design has 8 rows and 8 columns. The design can easily be scaled to target keypads with more
or less rows/columns. For instance, a keypad with 7 rows and 7 columns would allow the
design to fit in the smallest QFG32 package (5 mm x 5 mm). To obtain the Verilog source code
described in this document, see “Verilog Code,” page 4, for instructions.
Introduction
As handheld devices such as cell phones pack more and more features into them, they require
more effective ways of entering data. Most cell phones, for example, use the standard DTMF
style keypad and a multi-tap process to enter alphanumeric data; however, for larger amounts
of data multi-tapping becomes cumbersome. More and more high-end phones are therefore
employing QWERTY keypads that make entering data easier and quicker.
Going from a DTMF to a QWERTY keypad requires more I/O. For instance, a DTMF keypad
might have 4 rows and 3 columns, where a QWERTY keypad might have 8 rows and 8
columns. This can vary depending on the requirements.
Typically, a processor (or ASIC) is used to interface to the keypad’s rows and columns. The
www.DataSheet4U.comprocessor scans the rows and monitors the columns for a logic change. When a change
occurs, it indicates that one of the buttons in that column was pressed. By knowing which row
was being scanned, and which column changed state, the processor can deduce which
specific button was pushed. Additional functions such as debounce are also typically
employed. Figure 1 shows how a simple 4 x 4 keypad uses 8 GPIO of a processor.
Figure 1: Simple 4 x 4 Keypad Connected to a Processor Requiring 8 GPIO
© 2005 Xilinx, Inc. All rights reserved. XILINX, the Xilinx logo, and other designated brands included herein are trademarks of Xilinx, Inc.
All other trademarks are the property of their respective owners.
XAPP512 (v1.0) April 4, 2005
DataSheet4 U .com
www.xilinx.com
1
www.DataSheet4U.com

           






Index : 0  1  2  3   4  5  6  7   8  9  A  B   C  D  E  F   G  H  I  J   K  L  M  N   O  P  Q  R   S  T  U  V   W  X  Y  Z
@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)