Introduction
This Document explains the functioning of the port expander demo board consists of the
port expander IC STMPE2401 and controller ST72F63B microcontroller as I
along with a PC GUI.
The objective of this demonstration board is to display to the user the features and
capabilities of the port expander chip (STMPE2401) using a Windows-based host software
application and one of several USB low-speed microcontrollers (ST72F63B) from ST acting
as a control device.
The host software and the ST7 source code provide a user friendly environment to use
demo board in following modes:
●
Standalone mode
●
PC GUI mode
In both modes, power to board can be provided from either USB bus itself or from external
power.
In this demo board, the ST72F63B Microcontroller acts as the I
STMPE2401 devices functioning as I
interface LCD, normal keypad, rotator controller, dedicated keys and 6 PWM outputs. All
these interfaces are controlled by just using I
devices.
all events like dedicated key press (four direction keys); keypad key press (4 x 4 keypad),
Rotator direction, power mode etc. are captured and displayed in LCD screen and in the
scan window of PC GUI. For visual display of the PWM output LEDs are provided on the
board. The capability of rotator controller has been demonstrated by mechanically
implementing the rotator configuration using switches.
For interfacing with the PC GUI, the application layer is built above the USB core library that
makes all the hardware control of the USB interface transparent for the developers.
The PC GUI supports various power saving modes of port expander and wake up feature to
get back to default operational mode.
In addition the board has the provision for an alternate I
Also the board has ICC connector to re-program the ST7 Microcontroller flash memory.
March 2007
Port expander STMPE2401 demonstration board
2
Rev 2
C Slaves. The STMPE2401 devices are used to
2
C communication between master and slave
2
C path for external control.
UM0300
User manual
2
C master
2
C master and controls two
www.st.com
1/22
Need help?
Do you have a question about the STMPE2401 and is the answer not in the manual?
Questions and answers