Feb 29, 2016
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 29, 2016
03:17 AM
hi,
i have a project with a xmc4400 which don't use a hibernate section and rtx_xtall. At start-up the system stay infinite loop inside at function XMC_SCU_HIB_SetRtcClockSource. The register MCU_GENERAL->MIRRSTS is not real!!
My Personal patch is check bit fixed inside of this register for determinate if is real or not. This is my patch:
/* API to select fRTC */
void XMC_SCU_HIB_SetRtcClockSource(const XMC_SCU_HIB_RTCCLKSRC_t source)
{
/*PATCH */
if ((SCU_GENERAL->MIRRSTS & 0x00000010) != 0)
return;
/* Wait until the update of HDCR register in hibernate domain is completed */
while((SCU_GENERAL->MIRRSTS) & SCU_GENERAL_MIRRSTS_HDCR_Msk)
{
}
Why do I have to do this?
I made some mistakes in the initialization?
Dave Version: 4.2.2
I await comments thanks.
i have a project with a xmc4400 which don't use a hibernate section and rtx_xtall. At start-up the system stay infinite loop inside at function XMC_SCU_HIB_SetRtcClockSource. The register MCU_GENERAL->MIRRSTS is not real!!
My Personal patch is check bit fixed inside of this register for determinate if is real or not. This is my patch:
/* API to select fRTC */
void XMC_SCU_HIB_SetRtcClockSource(const XMC_SCU_HIB_RTCCLKSRC_t source)
{
/*PATCH */
if ((SCU_GENERAL->MIRRSTS & 0x00000010) != 0)
return;
/* Wait until the update of HDCR register in hibernate domain is completed */
while((SCU_GENERAL->MIRRSTS) & SCU_GENERAL_MIRRSTS_HDCR_Msk)
{
}
Why do I have to do this?
I made some mistakes in the initialization?
Dave Version: 4.2.2
I await comments thanks.
- Tags:
- IFX
4 Replies
Not applicable
Apr 22, 2016
11:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 22, 2016
11:53 AM
We had the same issue and it turned out to be that the VBAT pin wasn't tied to 3.3v. Hope that helps.
Oct 11, 2017
03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 11, 2017
03:15 AM
Thanks KDogII !
Nov 11, 2018
10:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 11, 2018
10:52 PM
Thanks KDogll.
Your solution very helpful for me.
Your solution very helpful for me.
Nov 12, 2018
06:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 12, 2018
06:02 AM