Wrong WWD_PIN_SDIO_OOB_IRQ?

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

cross mob
Anonymous
Not applicable

Hi Guys,

I'm just reading the BCM943362WCD4_3_Rev01.pdf in SDK and find STM32F205 PB0 is connected to WL_SDIO_SPI_SEL while PB1 is connected to WL_HOST_WAKE.

However, the code in platforms/BCM943362WCD4/platform.c shows

/* Wi-Fi SDIO bus pins. Used by WICED/platform/STM32F2xx/WWD/wwd_SDIO.c */

const platform_gpio_t wifi_sdio_pins[] =

{

    [WWD_PIN_SDIO_OOB_IRQ] = { GPIOB,  0 },  <====== wouldn't have to be {GPIOB, 1} ???

    [WWD_PIN_SDIO_CLK    ] = { GPIOC, 12 },

    [WWD_PIN_SDIO_CMD    ] = { GPIOD,  2 },

    [WWD_PIN_SDIO_D0     ] = { GPIOC,  8 },

    [WWD_PIN_SDIO_D1     ] = { GPIOC,  9 },

    [WWD_PIN_SDIO_D2     ] = { GPIOC, 10 },

    [WWD_PIN_SDIO_D3     ] = { GPIOC, 11 },

};

which means the SDIO_OOB_IRQ is connected to WL_SDIO_SPI_SEL.

Isn't is wired? The IRQ line is supposed to come from WL_HOST_WAKE which according to the WM-N-BM-01 datasheet is a signal from the module to the host indicating that the module requires attention.

BTW, the schematic BCM943362WCD4_3_Rev01.pdf says the U2 module (i.e. wifi soc) is WM-N-BM-02 but according to the pins layout I think it is actually WM-N-BM-01.

Actually, I'm quite confused that how the code gonna work if the IRQ line is not connected correctly. Anyway, I changed the 0 to 1 and rebuild the app. It is working too. So it looks to me that the IRQ line isn't really used?

Thanks!

Alex

0 Likes
1 Solution
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

BCM943362WCD4 which is used WM-N-BM-02 for sure!

If the OOB not work, There still have SDIO in-band interrupt via SDIO_D1 pin!

View solution in original post

0 Likes
2 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

BCM943362WCD4 which is used WM-N-BM-02 for sure!

If the OOB not work, There still have SDIO in-band interrupt via SDIO_D1 pin!

0 Likes
Anonymous
Not applicable

Thanks! You are right. SDK uses SDIO in-band interrupt via SDIO_D1 pin.

In wwd_SDIO.c, it has IRQ handler defined for sdio_irq.

0 Likes