Ublox EVK-LILY-W1 User Manual

Ublox EVK-LILY-W1 User Manual

Evaluation kit for the lily-w1 host-based wi-fi modules
Hide thumbs Also See for EVK-LILY-W1:

Advertisement

Quick Links

EVK-LILY-W1
Evaluation kit for the LILY-W1 host-based Wi-Fi
modules
User Guide
Abstract
This document describes how to set up the EVK-LILY-W1 evaluation kit to evaluate the LILY-W1
host-based Wi-Fi modules. It also describes how to compile the Marvell Linux reference drivers and
provides some basic usage examples.
www.u-blox.com
UBX-15030290 - R04

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EVK-LILY-W1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Ublox EVK-LILY-W1

  • Page 1 User Guide Abstract This document describes how to set up the EVK-LILY-W1 evaluation kit to evaluate the LILY-W1 host-based Wi-Fi modules. It also describes how to compile the Marvell Linux reference drivers and provides some basic usage examples. www.u-blox.com...
  • Page 2: Document Information

    EVK-LILY-W1 - User Guide Document Information Title EVK-LILY-W1 Subtitle Evaluation kit for the LILY-W1 host-based Wi-Fi modules Document type User Guide Document number UBX-15030290 Revision and date 3-Jul-2018 Disclosure Restriction This document applies to the following products: Product name Type number...
  • Page 3: Table Of Contents

    EVK-LILY-W1 - User Guide Contents Document Information ..........................2 Contents ................................3 Evaluation kit description ........................5 1.1 Overview ................................ 5 1.2 Kit includes ..............................5 1.3 Software and documentation ........................5 1.4 System requirements ..........................6 1.5 Specifications .............................. 6 Getting started ............................
  • Page 4 EVK-LILY-W1 - User Guide 4.7.1 Compile-time debug options ......................21 4.7.2 Runtime debug options ........................21 Appendix ............................... 23 Glossary ..............................23 Related documents ........................... 24 Revision history ............................24 Contact ................................25 UBX-15030290 - R04 Page 4 of 25...
  • Page 5: Evaluation Kit Description

    Evaluation kit description 1.1 Overview The EVK-LILY-W1 evaluation kit provides a simple way to evaluate the LILY-W1 host-based Wi-Fi modules. The evaluation board offers a standard full-size SDIO card connector (compatible with host sockets designed for SD memory cards) and a micro-USB receptacle for host communication.
  • Page 6: System Requirements

    EVK-LILY-W1 - User Guide 1.4 System requirements • Host (PC or embedded system) with SDIO 2.0 capable, full-size SD card socket or USB 2.0 interface • Operating System: Linux (2.6.x/3.x) or Android (4.4) 1.5 Specifications Table 2 and Table 3 list the absolute maximum ratings and operating conditions for the LILY-W1 evaluation board.
  • Page 7: Getting Started

    EVK-LILY-W1 - User Guide Getting started This section describes the evaluation board connectors and configuration settings that are required to get started. J3: jumpers for J4, J5: U.FL J6: U.FL connector for power supply and connectors for single antenna configuration...
  • Page 8: Host Interface Through Sdio

    EVK-LILY-W1 - User Guide 2.1 Host interface through SDIO The default jumper settings, as shown in Figure 4 and described in Table 4, enable SDIO as the host interface. Secure Digital (SD) card is used for power supply of the main and I/O voltages.
  • Page 9: Board Description

    EVK-LILY-W1 - User Guide Board description This section describes the EVB-LILY-W1 evaluation board and the available connectors and configuration settings. 3.1 Connectors Table 6 lists the available connectors on the EVB-LILY-W1 evaluation board and their functions. Refer to the schematic in section 3.6 for details about the pin assignment.
  • Page 10: Pin Header J3

    EVK-LILY-W1 - User Guide 3.3 Pin header J3 The dual-row pin header J3 on the evaluation board is used to: • Select the power supply and I/O voltages • Provide access to the I/O signals of the LILY-W1 module Table 9 and Table 10 list the available power supply configuration options and signals on J3.
  • Page 11: Antenna Diversity

    EVK-LILY-W1 - User Guide 3.4.2 Antenna diversity Antenna diversity can be evaluated using the U.FL coaxial connectors J4 and J5, after populating C12 instead of C13 on the evaluation board . Connect two external 2.4 GHz antennas to J4 and J5.
  • Page 12: Schematic

    EVK-LILY-W1 - User Guide 3.6 Schematic Figure 6: Schematic of the EVB-LILY-W1 evaluation board 3.7 Assembly Figure 7: Assembly of the EVB-LILY-W1 evaluation board UBX-15030290 - R04 Board description Page 12 of 25...
  • Page 13: Software

    EVK-LILY-W1 - User Guide Software The LILY-W1 module series is based on the Marvell Avastar 88W8801 chipset and it supports Wi-Fi 802.11b/g/n simultaneous client/station, access point, and Wi-Fi Direct operations. The LILY-W1 modules connect to the host processor either through an SDIO 2.0 or USB 2.0 device interface.
  • Page 14: Compiling The Drivers

    EVK-LILY-W1 - User Guide Figure 8: Basic Wi-Fi driver and firmware architecture 4.3 Compiling the drivers 4.3.1 Prerequisites 4.3.1.1 Reference drivers The versions of the Marvell reference drivers/firmware package and the Linux OS that are described in the Software section of this document are: •...
  • Page 15: Extracting The Package Content

    EVK-LILY-W1 - User Guide • The old Linux wireless extensions (WEXT) interface • The new cfg80211 configuration API To enable these APIs on the target system, the following must be selected in the kernel configuration hostap (CONFIG_WIRELESS_EXT cannot be selected directly, so a driver that depends on it, such as...
  • Page 16: Building

    EVK-LILY-W1 - User Guide Manufacturing and The manufacturing firmware support is required, if the driver is used with the " Labtools [5]. " packages, which can be used for setting up the test modes for certification 4.3.4 Building 4.3.4.1 Prepare kernel sources Primarily, ensure that your kernel is prepared for compiling external kernel modules.
  • Page 17: Blacklisting The Mwifiex Driver

    EVK-LILY-W1 - User Guide ├── lib │ ├── firmware │ │ └── mrvl │ │ └── sd8801_uapsta.bin │ └── modules │ └── 3.19.8 │ └── updates │ ├── mlan.ko │ └── sd8801.ko └── opt └── lily-w1 └── bin_sd8801 Listing 3: Example target file system 4.4.1 Blacklisting the mwifiex driver...
  • Page 18: Usb Driver

    EVK-LILY-W1 - User Guide ”modinfo sd8801” command. If the drivers are successfully loaded, you should see them in the list of loaded modules as shown below (via lsmod command): ☞ The internal name for the sd8801 module is sd8xxx. Module...
  • Page 19: Unloading The Drivers

    EVK-LILY-W1 - User Guide Module Size Used by usb8xxx 349149 mlan 243114 1 usb8xxx When the module is detected on the USB interface, the driver will automatically download the firmware to it, initialize the hardware, and register the network interfaces.
  • Page 20: Wi-Fi Station Mode

    EVK-LILY-W1 - User Guide ./uaputl.exe sys_cfg_ssid LILY-W1 # set AP SSID to "LILY-W1" ./uaputl.exe sys_cfg_channel 6 # set AP radio channel to 6 ./uaputl.exe sys_cfg_11n 1 0x112c 3 0 0xff # enable 802.11n mode with short guard interval ./uaputl.exe sys_cfg_80211d state 1 country US # enable 802.11d, set country...
  • Page 21: Driver Debugging

    EVK-LILY-W1 - User Guide ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ scan_ssid=1 ssid="MyAP" key_mgmt=WPA-PSK psk="12345678" Listing 9: wpa_supplicant.conf Then run the wpa_supplicant daemon using the configuration file: wpa_supplicant -D nl80211 -i mlan0 -c /etc/wpa_supplicant.conf –B To configure the IP address through DHCP: udhcpc -i mlan0 The “iwconfig mlan0”...
  • Page 22 EVK-LILY-W1 - User Guide bit 0: MMSG PRINTM(MMSG,...) bit 1: MFATAL PRINTM(MFATAL,...) bit 2: MERROR PRINTM(MERROR,...) bit 3: MDATA PRINTM(MDATA,...) bit 4: MCMND PRINTM(MCMND,...) bit 5: MEVENT PRINTM(MEVENT,...) bit 6: MINTR PRINTM(MINTR,...) bit 7: MIOCTL PRINTM(MIOCTL,...) bit 16: MDAT_D PRINTM(MDAT_D,...), DBG_HEXDUMP(MDAT_D,...) bit 17: MCMD_D PRINTM(MCMD_D,...), DBG_HEXDUMP(MCMD_D,...)
  • Page 23: Appendix

    EVK-LILY-W1 - User Guide Appendix A Glossary Abbreviation Definition Access point Application Programming Interface Command-Line Interface DHCP Dynamic Host Configuration Protocol Evaluation Board Evaluation Kit Ground GPIO General-purpose input/output Input/Output Internet Protocol Low Drop Out Light-Emitting Diode Long Term Evolution...
  • Page 24: Related Documents

    EVK-LILY-W1 - User Guide Related documents u-blox Limited Use License Agreement for Marvell SW platform and OSS Deliverables LILY-W1 System Integration Manual, Document No. UBX-15027600 LILY-W1 series Data sheet, Document No. UBX-15000203 Sample card reader for Linux: Sonnet SDXC UHS-I Pro Reader/Writer ExpressCard/34 - http://www.sonnettech.com/product/sdxcproreader.html...
  • Page 25: Ubx-15030290 - R04

    EVK-LILY-W1 - User Guide Contact For complete contact information, visit us at www.u-blox.com. u-blox Offices North, Central and South America Headquarters Asia, Australia, Pacific Europe, Middle East, Africa u-blox America, Inc. u-blox Singapore Pte. Ltd. u-blox AG Phone: +1 703 483 3180...

Table of Contents