FreeRtos Scan example - WWD_TIMEOUT

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

cross mob
Anonymous
Not applicable

Hi,

I'm making WWD port to Murata SN8000 with custom board based on STM32F7 (1B SDIO + IRQ).

I can succesfully run scan example (FreeRTOS_LwIP_Scan.c), but after a few loops I get WWD_TIMEOUT from wwd_wifi_scan function which is caused by timeout on function wwd_bus_packet_available_to_read(void). WWD_Timeout is returned by backplane write function on SDIO_INT_STATUS register.

Do you have any suggestions?

0 Likes
1 Solution

Yes, it possible. Because LWIP at debug mode doing memory test, at this moment are disabled interrupts , so you can lost packet.

View solution in original post

7 Replies
DaBa_2244756
Level 5
Level 5
25 likes received 10 likes received 10 likes given

Hi,

What your SDIO speed now?

Darius

0 Likes
Anonymous
Not applicable

I use 2 MHz because with 4MHz I had occasionaly problem with startup sequence (due to my layout with a long lines). Do you have any idea why operation on SDIO_INT_STATUS can get a timeout?

0 Likes
Anonymous
Not applicable

I turned off DEBUG option and it started to work stable, and over 30 minutes it scans networks perfectly. Probably debug mode caused loosing some packets and exit from scan thread.

0 Likes

Yes, it possible. Because LWIP at debug mode doing memory test, at this moment are disabled interrupts , so you can lost packet.

Anonymous
Not applicable

Thank you, I will also try to increase SDIO loops timeout parameter as you mention.

0 Likes

sqlsql_2244756 wrote:

Yes, it possible. Because LWIP at debug mode doing memory test, at this moment are disabled interrupts , so you can lost packet.

I'm not convinced it's related to memory test in debug mode.

You can still test with debug build but disable the MEMP_OVERFLOW_CHECK/MEMP_SANITY_CHECK.

rad_4757021
Level 1
Level 1
First like given

Hi maanc,

Actually we too have custom board STM32F7 + BCM4343. We could see that WICED SDK doesn't support STM32F7 yet.

Could you please help us or refer related doc to use WICED SDK for STM32F7.

Thanks in advance for your help. 

0 Likes