Unexpected sram content after a wake up from power down (LPC802)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unexpected sram content after a wake up from power down (LPC802)

Jump to solution
1,013 Views
emmanuelJJ
Contributor I

Hi All,

My software context:

The LPC802 is configured to have WKT interruption each 100ms. And inside WKT_IRQHandler, I increments a counter.

LPC802  goes to "power down"  mode after the execution of WKT_IRQHandler.

 

My issue:

When i look the real time "global variable", my counter is well incremented but it takes some unexpected value

0 Kudos
Reply
1 Solution
981 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Const data should in Flash memory, not SRAM, please check on your side.

ANd in Power-down mode, the FLASH is off.

Alice_Yang_0-1658732910767.png

 

BR

Alice

 

View solution in original post

0 Kudos
Reply
3 Replies
1,003 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

"but it takes some unexpected value"

->> Could you please describe more about the unexpected value?  What value it is? And what value it should be? 

 

BR

Alice

0 Kudos
Reply
994 Views
emmanuelJJ
Contributor I

Hello,

For example about a constante variable:

- During active mode, constante variable equals to 200. ==> OK for me.

- During low power mode, this constante variable equals to 53765 or 53760 ==> Normal behavior??

emmanuelJJ_0-1658478335915.png

0 Kudos
Reply
982 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Const data should in Flash memory, not SRAM, please check on your side.

ANd in Power-down mode, the FLASH is off.

Alice_Yang_0-1658732910767.png

 

BR

Alice

 

0 Kudos
Reply