• 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 » OMAP-L138 + WL1271 is it possible?
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

OMAP-L138 + WL1271 is it possible?

This question is answered
GrantHatamosa
Posted by GrantHatamosa
on Feb 18 2010 21:59 PM
Expert1930 points

Hi,

I am new to OMAP developement and our company has just recently chosen OMAP-L138 as our base platform for future product development.

One of the first products we are going to use OMAP-L138 will require wireless connectivity which we found out that the WL1271 can provide (Wifi + bluetooth).

However, base on the post I've read from the forum I only found support for the WL1271 on the OMAP35xx.

Can you please clarify if the OMAP-L138 can be interfaced with the WL1271?

Also are their available any Linux device drivers for the WL1271 which can be installed in the Linux package for the OMAP-L138.

 

Please advice.

Grant Hatamosa

Senior Software Engineer

omap-l138 WL1271
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Inderjit Bains
    Posted by Inderjit Bains
    on Nov 28 2011 07:21 AM
    Expert2425 points

    I've noticed that the MMC1 interface is not working correctly (incorrect clock frequency, CMD has activity, but data lines do not).  I'll need to figure out why - ignore the above for now.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on Dec 05 2011 17:38 PM
    Expert2425 points

    It looks like the WL1271 is not responding to any commands.  The clock frequency is correct for initialization.  Can you answer the following:

    Are 0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch and 0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch applied to am180x-evm-sdk-src-05.02.00.00.tar.gz?  The patches point to "/home/hudson/amsdk-nightly-build/arm9/arago/recipes/linux/linux-davinci-2.6.37-psp03.21.00.04.sdk/00"

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Moosa Baransi
    Posted by Moosa Baransi
    on Dec 11 2011 03:21 AM
    Prodigy20 points

    Hi Inderjit,

    As for patches "0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch" and "0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch", they are applied on the 05.02.00.00 SDK, you can open the source code and confirm. Could you please clarify what you mean by "The patches point to "/home/hudson/amsdk-nightly-build/arm9/arago/recipes/linux/linux-davinci-2.6.37-psp03.21.00.04.sdk/00"?

    As I understand, you are using SDK 05.02 as your work base. Can you please elaborate on how you checked the clock frequency and which commands are not responding?

    Regards,

    Moosa Baransi

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on Dec 11 2011 03:39 AM
    Expert2425 points

    In ~/linux-2.6.37-psp03.21.00.04.sdk/patches, the following are links that point to "/home/hudson/amsdk-nightly-build/arm9/arago/recipes/linux/linux-davinci-2.6.37-psp03.21.00.04.sdk/00"

    0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch
    0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch

    To measure the clock frequency, you need a scope probe on the SD1_CLK pin.  The TiWi-R2 module does not respond to any commands:  SD1_DAT0 never changes:  it's always high.  Are you seeing something similar?

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Moosa Baransi
    Posted by Moosa Baransi
    on Dec 11 2011 06:19 AM
    Prodigy20 points

    I have an AM180x EVM with the SDK of 05.02.00.00, and the wireless connectivity works without issues.

    Could it be a hardware issue? Do you have the same problem on other boards?

    When booting, if you run the command cat /proc/config.gz | gunzip | grep REFCLOCK, what is the value you see for CONFIG_DA850_MISTRAL_WL12XX_REFCLOCK variable? If it is set to 2 it means that you work with 2.4GHz antenna. If it is set to 1 it means you work with 5 GHz antenna. Please check that the daughter card works with the right frequency according to this input.

    Regards,

    Moosa Baransi

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on Jan 09 2012 02:44 AM
    Expert2425 points

    Yes, it is custom hardware, but it's pretty much the same as the example schematics.  Thanks for trying!

    Inderjit

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on Feb 28 2012 23:07 PM
    Expert2425 points

    Following this webpage:

    http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture

    it seems that I was missing the firmware.  I'm now getting the following errors:

    ~# ifconfig wlan0 up                                                                                     
    Powering on wifi                                                                                                        
    wl1271: ERROR nvs size is not as expected: 172032 != 912                                                                
    Powering off wifi                                                                                                       
    Powering on wifi                                                                                                        
    ADDRCONF(NETDEV_UP): wlan0: link is not ready   

    The firmware is from:

    http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=tree

    Questions:

    1.  Why am I getting the nvs size error?  Is the firmware the correct version?  What is the ADDRCONF error?

    2.  I'm still using 5.02.  Will 5.03 make any difference?  I couldn't find any source code differences in U-Boot or Linux, as I pointed out here (with no follow-up answer for over a month):

    http://e2e.ti.com/support/embedded/linux/f/354/t/156789.aspx#568725

    3.  Will running the calibration procedure make a difference?  Which calibration procedure is the correct one for OMAPL-138/AM1808 and TiWi-R2?

    4.  Is http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture the correct procedure for OMAPL-138/AM1808 and TiWi-R2?

    Inderjit

    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 Apr 04 2012 08:20 AM
    Genius9240 points

    Hi Inderjit,

    I would like to touch base on the issue Status, could you please let me know if there are still open items?

    Thanks,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on Apr 04 2012 14:30 PM
    Expert2425 points

    The question from Feb. 28th was never answered.  Since then, 5.04 has been released.  Can you answer the following:

    1.  Why am I getting the nvs size error in the question from Feb. 28th?

    2.  Is http://www.omappedia.org/wiki/Mac80211_based_open_source_architecture the correct build procedure for OMAPL-138/AM1808 and TiWi-R2?

    3.  Does 5.04 support bluetooth on OMAPL-138/AM1808?

    Thanks,

    Inderjit

    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 Apr 07 2012 01:25 AM
    Genius9240 points

    Hi Inderjit,

    we have different build procedure which you may find in http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Build_Instructions_Guide

    in addition we built a script that should run the entire WLAN package automaticly, it will download all the right components build and install it on your file system, for that please refer to http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_WLAN_build_scripts

    in case you use that i dont think that you get the nvs file size error,

    as for Bluetooth, 5.04 supports BlueZ for AM18x platform, however for OMPAL138 there is a conflict with the Audio chip (the UART CTS colied with the Audio compression chip) however in case you have your own board then Bluetooth will also be supported for OMAPL138

    Regards,

    Eyal 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Volodya Petrov
    Posted by Volodya Petrov
    on Apr 16 2012 08:55 AM
    Prodigy140 points

    Inderjit Bains can you run $ls -l /lib/firmware/ti-connectivity

    NVS file should have size 912 bytes.

    I step through http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Calibration_Proccess_NLCP and almost was OK.

    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 Apr 17 2012 15:56 PM
    Genius9240 points

    Hi,

    Petrov is right, there are 2 NVS files with same name but with different size, one is used for WL127x chipset and one for WL128x chipset, were the one used for WL128x is almost twice the size, and that could explain the size error that you get

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on May 03 2012 21:43 PM
    Expert2425 points

    Hi,

    Thanks for the replies.  I was very busy with other tasks but I have been looking at this again for the last couple of days.  In http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Build_Instructions_Guide, there are links to several build instruction guides, including separate build procedures for WLAN and Bluetooth.  There are also separate build scripts for WLAN and Bluetooth.  Is there one build guide/script for both WLAN and Bluetooth, or do I have to go through all of it and try to figure it out (didn't work before)?

    The http://processors.wiki.ti.com/images/d/d0/Wlan_R4_SP2_build_scripts.zip README file is a bit sparse.  There seem to be a lot of assumptions in the build scripts that are not specified in the webpages.  Again, there are two separate build scripts for WLAN and Bluetooth.  Does this mean that just one or the other will work?

    To be clear, this is what I need:  one build script that builds everything required for WLAN and Bluetooth for the WL1271 chipset, for an AM1808 CPU.  I would rather download the required components vs having the build script do it, unless this requires components from many sources.  Why are all the extra components not in the SDK?

    Inderjit

    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 06 2012 06:39 AM
    Genius9240 points

    Hi Inderjit,

    Thanks for the good feedback, i am currently working to simplify the process and instructions, it should be completed by tomorrow.

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Inderjit Bains
    Posted by Inderjit Bains
    on May 10 2012 18:23 PM
    Expert2425 points

    Please provide a link to the updated process and instructions once your done.

    Thanks,

    Inderjit

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
«23456»
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