MXCHIP-EMW / WICED-for-EMW

Broadcom WICED patches for MXCHIP EMW wireless ARM platform. Not affiliated with MXCHIP or Broadcom
Other
55 stars 25 forks source link

EMW3165 platform.c is missing WWD_PIN_32K_CLK in wifi_control_pins #21

Open AriZuu opened 8 years ago

AriZuu commented 8 years ago

GPIO pin for WWD_PIN_32K_CLK is not defined in EMW3165 platform.c. However, WICED_USE_WIFI_32K_CLOCK_MCO is defined in platform_config.h, which causes code in STM32F4xx/WWD/wwd_platform.c:host_platform_init_wlan_powersave_clock() to attempt setup with undefined values.

This causes problems if one wants to use MCU powersaving features as 32 Khz clock is not delivered to Wifi chip as expected.

I couldn't find any schematic which would tell to which STM32 pin is used for clock inside module :-(

AriZuu commented 8 years ago

MCU powersave works with two changes in platform_config.h: