Skip navigation
Home > All Places > WICED Studio Wi-Fi/Combo > WICED Studio Wi-Fi/Combo Forums > Blog > 2015 > February

Here is an example of interfacing the BCM43362 based SN8000 WiFi module (from Murata) with the STM32F429-Discovery board.


The below schematic illustrates the connections required to connect the SN8000 to the STM32F429-Discovery board. Since the SN8000 comes as a module to connect to a PCB, a carrier board is needed to connect the module to the STM32F429-Discovery board.

ScreenHunter_95 Jan. 02 16.15.jpg

If you have the SN8000 module mounted on a SDIO carrier board, which comes with the SN8000 evaluation board, the following connection schema could be used to connect the module to the STM32F429-Discovery board.


For terminal interface between STM32F429-Discovery board and host PC the following serial (RS232) connection is needed.

To connect a JTAG debugger (Olimex_ARM-USB-TINY-H) to the STM32F429-Discovery board follow the below connection.

For more information please take a look at this link: Interfacing STM32Fx-Discovery with WICED using JTAG Debugger


After setting up the hardware connections WICED SDK-3.x should be updated to run WICED applications on STM32F429-Discovery board with SN8000 WiFi module. Unzip the attached file with the following expected updates.


Contents of the "WICED.platform.MCU.STM32F4xx.GCC.STM32F429.7z" goes to .../WICED/platform/MCU/STM32F4xx/GCC/STM32F429 directory of the WICED SDK.


Contents of the "platforms.STDiscovery429_BCM43362.7z" goes to .../WICED/platforms/STDiscovery429_BCM43362 directory of the WICED SDK.


The STM32F429 Discovery board I have does not have an external RTC oscillator and the internal oscillator needs to be setup as input.

To setup the internal oscillator for RTC define the following "#define WICED_RTC_CLOCK_SOURCE  (INTERNAL_OSCILATOR)" in updated .../include/wiced_defaults.h file.


Update the below files for the RTC oscillator source setup:

The above files and updates are attached.


To build and run application using WICED SDK following Make Target could be used;

     <Application>-STDiscovery429_BCM43362 JTAG=Olimex_ARM-USB-TINY-H download run


To build and run a sample scan app use the following Make Target:

     snip.scan-STDiscovery429_BCM43362-debug JTAG=Olimex_ARM-USB-TINY-H download run

WICED WiFi modules can be setup to restrict the number of clients that can join the WICED Soft AP mode device.


If the number of clients to join the WICED Soft AP device is set to 1, one client is allowed to join at a time. Once the joined device is disconnected from the AP the next device is allowed to join.

Copy the following code anywhere in …/WICED/WWD/internal/wwd_wifi.c

wwd_result_t wwd_wifi_set_max_associations( uint32_t max_assoc ) {
    wiced_buffer_t buffer;

    uint32_t* data = (uint32_t*) wwd_sdpcm_get_iovar_buffer( &buffer, (uint16_t) 4,IOVAR_STR_MAX_ASSOC );
    *data = max_assoc;

    RETURN_WITH_ASSERT( wwd_sdpcm_send_iovar( SDPCM_SET, buffer, NULL, WWD_STA_INTERFACE ));



Copy the following code anywhere in …/WICED/WWD/include/wwd_wifi.h

/** Set the maximum number of associations in STA mode.
*  Defined only on STA interface
* @param noise : number of allowed accociations
* @return  WWD_SUCCESS : if success
*          Error code   : if Link quality was not enabled or not successful
extern wwd_result_t wwd_wifi_set_max_associations( uint32_t max_assoc );

Add wwd_wifi_set_max_associations(…) after setting the WICED network.

For example …/apps/snip/apsta application could be updated by adding wwd_wifi_set_max_associations(…) after wiced_network_up(…).

/* Bring up the STA (client) interface ------------------------------------------------------- */
/* Restrict number of Soft AP clients */

Filter Blog

By date:
By tag: