• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » WL1273 calibrator problem
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

WL1273 calibrator problem

This question is not answered
Magnus
Posted by Magnus
on Mar 16 2012 05:32 AM
Prodigy40 points

We have problem running the calibration process using calibrator tool, see attached log.

3404.calibrator2.txt

Our system setup is:

Snowball
Module: WL1273 HDK
Interface: SPI@12MHz

Linux kernel 3.2.1
WL12xx driver: compat-wireless release 2012-02-21
wl1271-nvs.bin generated with calibrator using TQS_D_1.7.ini.

Driver module loads without problem.
It is possible to bring up and down interface with ifconfig several times.
We can perform scan on both 2.4 and 5GHz band, associate and transfer data.

We have also seen the same problem on the following configuration:

Beagleboard XM
Module: WL1273 HDK
Interface: SPI@12MHz

Linux kernel 3.0.17
WL12xx driver: compat-wireless release 2012-02-21

Firmware:
wl1271-nvs.bin (MD5: 170b227c9cc5f3020ae58ce25eb93f21)
wl127x-fw-3.bin (MD5: f0fdc227f7f90f016c4fbb4fde6c6fae)

Any support is greatly appreciated!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • PH Lundblom
    Posted by PH Lundblom
    on May 11 2012 04:26 AM
    Prodigy110 points

    Hi,

    I think you were right. Yesterday we had some progress using older firmwares. It is now possible to enter and use PLT mode on the SPI module. Still not sure exactly how different versions but we are doing some tests. At the moment I'm having some difficulties with continuous TX on 5GHz channels. I only get 6Mbit data rate no matter what settings I'm using.


    /PH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on May 13 2012 06:14 AM
    Genius9240 points

    Hi PH,

    Please send me the instructions that you run.

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • PH Lundblom
    Posted by PH Lundblom
    on May 21 2012 02:18 AM
    Prodigy110 points

    Hi,

    OK, some things I have noticed:

    • I very seldom get valid 802.11 headers. Usually all fields are just filled with incremental bytes instead of a valid header. Guess the firmware miss to fill out the correct header and instead just send a packet filled with incremental bytes. The only time I have got a 802.11 frame with correct type, MAC addresses etc is while running at 1Mbit DSSS.
    • My capture device doesn't detect any N rate frames (both 2,4GHz at 5GHz) with N mixed mode preamble but a simple channel analyze tool shows there is packets generated.
    • Using Greenfield preamble gives a lot of garbage packets at different rates on my capture device, also this time the channel is busy so packets are really sent out.
    • The above is valid for both 2.4GHz and 5GHz channels.

    root@linaro-ubuntu-desktop:~# modprobe wl12xx_spi
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt power_mode on
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tune_channel 0 11
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_cont 2000 1 100 0 5000 0 3 0 0 0 0 0 1 1 11:22:11:22:11:22
    DE:AD:BE:EF:00:00
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_stop

    Above is OK, will get 1Mbit packets (with broken 802.11 header) on channel 11.


    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_cont 2000 64 100 0 5000 0 3 0 0 4 0 0 1 1 11:22:11:22:11:22
    DE:AD:BE:EF:00:00
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_stop

    Above is OK, will get 12Mbit packets (still broken headers though).

    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_cont 2000 8192 100 0 5000 0 3 0 0 6 0 0 1 1 11:22:11:22:11:22
    DE:AD:BE:EF:00:00
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_stop

    Above not OK, see packets in channel utilization tool but not on capture device.

    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_cont 2000 8192 100 0 5000 0 3 0 0 7 0 0 1 1 11:22:11:22:11:22
    DE:AD:BE:EF:00:00
    root@linaro-ubuntu-desktop:~# calibrator wlan0 plt tx_stop


    Above not OK, see packets in channel utilization tool and on capture device but packets are interpreted to random data rates etc.

    Guess I'm just missed something simple. Firmware is "wl12xx: firmware booted in PLT mode (Rev 6.1.5.50.74)"


    /PH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alon Srednizki
    Posted by Alon Srednizki
    on May 23 2012 03:36 AM
    Expert3205 points

    Hi PH,

    Our WLAN solution doesn't support SPI bus communication.
    Can you please elaborate on which SPI driver you are using?

    Thanks,
    Alon.S

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • PH Lundblom
    Posted by PH Lundblom
    on Jun 07 2012 07:47 AM
    Prodigy110 points

    Hi,

    You may not officially support WL1273 on SPI but the drivers are still there and are working fine. Referring to the linux-wireless drivers (also in kernel, /drivers/net/wireless/wl12xx). Still, the firmware for SPI and SDIO is the same and should work the same. Therefore I'm still a bit wondering about the N rates and other questions in my previous post.

    /PH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jun 26 2012 04:47 AM
    Genius9240 points

    Hi,

    SPI might work however it is not maintained and might have issues, as for the TX continuous please see more information in our WiKi page in http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Tx_Continuous

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • PH Lundblom
    Posted by PH Lundblom
    on Jun 28 2012 02:16 AM
    Prodigy110 points

    As i described in my previous posts, I follow the documentation in the Wiki but encounter problems. To me it seems a bit strange that the transport layer (SPI vs. SDIO) whould effect the PLT commands. PLT commands are one layer up in the Wilink communication protocol.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jul 01 2012 17:13 PM
    Genius9240 points

    Hi,

    In case SPI works fine then the calibration process should work, however the comapt that you are using is 5 month old and maybe that release has issues, since as far as i remember i also saw issues with the function of TX continuous of older releases, would you consider moving to a newer release?

    in case you can, i suggest moving to our latest release which is R5.00.18 , were you can find a build scripts in the wiki page under http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_WLAN_build_scripts

    Regards,

    Eyal 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • PH Lundblom
    Posted by PH Lundblom
    on Jul 02 2012 01:44 AM
    Prodigy110 points

    OK, we will try a newer release within a week or two. Let's hope that will sort out the problems!


    /PH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Jul 04 2012 07:51 AM
    Genius9240 points

    Hi,

    Thanks, let me know how it works

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stan Hu
    Posted by Stan Hu
    on Sep 12 2012 23:54 PM
    Prodigy130 points

    I'm running into a similar error with the calibrator tool:

    [  120.787475] ------------[ cut here ]------------
    [  120.792480] WARNING: at drivers/net/wireless/wl12xx/cmd.c:107 wl1271_cmd_send+0x1e6/0x214 [wl12xx]()
    [  120.802062] Modules linked in: wl12xx_sdio arc4 wl12xx mac80211 cfg80211 rfkill spidev ip_tables x_tables ipv6 [last unloaded: wl12xx_sdio]
    [  120.815307] [<c0010001>] (unwind_backtrace+0x1/0xb0) from [<c002e0cf>] (warn_slowpath_common+0x33/0x48)
    [  120.825164] [<c002e0cf>] (warn_slowpath_common+0x33/0x48) from [<c002e0f3>] (warn_slowpath_null+0xf/0x10)
    [  120.835266] [<c002e0f3>] (warn_slowpath_null+0xf/0x10) from [<bf94f383>] (wl1271_cmd_send+0x1e6/0x214 [wl12xx])
    [  120.845977] [<bf94f383>] (wl1271_cmd_send+0x1e6/0x214 [wl12xx]) from [<bf94fd0d>] (wl1271_cmd_test+0x3c/0x5c [wl12xx])
    [  120.857360] [<bf94fd0d>] (wl1271_cmd_test+0x3c/0x5c [wl12xx]) from [<bf95a513>] (wl1271_tm_cmd+0x92/0x2a7 [wl12xx])
    [  120.868591] [<bf95a513>] (wl1271_tm_cmd+0x92/0x2a7 [wl12xx]) from [<bf921511>] (ieee80211_testmode_cmd+0x18/0x20 [mac80211])
    [  120.880645] [<bf921511>] (ieee80211_testmode_cmd+0x18/0x20 [mac80211]) from [<bf8bdf63>] (nl80211_testmode_do+0x2e/0x42 [cfg80211])
    [  120.893127] [<bf8bdf63>] (nl80211_testmode_do+0x2e/0x42 [cfg80211]) from [<c029389b>] (genl_rcv_msg+0x113/0x144)
    [  120.903900] [<c029389b>] (genl_rcv_msg+0x113/0x144) from [<c029311f>] (netlink_rcv_skb+0x2b/0x68)
    [  120.913208] [<c029311f>] (netlink_rcv_skb+0x2b/0x68) from [<c029377d>] (genl_rcv+0x11/0x1c)
    [  120.921966] [<c029377d>] (genl_rcv+0x11/0x1c) from [<c0292d53>] (netlink_unicast+0x175/0x1de)
    [  120.930908] [<c0292d53>] (netlink_unicast+0x175/0x1de) from [<c0292f0d>] (netlink_sendmsg+0x151/0x1b4)
    [  120.940673] [<c0292f0d>] (netlink_sendmsg+0x151/0x1b4) from [<c0275dbb>] (sock_sendmsg+0x57/0x68)
    [  120.950164] [<c0275dbb>] (sock_sendmsg+0x57/0x68) from [<c0275f4f>] (__sys_sendmsg+0x123/0x180)
    [  120.959350] [<c0275f4f>] (__sys_sendmsg+0x123/0x180) from [<c0276bab>] (sys_sendmsg+0x23/0x34)
    [  120.968475] [<c0276bab>] (sys_sendmsg+0x23/0x34) from [<c000ca41>] (ret_fast_syscall+0x1/0x44)
    [  120.977539] ---[ end trace e401768f73e1b3c1 ]---

    It looks the PLT firmware is no longer loaded directly:

    ~/linux-3.2.0-psp04.06.00.08.sdk/drivers/net/wireless/wl12xx$ grep FW_NAME *.h

    wl12xx.h:#define WL127X_FW_NAME "ti-connectivity/wl127x-fw-3.bin"

    wl12xx.h:#define WL128X_FW_NAME "ti-connectivity/wl128x-fw-3.bin"

    Is this expected (i.e. has the PLT firmware been combined?) or a problem with the latest PSP?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use