Analog Devices AN-660 XY-Matrix Keypad Interface to MicroConverter Application Note

This application note describes how to use a keypad input in a MicroConverter application, including configuring the MicroConverter to poll the keypad continuously or configuring the keypad interface in an interrupt driven system.


Analog Devices AN-660 XY-Matrix Keypad Interface to MicroConverter Application Note - cover page
Brand
Analog Devices
Document type
Application Note
Language
English
Pages
4
File format
PDF
File size
286 KB
Published
03 August, 2012
Updated
30 September, 2023
MD5 checksum
1F78C1772FA7D98979CB9C6AF74CB2F3

About this manual

This document provides instructions for connecting a 16-way XY-Matrix hexadecimal keypad to the Analog Devices MicroConverter. It details two operational modes: continuous polling, where the device constantly checks for key presses, and an interrupt-driven system that triggers only upon input.

The guide includes specific circuit diagrams (Figure 3 and Figure 4) showing how to connect the keypad rows and columns to Port 2 of the MicroConverter. It also references assembly code files (KEYSPOLL.ASM and KEYSINT.ASM) for implementing these operations.

What's inside

  • Introduction
  • Keypad Description
  • Operation Methods
  • Continuous Polling Operations
  • Interrupt Driven Operations

Frequently asked questions

What type of keypad is used in this application?

The system uses a 16-way XY-Matrix hexadecimal keypad with eight rear connections.

How are the keypad columns and rows connected to the MicroConverter ports?

Columns X1 through X4 connect to port pins P2.4 through P2.7, while rows Y1 through Y4 connect to pins P2.0 through P2.3.

What action triggers an interrupt in the interrupt driven mode?

A negative-going edge produced by the external logic circuitry for each key press triggers the INT1 interrupt service routine.

Download PDF (286 KB)

More Analog Devices Manuals


View all Analog Devices manuals →