Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2476 Datasheet(PDF) 43 Page - STMicroelectronics

Part # AN2476
Description  STR75x low power modes
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2476 Datasheet(HTML) 43 Page - STMicroelectronics

Back Button AN2476 Datasheet HTML 39Page - STMicroelectronics AN2476 Datasheet HTML 40Page - STMicroelectronics AN2476 Datasheet HTML 41Page - STMicroelectronics AN2476 Datasheet HTML 42Page - STMicroelectronics AN2476 Datasheet HTML 43Page - STMicroelectronics AN2476 Datasheet HTML 44Page - STMicroelectronics AN2476 Datasheet HTML 45Page - STMicroelectronics AN2476 Datasheet HTML 46Page - STMicroelectronics AN2476 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 49 page
background image
AN2476
Operating measurements
43/49
75x_mrcc.c
75x_eic.c
75x_extit.c
75x_cfg.c
c)
Link all compiled files and load your image into Flash
d)
Run the example
Note:
If the line #Define RTC_ON is modified through commenting/uncommenting in the
75x_conf.h file, the project must be rebuilt.
3.2.3
WFI mode
This example shows how to enter the system to WFI mode and wake-up from this mode
using an external Interrupt, an RTC Alarm or a NCKD(no clock detected) interrupt.
●
Choose the Board:
The chosen board for measurements can be selected in the 75x_conf.h file.
Uncomment the appropriate line:
#define STR750_EVAL
//#define Uniboard
●
Choose the WFI Mode:
Uncomment one of these lines in the 75x_conf.h file, to choose the required WFI mode
for the application:
//#define WFI_FLASH_Off
//#define WFI_FLASH_PowerDown
#define WFI_FLASH_On
In the associated software, the system clock is set to 64 MHz and an interrupt is generated
if no clock is present on OSC4M.
The EXTIT line7(P1.05) and EXTIT line15 are configured to generate interrupts on a rising
edge and the RTC is programmed to generate an interrupt each 1 second. The EXTIT
line15 is shared between the RTC_Alarm event and the WKP_STDBY pin (P1.15).
In the RTC interrupt handler, an LED connected to P2.18 pin is toggled and used to indicate
whether the MCU is in WFI or RUN mode.
The system enters WFI mode as follows:
a)
After system is powered on, an LED connected to P2.18 pin is toggled each 1
second
b)
After 5 seconds, the RTC is configured to generate an Alarm event with a trigger
delay of 10 seconds.
c)
The system then enters WFI mode causing the P2.18 pin to stop toggling.
The system exits WFI mode as follows:
a)
To wake-up from WFI mode a rising edge can be applied on EXTIT line15, EXTIT
line7 or the 4MHz external Quartz oscillator can be disconnected.
b)
If within 10 seconds none of those actions are performed, the RTC Alarm wakes
the system up.
c)
The P2.18 pin then restarts toggling and after 5 seconds the system enters WFI
mode again before exiting in the manner described above. This behavior is
repeated in an infinite loop.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com