2 Replies Latest reply on Jul 2, 2015 11:02 PM by xcodersun

    Wrong WWD_PIN_SDIO_OOB_IRQ?

    xcodersun

      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