| Electronic Components Datasheet Search |
|
AN3316 Datasheet(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3316 Datasheet(HTML) 16 Page - STMicroelectronics |
|
16 / 42 page ![]() Device modes AN3316 16/42 Doc ID 18232 Rev 2 2.3.3 HW failure and error modes management ME Provides a SAFE mode to manage either HW failure or errors caused by incorrect mode transition configurations. HW failure management Device can manage some HW failure events to force SAFE mode transition instead of generating a reset. This is possible through RGM (Reset Generation Module), which, for examples, allows to configure following less-critical functional events: ● FMPLL failure ● FXOSC failure ● CMU clock frequency higher/lower than reference ● 4.5 V low-voltage detected ● code or data Flash fatal error So, if one of these happens, the system enters into a pre-defined SAFE configuration from which it may try to recover. It is also possible that SAFE transition is triggered by an interrupt through the ME. Following is an example that describes how crystal failure event can be managed: Example ● Current mode: DRUN with system clock = IRC (default) ● Target mode: RUN0 mode with system clock = XOSC ● XOSC failure event hapens Steps ● Configuration of RUN0 mode – ME_RUN0_MC.OSCON = 1 – ME_RUN0_MC.SYSCLK = XOSC ● Configuration of XOSC failure as SAFE transtition – ME_RGM_FERD.D_CMU_OLR = 1 – ME_RGM_FEAR.AR_CMU_OLR = 0 ● Configuration of SAFE mode interrupt – ME_IM.M_SAFE = 1 ● XOSC failure event hapens ● Software Transition request – ME_MCTL = RUN0 + KEY – ME_MCTL = RUN0 + INVERTED KEY ● SAFE mode transition forced and interrupt generated |
|
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 |
| 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 |