Life timer counter wake up

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

Life timer counter wake up

跳至解决方案
1,662 次查看
Boris_Bloxsberg
Contributor III

Hi there,

 

is there an examble to implement and use a life time counter couter wake up?

 

regards

1 解答
1,620 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

I was searching for example for any type of the MCU. Unfortunately, nobody from my contacts was solving this task.

Best regards,

Ladislav

在原帖中查看解决方案

4 回复数
1,621 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

I was searching for example for any type of the MCU. Unfortunately, nobody from my contacts was solving this task.

Best regards,

Ladislav

1,607 次查看
Boris_Bloxsberg
Contributor III

thx

标记 (1)
0 项奖励
1,632 次查看
Boris_Bloxsberg
Contributor III

Hi Lama,

 

thanks for your reply. I´am using the MM9Z1_938 (Sorry I forgot to name it).

Is for MM9Z1_938 maybe a life time counter examble avialable? 

 

regards.

 

 

 

 

1,642 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

No, such an example is not available but you can use writing to EEPROM, considering number of E/W cycles. Each time the MCU is woken up then the number is increased.
You have not mentioned whether you mean only POR reset or any Wake up from low power mode.

If you count only wake up during run mode then you can use RAM variable for counting, however, the number must be stored finally into EEPROM or FLASH when device is switched off. So, you have to be able to check switching off the device and ensure enough time to be able to store last number from RAM to EEPROM before the voltage drops down.

The EEPROM example for S12ZVL128 is attached.

One thing I would like to mention is that it is good to inform us about MCU you use as a part of the question.

Best regards,

Ladislav