I have found serious problem with RTC counters. I initialize RTC by RPDL function bellow. Seconds counter RSECCNT counts in hexadecimal format. As you can see on the print screen, the RSECCNT contains number 0x1A (26 seconds after initialization). I have four prototypes of target board. I face this problem only two of them. I suppose that problem is caused by faulty MCU. Am I true? bcd_time = 0xFF000000; bcd_date = 0x20140101; R_RTC_Create( PDL_RTC_24_HOUR_MODE | PDL_RTC_OUTPUT_DISABLE, PDL_NO_DATA, bcd_time, bcd_date, PDL_RTC_CAPTURE_EDGE_NONE | PDL_RTC_CAPTURE_FILTER_OFF, PDL_RTC_CAPTURE_EDGE_NONE | PDL_RTC_CAPTURE_FILTER_OFF, PDL_RTC_CAPTURE_EDGE_NONE | PDL_RTC_CAPTURE_FILTER_OFF, PDL_RTC_PERIODIC_1_HZ, PDL_NO_DATA, PDL_NO_DATA, PDL_NO_FUNC, 0, PDL_NO_FUNC, 0 );
↧