Ok, I'm using an MSP-TS430PZ100USB proto board to do initial software work while our hardware folks work on board desigh.
Trying to initialize and read the RTC_B, I'm getting a hang in my code:
initialDate.DayOfMonth = BASE_DAY_OF_MONTH; initialDate.DayOfWeek = BASE_DAY_OF_WEEK; initialDate.Hours = BASE_HOURS; initialDate.Minutes = BASE_MINUTES; initialDate.Seconds = 0; initialDate.Month = BASE_MONTH; initialDate.Year = BASE_YEAR; RTC_B_initCalendar(CAL_RTC_BASE, &initialDate, RTC_B_FORMAT_BINARY); RTC_B_startClock(CAL_RTC_BASE); initialDate = RTC_B_getCalendarTime(CAL_RTC_BASE); // HASNGS HERE
Looking into the code, I see RTCRDY never coming high, which is why the call to getCalendarTime stalls. I also see that RTCOFIE is high.. would this cause the RTC to never go ready?
I know this is kind of a clueless newbie question, I've never tried the RTC on this device so I'm kind of grasping at straws.
All help appreciated!
Ed Averill