| 전자부품 데이터시트 검색엔진 |
|
AN3316 데이터시트(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3316 데이터시트(HTML) 23 Page - STMicroelectronics |
|
23 / 42 page ![]() 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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |