Using the STMPE2402 Port Expander Demonstration Board
Introduction
This document explains how to use the STMPE2402 Port Expander demonstration board
that consists of an STMPE2402 Port Expander IC and an ST72F63B microcontroller and
includes a PC graphical user interface (GUI).
The objective of this demonstration board is to highlight the features and capabilities of the
Port Expander chip (STMPE2402) using a Windows®-based host software application and
one of several USB low-speed microcontrollers (ST72F63B) from STMicroelectronics acting
as a control device.
The host software and the ST7 source code provide a user-friendly environment for the
demo board in the following modes:
●
Stand-alone mode
●
PC GUI mode
In both modes, power to board can be provided from either the USB bus itself or from an
external power supply.
In this demo, the ST72F63B microcontroller (MCU) acts as the I
STMPE2402 port expander functioning as the I
interface for the LCD, hot key detection and 3 PWM (Pulse Width Modulation) outputs.
The built-in Analog-to-Digital Converter (ADC) enables the STMPE2402 to measure
environmental conditions such as ambient light and temperature.
For visual display of the PWM outputs, LEDs are provided on the board. All these interfaces
are controlled by the ST72F63B MCU via the I
For interfacing with the PC GUI, the application layer is built above the USB core library,
making all hardware control of the USB interface transparent for developers.
All events such as hot key presses are captured and displayed on the LCD screen and also
on the PC GUI.
The PC GUI supports the various power-saving modes and wake-up features for the Port
Expander.
Moreover, the demo board includes a provision for an alternate I
control device. The board also has an ICC connector for re-programming the Flash memory
of the ST7 microcontroller.
March 2007
2
C Slave. The STMPE2402 provides the
2
C bus.
Rev 1
UM0311
User manual
2
C Master and controls the
2
C path for an external
www.st.com
1/24
Need help?
Do you have a question about the STMPE2402 and is the answer not in the manual?
Questions and answers