RTC Initialization Issue
Hi Community
I have an issue with the Real Time Clock of the SPC560D. My application try to read the RTC.RTCCNT register. Every time during the read process the program pointer goes to 0x0000000E0, therefor it points to nothing -.-I think it is a basically problem, because the same issue occurs, if the RTC get configured.
Programm Code:
int
main(
void
) {
componentsInit();
uint32_t test = RTC.RTCCNT.R;
componentsInit();
}
The access to the timer structure STM works very well, but I have any read or write access to the RTC variable.
Has anybody some experience with it, or is there a solution out there ;D
best regards
Philipp
#rtc