ST AN2424 handbook

STMPE2401 is the first of ST's port-expander logic products, and in addition to providing additional I/Os, it also has advanced features such as PWM control, Keypad scanning, and Rotator dial control, which can reduce the processor load. This application note explains how to configure STMPE24001's PWM controller to achieve LED backlighting, brightness control, and LED blinking.


ST AN2424 handbook - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
22
File format
PDF
File size
212 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
C5DC55FF16E5291AF1B74ABABBC6581A

About this manual

The STMPE2401 is a port-expander logic product featuring an integrated PWM controller designed to reduce processor load by handling advanced features like keypad scanning and LED control. This document details the configuration and operation of the PWM controller, which can generate three independent PWM outputs for creating light effects such as rapid blinking or dimming in LEDs.

The note covers the PWM instruction set, which functions as a simple MCU with a 64-word program space. It describes specific instructions like RAMP, SMAX, and SMIN for controlling counter values and output levels. Additionally, it outlines the register map for controlling the PWM module, including status, interrupt, and configuration registers, along with the programming sequence required to initialize the device.

What's inside

  • Advantages of an integrated PWM controller
  • STMPE2401 default power-up configuration
  • PWM controller operation
  • Operation modes and clocking
  • PWM instruction set
  • PWM Controller operation
  • Registers in the PWM controller
  • Programming sequence example

Specifications

Supply Voltage1.8 V
Clock Frequency32 KHz
PWM ChannelsThree independent PWM outputs
Command Memory64 words x 16-bit

Frequently asked questions

What is the primary application of the STMPE2401 PWM controller?

It is widely used for mobile phone backlighting and LED brightness control.

How many PWM channels does the STMPE2401 have?

The device provides three independent PWM outputs.

Download PDF (212 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →