WICED 3.5.2 + ST32F412 + 1DX part - Timeout waiting for high throughput clock

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

cross mob
dast_1961951
Level 4
Level 4
10 likes received First like received

Ported WICED 3.5.2 to work with STM32F412 and attempting to integrate the Murata 1DX module wifi functionality over SDIO (as in the BCM94343WWCD1 devkit)

Currently wifi init is failing at 'waiting for high throughput clock'.   Appears SDIO comm is working, but the 1DX part is not behaving, so we're thinking there's got to be a firmware file we're missing.

If WICED 3.5.2 does not include the correct image for 1DX part, looking for the correct firmware/nvram.  In addition, are there any chip specific interface changes that need to be made to WICED?

Previous discussion (Wifi high throughput clock not starting ) mentions changing WWD thread startup, but this is done after firmware download on WICED 3.5.2

Thanks!

0 Likes
7 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Adding ghouse​ and hhyogo​ from Murata.

0 Likes
dast_1961951
Level 4
Level 4
10 likes received First like received

update:

by removing the WICED_DISABLE_MCU_POWERSAVE definition, which I'd been using to get my JTAG more stable, the wifi now gets past the high throughput clock.  Now, however, it's failing when waiting for "function 2" (snippet below).  Strangely, it gets through 22 loops (this is repeatable - 22 times) and then further execution freezes.  The SDIO interrupt (SDIOIT) then repeatedly triggers and execution of this loop never continues.

--snippet--

while ( ( ( result = wwd_bus_read_register_value( BUS_FUNCTION, SDIOD_CCCR_IORDY, (uint8_t) 1, &byte_data ) ) == WWD_SUCCESS ) &&

            ( ( byte_data & SDIO_FUNC_READY_2 ) == 0 ) &&

            ( loop_count < (uint32_t) F2_READY_TIMEOUT_MS ) )

    {

        WPRINT_WWD_ERROR(("2 %d %d %d\n", (int)byte_data, (int)result, (int)loop_count));

        (void) host_rtos_delay_milliseconds( (uint32_t) 1 ); /* Ignore return - nothing can be done if it fails */

        loop_count++;

    }

--------------------------------

----sample output from the ERROR statement included-------

2 2 0 0

2 2 0 1

2 2 0 2

2 2 0 3

2 2 0 4

2 2 0 5

2 2 0 6

-----------------------------------------------------

0 Likes

In addition, I just found a post (Re: Porting WICED : Problem after loading nvram image ) that refers to a SDK 3.6.2 that may be exactly what we need to solve these issues.

0 Likes

Note that SDK 3.7 was released today: WICED-SDK-3.7.0-IDE-Installer.exe

You should try it out.

0 Likes

Thanks - i'm curious if there is a particular firmware/nvram setting recommended for the 1DX.

0 Likes

Moving back to the WiCED Forums as Murata informed me the issue is WICED based.

Adding akyvik86​ and gangi from the WiFi apps team.

0 Likes
Anonymous
Not applicable

I am also locked into "Timeout waiting for high throughput clock" check.

Is there any updates ? new firmware ? nvram config ?

[EDIT]: OMG the firmware answers after more than 2,1s which overruns the original 500ms timeout loop.

0 Likes