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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,290 次查看
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 项奖励
回复
1 解答
1,258 次查看
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 项奖励
回复
3 回复数
1,280 次查看
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 项奖励
回复
1,271 次查看
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 项奖励
回复
1,259 次查看
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 项奖励
回复