cancel
Showing results for 
Search instead for 
Did you mean: 

STR711 - LPWFI and FLASH POWER DOWN

luca239955_stm1
Associate II
Posted on October 29, 2008 at 18:59

STR711 - LPWFI and FLASH POWER DOWN

1 REPLY 1
luca239955_stm1
Associate II
Posted on October 29, 2008 at 18:59

Dear All,

I'm devepoling an application using an STR711FR2 and EMBOS Operating System with Keil uVision3 IDE.

In my application I have an interrupt coming from the RTC at 32Hz. The MCU have to do some operations than it should go in LPWFI using the RTC as clock source.

I disable all the PLLs and then call the function

PCU_LPModesConfig(DISABLE, DISABLE, DISABLE, ENABLE, LPWFI_CK_AF);

from the STR7 library and then WFI.

The device seems to work and the power consumption drops down. The problem is that after some minutes something goes wrong and the application stops.

If i don't put the flash in power down the application seems to work.

I've read that i should not use the flash in the first 20us after power on, my application is actually mapped in ROM, should I remap the interrupt service routine to RAM? In this case which is the procedure?

thank you for your help