Life timer counter wake up

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

Life timer counter wake up

Jump to solution
1,550 Views
Boris_Bloxsberg
Contributor III

Hi there,

 

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

 

regards

1 Solution
1,508 Views
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

View solution in original post

4 Replies
1,509 Views
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,495 Views
Boris_Bloxsberg
Contributor III

thx

Tags (1)
0 Kudos
1,520 Views
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,530 Views
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