数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3316 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN3316
功能描述  SPC560B power and mode management
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3316 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN3316 Datasheet HTML 19Page - STMicroelectronics AN3316 Datasheet HTML 20Page - STMicroelectronics AN3316 Datasheet HTML 21Page - STMicroelectronics AN3316 Datasheet HTML 22Page - STMicroelectronics AN3316 Datasheet HTML 23Page - STMicroelectronics AN3316 Datasheet HTML 24Page - STMicroelectronics AN3316 Datasheet HTML 25Page - STMicroelectronics AN3316 Datasheet HTML 26Page - STMicroelectronics AN3316 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 42 page
background image
AN3316
Device modes
Doc ID 18232 Rev 2
23/42
6.
Request transition to RUN0 mode:
The transition from a mode to another is handled by software by accessing the mode
control ME_MCTL register twice by writing:
the first time with the value of the key (0x5AF0) into the KEY bit field and the
required target mode into the TARGET_MODE bit field
the second time with the inverted value of the key (0xA50F) into the KEY bit field
and the required target mode into the TARGET_MODE bit field.
So, in case of DRUN
RUN0 transition, these two register writing should be done:
ME.MCTL.R = 0x40005AF0
ME.MCTL.R = 0x4000A50F
7.
DRUN
RUN0 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 ordeI to prevent code stucking waiting for transition completion, it could be better to
check transition timing through a timer. Timer timeout calculation should be based on
modules/peripherals start-up timing. In this case this value is close to XTAL start-up
time (at maximum 6 msec).
8.
RUN0 mode:
Otherwise, if transition completion is signaled by sw, the RUN0 is properly entered with
the modules configured as expected.
Scenario 2 (RUN0 HALT RUN0)
This scenario deals with HALT mode that is the only one allowing to reduce average
consumption while the application is 100% functional. In fact, reducing dynamic
consumption through core switching-off and togheter with maintaining the full functionality is
one of the new challenge in body.
Figure 12.
Scenario 2 - finite state machine
Hardware triggered transition
Software triggered transition
RUN0
HALT
XTAL, PLL = ON
sysclk = PLL-64MHz
CFLASH = ON
DFLASH = Low Power
SPI0, ADC0 = ON
XTAL, PLL = ON
sysclk = PLL-64MHz
CFLASH = Low Power
DFLASH = Low Power
SPI0, ADC0 = ON
CAN0 = ON



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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