- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jaeyoung,
Please take a look at:
http://community.broadcom.com/message/16038#16038
Seems this issue is still in SDK-3.3.1.
Can you confirm if this issue is fixed or not for all platforms in SDK-3.3.1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sam,
I've verified it with 43341WCD1 and 43362WCD4. After power cycling it has no problems in using the delay functions. May I ask which platform you are using that are occurring problems?
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jaeyoung,
I just test again and found I cannot reproduce this issue on SDK-3.3.1.
I'm testing on BCM4390 and I can reproduce this on SDK-3.1.2.
Do you have patch to fix this issue on SDK-3.1.2?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sam,
The problem is the cycle count enable register bit is not getting set after the board gets power cycled in SDK 3.1.2. You can do the following to get it working properly.
1. In your application code, insert the following line into application_start() after wiced_init().
platform_init_nanosecond_clock();
2. If you are using STM32F2xx as the host MCU (BCM9WCDPLUS114 and BCM943362WCD4) you will have to copy the file platform_nsclock.c from
<copy source>: <SDK>/WICED/platform/MCU/STM32F4xx/peripherals/
<copy destination>: <SDK>/WICED/platform/MCU/STM32F2xx/peripherals/
3. Also change the peripherals.mk in
<SDK>/WICED/platform/MCU/STM32F2xx/peripherals/
to add the platform_nsclock.c to the source file list.
Let me know if this solves the issue.
Thanks,
Jaeyoung