This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

No response for CMD5 on WL1271 with OMAP3530 EVM board

Other Parts Discussed in Thread: WL1271, OMAP3530

Hello Everyone,

I am using an OMAP3530 EVM board with WL1271 daughter board, both from Mistral and CE6 OS (my problem does not seem to be OS specific). The WLAN on  WL1271 daughter card is interfaced with OMAP3530 EVM bord on MMC2 interface (SDIO) of OMAP3530 processor.

I am not able to receive response to CMD5 from the LSR module (which utilizes TIs WL1271).

I have made sure that the hardware is working fine by using prebuilt linux images. I have linux WLAN driver too (downloaded from internet) and made sure that my driver too is as per the linux driver. I have read the LSR modules datasheet too and my initialization sequence is as per that.

This is what i do...

[1] Make WL_EN signal for LSR module high (before this the VBAT, VIO and SLOW_CLK are already applied)

[2] Configure OMAP3530 MMC2 interface as per the instructions in OMAP3530 processor's TRM (clock is 24MHz)

[3] Send CMD0 (no response expected) so the Command Complete (CC) bit in Status register is set

[4] Send CMD5. The CC bit is never set and the CommandTimeOut bit gets set.

Both CMD0 and CMD5 (arg=0) reach the LSR chip. I have seen and decoded these signals by probing the LSR modules pin 20 using an Oscilloscope.

I am stuck up in this problem for quite some time now. Appreciate your help...

Thanks

  • Hi Ajay,

    If pre-built  Linux image is working on your setup, you will be able to run WLAN demo (http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_Demo#Start_WLAN_menu). If you are able to download firmware and connect to an AP that verifies the hardware is fine. Then the problem could be in your SDIO driver.

    Thanks,

    Sinoj

     

  • Hi Sinoj,

    I have seen CMD0 and CMD5 reaching the LSR module by probing at SDIO_CMD pin.
    Could it be possible that the LSR module is not powered on? Though i have probed the VBAT and VIO pins and found 4.2 V and 1.8 V respectively.
    By using the Linux prebuilt images the firmware did get downloaded.

    ...Log snippet start...

    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Finished downloading firmware.
    Firmware running.

    ...Log snipped end...

    Appreciate your help.

    Thanks

  • Ajay,

    Would it be posiible to compare voltage levels  you have at WL_EN, Vbat,Vio,..  while running firmware on Linux with the one you have on CE?

    Thanks,

    Sinoj

  • The OMAP35x EVM & WL1271 EVM daughter card do not use level translators so CONTROL_DEVCONF1.MMCSDIO2ADPCLKISEL
    had to be set to 1 and MMC2_CLK had to be set as INPUT_ENABLE. Found this after referring to http://processors.wiki.ti.com/index.php/SD-MMC_Usage_Notes_on_OMAP35x
    Now i am able to get response.

    Thanks Sinoj for your help.