STMicroelectronics AN980 Application Note

The goal of this application note is to present an example of the use of the HALT mode. In this application, the MCU (here a ST72F264) is waked up by an external interrupt caused by someone pressed a key on the 4x4 matrixed keypad.


STMicroelectronics AN980 Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
46 KB
Published
07 August, 2012
Updated
28 September, 2023
MD5 checksum
2A486285F4E4100FAF90936790597837

About this manual

This document presents an example application for the ST72F264 microcontroller, demonstrating how to use the HALT mode to achieve low power consumption. The system wakes up from HALT mode via an external interrupt triggered by a key press on a 4x4 matrix keypad.

What's inside

  • ST7 / Keyboard Interface
  • ST72F264 Configuration
  • Halt Mode
  • External Interrupts
  • Keypad Matrix
  • Flowcharts
  • Software

Frequently asked questions

What is the purpose of this application note?

The document presents an example of using HALT mode to wake up a microcontroller via an external interrupt caused by pressing a key on a keypad.

How long must a user press a key for it to be decoded?

A user must press the chosen key at least 0.5 to 1 second depending on which specific key is selected.

How many CPU clock cycles does the MCU wait after waking up from HALT mode?

The microcontroller waits for 4096 CPU clock cycles before running the external interrupt subroutine.

Download PDF (46 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →