I need help on how to do the routine to leave only the part of the RTC active.
I'm using NMI_Handler, see how I did it below
//=============================================================
#define INTERRUPT_NMI NMI_Handler
void INTERRUPT_NMI (void)
{
// Turn everything off and leave the RTC power on the MKE15Z256 active
}
//=============================================================
Which record should I change when the interrupt is active? I need to change the registry to only remain active on the RTC feed
Chip power modes = BAT (Backup Battery only)
Hello, Marcel Giraldi
I´m working on your question, please provide me a day to provide you my recommendations.
Regards, Diego.
Hello, m_giraldi@uol.com.br
Thank you for your patience!
As a general recommendation, you could disable the clock of unused peripherals and put GPIOs in default state to diminish battery wear. Additionally, implementing a low power mode to reduce or halt core and peripherals operation can be helpful.
Here you could find some useful resources.
Using Low Power modes on Kinetis family
Configuration for Unused Pins/GPIOs on Kinetis
If you need more specific advice on your application, please let me know.
Best regards, Diego.