WICED 3.5.2 BCM43438WCD1 doesn't work with WICED_COUNTRY_KOREA_REPUBLIC_OF

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I just finished our bring up of a BCM43438WCD1 and were constantly failing to set the country code when we used WICED_COUNTRY_KOREA_REPUBLIC_OF. 

This is the same code I used with WICED 3.5.2 with a BCM43438WCD1.

We changed the country code to WICED_COUNTRY_UNITED_STATES, and now the BCM43438WCD1 works.

Can anyone confirm that WICED_COUNTRY_KOREA_REPUBLIC_OF is not valid for then BCM43438WCD1using WICED 3.5.2?

0 Likes
10 Replies
Anonymous
Not applicable

This should work. What error were you getting? how are you setting the country code?

0 Likes
Anonymous
Not applicable

Hi, nsankar

These are my WICED setting.

WICED SDK: 3.5.2

Make Target: snip.apsta-BCM943438WCD1-FreeRTOS-LwIP-SDIO download run

snip => apsta => wifi_config_dct.h => #define WICED_COUNTRY_CODE WICED_COUNTRY_KOREA_REPUBLIC_OF

result:

#define WICED_COUNTRY_CODE WICED_COUNTRY_KOREA_REPUBLIC_OF

pastedImage_0.png

#define WICED_COUNTRY_CODE WICED_COUNTRY_UNITED_STATES

pastedImage_1.png

0 Likes
Anonymous
Not applicable

Can you please try this in station mode first? STA connect to AP which is setup for Korea?

0 Likes
Anonymous
Not applicable

These are my WICED setting.

WICED SDK: 3.5.2

Make Target: snip.apsta-BCM943438WCD1-FreeRTOS-LwIP-SDIO download run

snip => apsta => wifi_config_dct.h => #define WICED_COUNTRY_CODE WICED_COUNTRY_KOREA_REPUBLIC_OF

snip => apsta => apsta.c =>

test.png

result:

pastedImage_1.png

0 Likes
Anonymous
Not applicable

Could you go to wwd_constants.h and in the MK_CNTRY for KOREA_REPUBLIC_OF change the 1 to a 0 and retry?

0 Likes
Anonymous
Not applicable

These are my WICED setting.

WICED SDK: 3.5.2

Make Target: snip.apsta-BCM943438WCD1-FreeRTOS-LwIP-SDIO download run

snip => apsta => wifi_config_dct.h => #define WICED_COUNTRY_CODE WICED_COUNTRY_KOREA_REPUBLIC_OF

wwd_constants.h => WICED_COUNTRY_KOREA_REPUBLIC_OF = MK_CNTRY('K', 'R', 0);

result:

The WLAN Firmware is OK. But SoftAP or STA is fail.

STA:

pastedImage_0.png

SoftAP:

pastedImage_1.png

0 Likes
Anonymous
Not applicable

Just to double confirm a few items -

1. Which Channel is your AP on?

2. Which channel are you setting for your softAP?

3. Can you try ThreadX-NetX_Duo?

0 Likes
Anonymous
Not applicable

1. Which Channel is your AP on?

=> Channel 6. And I define CLIENT_AP_CHANNEL for channel 6, then It's failed to join my AP.

2. Which channel are you setting for your softAP?

=>All channel is failed.

3. Can you try ThreadX-NetX_Duo?

=> It's failed.

pastedImage_0.png

0 Likes
Anonymous
Not applicable

I trace the WICED SDK 3.5.2. It returns a error code(2020) at the internal_ap_init API. The error code(2020) is bad channel.

It's a big question. I just did not understand what the difference WICED_COUNTRY_UNITED_STATES and

WICED_COUNTRY_KOREA_REPUBLIC_OF are and how the affect properties of the WICED. Can you fix the bug?

0 Likes
Anonymous
Not applicable

We can reproduce this issue and have escalated this to our firmware team. Please stay tuned