Hello Mark,
Yes, it should have been easy to find out the problem... but nobody
mentioned about this mask bug before!
That's the reason for Freedon libs also works on the board, the guys that
wrote the code knew the bug and done all the necessary workarround, but in
my case, I'm using my own board, and I'm not using the RTC, so I did not
study any RTC register up to know.
I'm little bit old programmer, and for me, that comes from assembler, it's
not easy to interpretate codes like uTask or SDK. I'm that kind of
programmer that reads the datasheet and use to config all the usefull
register by my own. So, if this information is not present on the regular
documentation is hard to find...
I think that the NXP(Freescale) engeneers should have know this Errata and
the problems that these bugs can cause, and should have bring us the
answers for these not trivial question faster...
Even if I had seen on your code that includes about the errata, I would
never associate with my problem since I not knew what that errata means...
So man, now the code is almost done... and I'm feeling pretty more light,
because I already have more 500 boards assembled with KL03 and the older
model, that use HCS08 core, is almos over.
Thankyou so much for the help, patiance an support!
Best regards...
2017-03-29 19:18 GMT-03:00 mjbcswitzerland <admin@community.nxp.com>:
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: How can I know what is setting the STOPA bit on SMC_PMCTRL?
reply from Mark Butcher
<https://community.nxp.com/people/mjbcswitzerland?et=watches.email.thread>
in Kinetis Microcontrollers - View the full discussion
<https://community.nxp.com/message/892035?commentID=892035&et=watches.email.thread#comment-892035>