поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2476 датащи(PDF) 41 Page - STMicroelectronics

номер детали AN2476
подробное описание детали  STR75x low power modes
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2476 датащи(HTML) 41 Page - STMicroelectronics

Back Button AN2476 Datasheet HTML 37Page - STMicroelectronics AN2476 Datasheet HTML 38Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 49 page
background image
AN2476
Operating measurements
41/49
3.2.2
STOP mode
This example shows how to put the system in STOP mode and then to wake-up from this
mode using an external interrupt, an RTC alarm or an NCKD (no clock detected) interrupt.
●
Choose the Board:
The choice of board to be used to perform the measurements is defined in the
75x_conf.h file. Comment/uncomment the appropriate lines, depending on the chosen
board:
#define STR750_EVAL
//#define Uniboard
●
Choose the STOP mode:
Uncomment one of these lines in the 75x_conf.h file to select the STOP mode
configuration:
//#define MRCC_STOP_Default
//#define STOP_MVREG_Off
//#define STOP_OSC4M_Off
//#define STOP_FLASH_Off
//#define STOP_FLASH_PLL_Off
#define STOP_FLASH_OSC4M_Off
●
Choose RTC using clock:
Comment the following line in the 75x_conf.h file if the RTC is not used to wake-up from
STOP mode:
#define RTC_ON
In the associated software, the system clock is set to 60 MHz and an interrupt is
generated if no clock is present on OSC4M.
●
If the RTC is on (by uncommenting the line #define RTC_ON in the 75x_conf.h file):
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 STOP or RUN mode.
The system enters mode as follows:
a)
After system power 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 after a delay of
10 seconds
c)
The system then enters STOP mode causing the P2.18 pin to stop toggling.
The system exits STOP mode as follows:
a)
To wake-up from STOP mode either 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-
up the system.
c)
The LED connected to P0.16 is then switched on and the VCO of the PLL
(FREEOSC) supplies the system clock.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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