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.
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.
| Supply Voltage | 1.8 V |
|---|---|
| Clock Frequency | 32 KHz |
| PWM Channels | Three independent PWM outputs |
| Command Memory | 64 words x 16-bit |
It is widely used for mobile phone backlighting and LED brightness control.
The device provides three independent PWM outputs.