Announcements
IMPORTANT: Cypress Developer Community currently doesn’t allow sign-in to prepare for the upcoming transition. To learn more, check out our announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

AxLi_1746341
Honored Contributor

In WICED/platform/MCU/STM32F4xx/platform_init.c:

The code in platform_init_mcu_infrastructure() is very strange.

platform_rtc_init() is guarded by #ifndef WICED_DISABLE_MCU_POWERSAVE,

which means RTC is not initialized if define WICED_DISABLE_MCU_POWERSAVE.

i.e Define WICED_ENABLE_MCU_RTC does not work if WICED_DISABLE_MCU_POWERSAVE is set.

This looks like a bug.

0 Likes
4 Replies
PriyaM_16
Moderator
Moderator

I agree to your comments.

RTC initialization should not be guarded by WICED_DISABLE_MCU_POWERSAVE. Enabling powersave should not stop initialization of RTC.

I will escalate the issue internally. Thank you for bringing this to our notice.

AxLi_1746341
Honored Contributor

PriyaM_16 wrote:

I agree to your comments.

RTC initialization should not be guarded by WICED_DISABLE_MCU_POWERSAVE. Enabling powersave should not stop initialization of RTC.

I will escalate the issue internally. Thank you for bringing this to our notice.

FYI, this is still not fix in your latest sdk.

0 Likes
ErSt_4460741
New Contributor II

As AxLi_1746341 states, it is still not updated in your latest SDK.
I performed this issue also and can confirm this is the correct solution

AxLi_1746341
Honored Contributor

PriyaM_16 wrote:

I agree to your comments.

RTC initialization should not be guarded by WICED_DISABLE_MCU_POWERSAVE. Enabling powersave should not stop initialization of RTC.

I will escalate the issue internally. Thank you for bringing this to our notice.

But the latest sdk does not fix it, why? Is there other issue to block the fix?

0 Likes