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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,309件の閲覧回数
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,277件の閲覧回数
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,299件の閲覧回数
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,290件の閲覧回数
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,278件の閲覧回数
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 件の賞賛
返信