Home
155KB
Contents
1. SEN TENA LEVELS SEL ENABLE ALL INTERRUPT nouri neZ main void MCU_initialization STBC_SPL 0 EXTERN PIN HOLD PRECEDING 2 7 while 1 1 5 LED2 LED2 LED3 LED3 LED4 LED4 vDelay 5 MCU AN 500039 E 11 Page 8 cO Wake up on Key Stroke V1 1 FUJITSU Chapter 5 Additional Information 5 Additional Information For more information about how to use MB9595200H 210H EV board BGM Adaptor and SOFTUNE please refer to SKT MB2146 410A 01 E User Manual or visit websites English version address http www fujitsu com cn fsp services mcu mb95 application_notes html Chinese version address http www fujitsu com cn fss services mcu mb95 application_notes html MCU AN 500039 E 11 Page 9
2. wake up and return to operating mode by pressing an external key 31 Hardware Setting Figure 3 1 Hardware Setting 3 2 Software Design When an interrupt request whose interrupt level is higher than 11B is issued in a standby mode the device is released from the standby mode To wake up the device on key stroke use the external interrupt 6 and 7 Press key S1 enter the external interrupt 7 and set the STBC register and the device enters a standby mode Press key S2 and enter the external interrupt 6 the device will release from the standby mode and transit to normal operation The flow chart is illustrated as below Enter Standby Mode MCU AN 500039 E 11 Page 6 Wake up on Key Stroke V1 1 FUJITSU Chapter 4 Sample Code 4 Sample Code This chapter illustrates how to wake up a device from a standby mode on key stroke with an example The following code can make a device transit to stop mode and be released from stop mode ASA THES SAMPLE CODE PROVIDED AS AND S SUBJECT TO ALTERATIONS PUOET SU SEMECONDUCTOR ACCEPTS NO RESPONSIBILITY OR TT FOR ANY ERRORS OR ELIGIBILITY FOR ANY PURPOSES C Fujitsu Semiconductor Shanghai Co LTD include mb95200 h define LED2 PDRO P05 define LED3 PDR6 P64 define LED4 PDR6 P63 detine Ligne LED light Unlight 1 LED unlight unsigned cha
3. PERFORM The following document contains information on Cypress products Although the document is marked with the name Spansion and Fujitsu the company that originally developed the specification Cypress will continue to offer these products to new and existing customers Continuity of Specifications There is no change to this document as a result of offering the device as a Cypress product Any changes that have been made are the result of normal document improvements and are noted in the document history page where supported Future revisions will occur when appropriate and changes will be noted in a document history page Continuity of Ordering Part Numbers Cypress continues to support existing part numbers To order these products please use only the Ordering Part Numbers listed in this document For More Information Please contact your local sales office for additional information about Cypress products and solutions About Cypress Cypress NASDAQ CY delivers high performance high quality solutions at the heart of today s most advanced embedded systems from automotive industrial and networking platforms to highly interactive consumer and mobile devices With a broad differentiated product portfolio that includes NOR flash memories F RAM and SRAM Traveo microcontrollers the industry s only PSoC programmable system on chip solutions analog and PMIC Power Management ICs CapSense capacitive touch sensing controller
4. conductor Shanghai Co Ltd Application Note F2MC 8FX FAMILY 8 BIT MICROCONTROLLER MB95200 SERIES WAKE UP ON KEY STROKE APPLICATION NOTE FUJITSU FUJITSU Wake up on Key Stroke V1 1 Revision History Revision History Version Date Updated by Modifications 1 0 4 13 2009 Lori Li First draft 1 1 4 15 2009 Lori Li Add detailed description on standby modes This manual contains 9 pages The products described in this manual and the specifications thereof may be changed without prior notice To obtain up to date information and or specifications contact your Fujitsu sales representative or Fujitsu authorized dealer Fujitsu will not be liable for infringement of copyright industrial property right or other rights of a third party caused by the use of information or drawings described in this manual 3 The contents of this manual may not be transferred or copied without the express permission of Fujitsu The products contained in this document are not intended for use with equipment which require extremely high reliability such as aerospace equipment undersea repeaters nuclear control systems or medical equipment for life support Some of the products described in this manual may be strategic materials or special technology as defined by the Foreign Exchange and Foreign Trade Control Law In such cases the products or portions theory must not be exported without perm
5. ission as defined under the law 2009 Fujitsu Semiconductor Shanghai Co Ltd MCU AN 500039 E 11 Page 2 co Wake up on Key Stroke V1 1 FUJITSU Contents CONTENTS REVISION HISTORY Y 2 CONTENTS MU MI NU d MEME 2 1 INTRODUCTION tc a M M 4 2 STANDBY MODES aaaaaaaaaaaaaaanannnnnnnnnnnnnnnnnnnnnnananannnananannnnnnanananununanunanunanannnnnnnnnnnnnnnnnnnnnna 5 3 WAKE UP ON KEY STROKE aaaaaaaaaaaaaannnnnnnnnnanananananananannanannannnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnna 6 All 211100 6 SP MEE S eR ie uU 6 4 SAMPLE uuu 7 5 ADDITIONAL INFORMATIOLNN J J J 9 MCU AN 500039 E 11 Page 3 FUJITSU Wake up on Key Stroke V1 1 Chapter 1 Introduction 1 Introduction This document describes how to wake up from standby mode on key stroke and gives one sample code MCU AN 500039 E 11 Page 4 cO Wake up on Key Stroke V1 1 FUJITSU Chapter 2 Standby Modes 2 Standby Modes This chapter introduces standby modes and the STBC register Usually a device has limited power supply To minimize power consumption the device will transit to low power consumption modes standby modes when it is not in operation state The device standb
6. r vDelay unsigned int uiCount 1 while uiCount For OA 100 asm tNOP RK RR RR RR RR DR RAK RRA Re NAME interrupt void external_int06 void BUNCTTON LED LEDA TINGE Unlight IE LUE AS EA 2 _ interrupt void external_int06 void EIC30_EIR0 0 J CLEAR INTIEBRRUPTOREOUBST TO UNEIGHT LEP4 Lich TO wiLIGHT Z LED3 Light LEDS E LED4 Light vDelay 10 3 1 2 2 NK UE NAME interrupt void external int07 void FUNCTION ENTERY STANDBY MODE STOP MODE ANC E EUN AUS 2 _ interrupt void external int07 void pP CLEAR OPNDEERUPBTSREOUEST 7 GED 3 4 KEEP TESI CST DS LED pusi LED3 Light LEDA Light STBC ENTERY STOP MODE MCU AN 500039 E 11 Page 7 co FUJITSU Wake up on Key Stroke V1 1 Chapter 4 Sample Code MC lization Ps S p Ar void MCU Ini T S Dis ikon void eI 0500 DDRO po Enable output DDR6_P64 1 Enable output 1010 ONE 1 TEnable output 7 PED2 Unlight 3 TESI 0 3 external interrupt Osea INTO6 INTO7 enable falling edge InitlIrqLevels gt
7. s and Wireless BLE Bluetooth Low Energy and USB connectivity solutions Cypress is committed to providing its customers worldwide with consistent innovation best in class support and exceptional system value N SPANSION Colophon The products described in this document are designed developed and manufactured as contemplated for general use including without limitation ordinary industrial use general office use personal use and household use but are not designed developed and manufactured as contemplated 1 for any use that includes fatal risks or dangers that unless extremely high safety is secured could have a serious effect to the public and could lead directly to death personal injury severe physical damage or other loss i e nuclear reaction control in nuclear facility aircraft flight control air traffic control mass transport control medical life support system missile launch control in weapon system or 2 for any use where chance of failure is intolerable i e submersible repeater and artificial satellite Please note that Spansion will not be liable to you and or any third party for any claims or damages arising in connection with above mentioned uses of the products Any semiconductor devices have an inherent chance of failure You must protect against injury damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy fire protection and preven
8. tion of over current levels and other abnormal operating conditions If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan the US Export Administration Regulations or the applicable laws of any other country the prior authorization by the respective government entity will be required for export of those products Trademarks and Notice The contents of this document are subject to change without notice This document may contain information on a Spansion product under development by Spansion Spansion reserves the right to change or discontinue work on any product without notice The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy completeness operability fitness for particular purpose merchantability non infringement of third party rights or any other warranty express implied or statutory Spansion assumes no liability for any damages of any kind arising out of the use of the information in this document Copyright 2013 Spansion Inc All rights reserved Spansion the Spansion logo MirrorBit MirrorBit Eclipse ORNAND and combinations thereof are trademarks and registered trademarks of Spansion LLC in the United States and other countries Other names used are for informational purposes only and may be trademarks of their respective owners Fujitsu Semi
9. y modes can be waken up on key stroke to operating mode There are four standby modes sleep mode stop mode timebase timer mode and watch mode The device transits to a standby mode according to the setting of the standby control register STBC The device can be released from a standby mode by an interrupt or a reset Before transiting to normal operation the device may wait for the oscillation stabilization wait time to elapse if necessary Figure 2 1 shows the Standby Control Register STBC This register is used to control transition from the RUN state to a standby mode set the pin state in a standby mode and control the generation of a software reset Address bit7 bit6 bit5 bit4 bit3 bit2 biti bito Initial value 00084 SLP SR SCRDY MCRDY MRDY 00000XXXg RON ROAW RAV RO W RO W R W X RAWX RAWX Figure 2 1 Standby Control Register STBC For detailed information on standby modes please refer to AN mcu an 500002 e 11 Basic FW Setup on Fujitsu website MCU AN 500039 E 11 Page 5 FUJITSU Wake up on Key Stroke V1 1 Chapter 3 Wake up on Key Stroke 3 Wake up on Key Stroke This chapter introduces how to wake up a device from standby modes on key stroke To wake up the device from a standby mode on key stroke first initialize the 1 O register and enable the external interrupt then the device enters a standby mode such as stop mode sleep mode timebase timer mode or watch mode The device in a standby mode can
Download Pdf Manuals
Related Search
155KB 155kb 155 kb to mb 155 kph to mph 155 kpa 155lbs to kg 152kb 155kpm 155 kph
Related Contents
POMPE HYDRAULIQUE DRE-PlugIns For Together Control Center User Manual Reaction Canister Manual.pub Bonjour, bienvenue dans le module de formation à la canulation 01a16_La Vallee 42.indd - Communauté de communes de la Vallée AKKUPACK uni BASE-PLUS-deu-eng-120312 CAI - MANUALE SCI ALPINISMO - 13 - VFG Copyright © All rights reserved.
Failed to retrieve file