Skip to end of metadata
Go to start of metadata

This is a page about LSR's COM6L Adapter Board.


COM6L BeagleBoard Adapter at Digi-Key
TiWi-BLE: COM6L-BLE at Digi-Key
TiWi5: COM6L-TS with U.FL at Digi-Key





U-Boot SPL 2013.01-00073-gd58dd1d (Feb 04 2013 - 10:12:08)
reading u-boot.img
reading u-boot.img

U-Boot 2013.01-00073-gd58dd1d (Feb 04 2013 - 10:12:08)

OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle xM Rev C
EEPROM is blank or 8bit addressing failed: retrying with 16bit:
Recognized LSR COM6L Adapter Board
Die ID #1d2a00029ff800000163810c13006013




For devices with a blank eeprom:


For TiWi5 Devices:



Comments, feedback, and questions can be sent to eewiki@digikey.com.

  • No labels


  1. Many those who try to connect COM6L-BLE to BeagleBoard-xM through LSR COM6L Adapter Board can face with a couple of problems that I experienced, so I wanna systematize and share my experience.

    1. U-Boot patch above is good.
    2. Linux patch above is for kernel 3.7.x and is a little bit difficult. I made the patches of kernel 2.6.37 and my way was next:
      1. Firstly, make sure you have properly configured kernel according to http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_OpenSource_Kernel_Switches.
      2. Apply a next patch: http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Hardware_Porting_for_AM37x_Platform.
      3. A pin description and a power control patch without a fixed voltage regulator you can find here: http://processors.wiki.ti.com/index.php/WL127x_Porting_Guide.
    3. Tips:

      1. Make sure, you have enabled CONFIG_REGULATOR_FIXED_VOLTAGE=y. It's for "wi-fi enable pin" (WL_EN) which is enabled by fixed voltage regulator.
      2. In the next lines of patch you must specify a correct name of supply which is specific for your board and linux distribution (for BeagleBoard it is "mmci-omap-hs.1", may be for someone it can be "omap_hsmmc.1", you can find it in arch/arm/mach-omap2/clock_<xxxx>.c).

        static struct regulator_consumer_supply omap3evm_vmmc2_supply =
               REGULATOR_SUPPLY("vmmc", "mmci-omap-hs.1");


      3. A good boot log:

        [    5.098541] mmc1: mmc_rescan: trying to init card at 400000 Hz
        [    5.221801] mmc1: card claims to support voltages below the defined range. These will be ignored.
        [    5.255859] usb 1-2.1: new high speed USB device using ehci-omap and address 3
        [    5.271667] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
        [    5.284667] mmc1: new SDIO card at address 0001


      4. If you see "sdmmc2_dat0.sdmmc2_dat0", it means "pin with name sdmmc2_dat0 set to mode sdmmc2_dat0". Usually, pin has a name of zero mode and it can be, for example, "sdmmc2_clk.mcspi3_clk" to set "mcspi3_clk" mode of "sdmmc2_clk" pin.


    4. If all is OK, you can see a white light at LED, that is connected to WL_EN pin (smile)
  2. Next steps are (we speak about a BeagleBoard-xM):

    1. Read this: http://wireless.kernel.org/en/users/Drivers/wl12xx. If you are on linux 2.6.x DON'T USE a step "Get the latest wl12xx driver" and GO TO "Notes about using compat-wireless on older kernels" where you download "compat-wireless" drivers (now it's called simply "backports").
    2. Don't forget download firmwares and, if you want, calibrator from step 1.
    3. Build backports. Install it. Now you have upgraded wlcore_sdio driver (it's not called wl1271_sdio how you can see everywhere in the internet).
    4. You must have correct firmware and plt files in /lib/firmware/ti-connectivity. For backports it is:
      1. /lib/firmware/ti-connectivity/wl127x-fw-5-plt.bin
      2. /lib/firmware/ti-connectivity/wl127x-fw-5-sr.bin
        You downloaded them on step 1.
    5. Choose appropriate INI file according to http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Proccess#Performing_the_First_Calibration.
    6. Next magic steps are:
    # Without MAC firmware won't upload to a device.
    ifconfig wlan0 hw ether 00:28:C7:0A:42:A2
    ifconfig wlan0 up

    # Choose appropriate ini file.
    calibrator set ref_nvs /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini

    cp new-nvs.bin /lib/firmware/ti-connectivity/wl1271-nvs.bin
    ifconfig wlan0 down
    rmmod wlcore_sdio

    # At this step driver loads firmware from /lib/firmware/ti-connectivity.
    modprobe wlcore_sdio
    ifconfig wlan0 down
    calibrator plt calibrate

    # And don't forget update nvs file.
    cp new-nvs.bin /lib/firmware/ti-connectivity/wl1271-nvs.bin


    And that's almost all... The last steps:

    1. "ifconfig -a" show you wlan0.
    2. DON'T UP wlan0 interface manually! Use wpa_supplement.
    3. Use "udhca -i wlan0" to get IP via DHCP.