wiced_ioctl_sleep semaphore timeout

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

cross mob
Anonymous
Not applicable

I am trying to connect Murata SN8000 to STM32F4 Discovery kit through SDIO bus. Everything works fine (reading/writing broadcom chip's registers, downloading firmware) until start of communication through SDPCM protocol - wiced_send_iovar() (SDPCM.c) timeouts on wiced_ioctl_sleep semaphore. Wiced thread is running. Here is console dump of snip.udp_transmit-SN8000x-SDIO (all prints enabled):

Starting Wiced v2.4.1

Platform SN8000x initialised

Star▒Starting Wiced v2.4.1

Platform SN8000x initialised

Started FreeRTOS v7.1.0

Initialising LwIP

Wcd:> Sending pkt 0x20004B44

Could not turn on APSTA

Could not set AMPDU parameters

Error 2 while starting WICED!

WWD SDIO interface initialised

WLAN MAC Address : 02:00:00:00:00:00

WLAN Firmware    :

It prints the same with ThreadX, so I assume it isn't OS issue. Raw SDIO works, everything works also fine with SPI bus, so it isn't probably hardware issue.

Murata SN8000 module's GPIO0, GPIO1, RST_N, VDD_3V3_EN pins are connected to STM32F4 Discovery kit. SLEEP_CLK is driven by PWM.

I am using Wiced SDK 2.4.1 almost untouched (I modified makefile commands running OpenOCD to connect to st-link)

21 Replies