ST STMPE2401 User Manual Download Page 22

UM0300

22/22

 

         

 

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.

All ST products are sold pursuant to ST’s terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2007 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - 

Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

www.st.com

Summary of Contents for STMPE2401

Page 1: ...ioning as I2 C Slaves The STMPE2401 devices are used to interface LCD normal keypad rotator controller dedicated keys and 6 PWM outputs All these interfaces are controlled by just using I2 C communica...

Page 2: ...g the STMPE2401 port expander demo board 9 2 1 Running in standalone mode 9 2 1 1 PWM Output demo 9 2 1 2 Keypad demo 9 2 1 3 Dedicated keypad demo 10 2 1 4 Rotator demo 10 2 2 Running in PC GUI mode...

Page 3: ...edded 4x4 keypad 10 Figure 11 Dedicated keys 10 Figure 12 Rotator interface 11 Figure 13 Enumeration result 11 Figure 14 STMPE2401 PC GUI 12 Figure 15 Message for board not connect 12 Figure 16 Messag...

Page 4: ...e determined by clicking on the System icon in the control panel 1 2 Package contents The port expander demo board includes the following items Hardware content One demonstration board Software conten...

Page 5: ...utton if you accept the license Figure 2 License window Step 3 Please select the folder in which you want to install the software By default it will install the software in the following path C Progra...

Page 6: ...Installation ongoing Step 5 Figure 5 Installation complete After you click the Finish Button you will find that the software is installed in the directory you selected or in the default directory Als...

Page 7: ...power supply should be getting minimum supply of 7 V 1 A and maximum power supply of 12 V 1 A 1 4 2 Jumper settings There are four jumpers JP1 JP2 JP3 and JP4 are available on the board The correct co...

Page 8: ...Right Side only if it is must to provide the ICC clock to the microcontroller during the re programming microcontroller JP4 As shown in the Figure 9 below JP4 is used for choosing power supply to be...

Page 9: ...EDs are the output of the 6 PWM outputs coming from 2 STMPE2401 devices Now the system is ready to be used Again if you find that no message is coming on the LCD after giving the power supply Remove t...

Page 10: ...l keypad where you can detect only 2 keys simultaneously here you can observe 4 dedicated keys simultaneously All dedicated key press events are displayed in LCD screen Figure 11 Dedicated keys 2 1 4...

Page 11: ...GUI is also available For running the GUI the demo board must first be connected to the PC with the USB cable and then provide the power supply to the demo As a result you should find the demo board...

Page 12: ...nected to the board or not by clicking the connection check button If the board is not connected then you will see the following message Figure 15 Message for board not connect And if board is connect...

Page 13: ...des Again there is a RESET option available which can put the demo back in default settings 2 2 1 Read Scan mode You can enter in to the Read Scan mode by clicking the Read Scan button as highlighted...

Page 14: ...401 port expander demo board UM0300 14 22 Figure 18 Events in scan window 2 2 2 Write program mode You can enter in to this mode by clicking Write Program button as highlighted in Figure 19 Figure 19...

Page 15: ...y by writing the 8 bit address in the Address and then clicking Read The return data is in HEX format Figure 20 Reading internal memory of STMPE2401 2 2 4 Programming PWM Any of the 6 PWM outputs comi...

Page 16: ...ng with the default program loaded in to their memory 2 2 5 Power down mode There are 2 power down modes as mentioned below Hibernate mode Sleep mode The STMPE2401 slave devices can be put in to Hiber...

Page 17: ...EDs stop blinking While in sleep mode PWM keeps running as these are controlled by the 32 KHz clock In order to wake up the demo in low power mode click the Wake Up button A message in the Scan Window...

Page 18: ...ect the SCL and SDA lines available in jumper J1 4 For controlling the Interrupt line use PA4 for INT1 Slave1 interrupt line and use PA5 for INT2 Slave 2 interrupt line 5 After you have done the requi...

Page 19: ...s ordering code orderable part number Supplier Supplier s ordering code 1 2 C1 C2 33 pF 0805 Any 2 13 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C21 C22 100 nF 0805 Any 3 4 C17 C18 C19 C20 10PF 0805 Any...

Page 20: ...0805 Any 24 6 R24 R25 R40 R41 R42 R43 2k2 0805 Any 25 5 R27 R28 R29 R30 R31 10 k 0805 Any 26 3 R2 R3 R4 4k7 0805 Any 27 4 R32 R33 R34 R35 18 k 0805 Any 28 4 R36 R37 R38 R39 3k3 0805 Any 29 1 U1 ST72F6...

Page 21: ...UM0300 Revision history 21 22 4 Revision history Table 2 Revision history Date Revision Changes 19 Jan 2007 1 First issue 26 Mar 2007 2 Table 1 Bill of materials insertion...

Page 22: ...NTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS E...

Reviews: