Hello,
I am trying to configure RTC in target cortex-M0 KEAZN64 as follows;
SIM_PINSEL |= SIM_PINSEL_RTCPS_MASK; /* To get the toggled pin on PTC5 */
RTC_MOD = 16000; /* Setting MOD value by 16000 */
---------------------------
After debugging, I found out that any write any of RTC registers configuration causes "hardfault" exception (HardFault_Handler)
Any help or advice please ?
Thank you inn advance.