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

X  

AN3316 датащи(PDF) 28 Page - STMicroelectronics

номер детали AN3316
подробное описание детали  SPC560B power and mode management
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3316 датащи(HTML) 28 Page - STMicroelectronics

Back Button AN3316 Datasheet HTML 24Page - STMicroelectronics AN3316 Datasheet HTML 25Page - STMicroelectronics AN3316 Datasheet HTML 26Page - STMicroelectronics AN3316 Datasheet HTML 27Page - STMicroelectronics AN3316 Datasheet HTML 28Page - STMicroelectronics AN3316 Datasheet HTML 29Page - STMicroelectronics AN3316 Datasheet HTML 30Page - STMicroelectronics AN3316 Datasheet HTML 31Page - STMicroelectronics AN3316 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 42 page
background image
Device modes
AN3316
28/42
Doc ID 18232 Rev 2
For the HW steps, refer to Chapter : Common HW aspects. Now, see in details operation
done for each phase:
RUN0 mode:
1.
Mode config in STOP:
ME_STOP_MC.CFLAON = 1
(code Flash in Power-Down)
ME_STOP_MC.DFLAON = 2
(data Flash in Low Power mode)
In this way, at STOP exiting, Flash startup from Power-Down to Normal mode takes few
usecs
ME_ STOP_MC.XOSC0ON = 1 (turn-on the XTAL)
The XTAL is maintained on in STOP in order to clock CAN protocol handler: in this way
PLL jitter issues are avoided
ME_ STOP_MC.SYSCLK = 0
(set FIRC as device system clock)
2.
Periphs mode config STOP mode:
ME_RUN_LP0.STOP = 1 (activate low power peripheral configuration ’0’ in STOP)
ME_PCTL[16].LP_CFG = 0 to select the low power peripheral configuration ’0’ for
FlexCAN0 identified by offset = 16 (refer to figure x)
3.
Timer config:
See Step 5 (RUN0
 HALT mode)
4.
Request transition to RUN0 mode:
in case of RUN0
 STOP transition, these two register writing should be done:
ME.MCTL.R = 0xA0005AF0
ME.MCTL.R = 0xA000A50F
5.
RUN0
 STOP mode:
Once a valid mode transition request is detected, the transition starts. Here, device
switches-on/off modules and peripherals without CPU intervention.
It is possible to check for transition completion through mode Transition Status bit:
while (ME.GS.MTRANS != 0)
//transition ongoing
...
//transition completed
...
in order to prevent code stucking waiting for transition completion, it could be better to
check transition timing through a timer. As, in this case, as there aren’t any slow-start-
up peripherals to switch-on, timeout could be considered equal to few clock cycles.
6.
STOP mode:
At the end of the transition, device enters in STOP mode with core switched-off,
FlexCAN0 switched-on and CFLASH in Power Down. All others peripherals are
maintained in the same status of the RUN0 mode.
At this point, if a FlexCAN0 interrupt event is generated, the device, automatically,
starts the transition to go back to the previous RUN0
7.
transition STOP
 RUN0 mode:
During the STOP
 RUN0 transition, the device automatically restores the
peripherals/modules as they were configured before entering in STOP. So, core is
already on and CFLASH comes back to Normal mode



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


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

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