Ublox EVK-ELLA-W1 User Manual

Ublox EVK-ELLA-W1 User Manual

Evaluation kit for ella-w1 host-based multiradio modules with wi-fi and bluetooth

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Ublox EVK-ELLA-W1

  • Page 1 Bluetooth User Guide Abstract This document describes how to set up the EVK-ELLA-W1 evaluation kit to evaluate ELLA-W1 multiradio (Wi-Fi and Bluetooth) host-based modules. It also describes how to compile the Marvell Linux reference drivers and provides some basic usage examples.
  • Page 2 EVK-ELLA-W1 - User Guide Document Information Title EVK-ELLA-W1 Subtitle Evaluation kit for ELLA-W1 host-based multiradio modules with Wi-Fi and Bluetooth Document type User Guide Document number UBX-15012877 Revision, date 5-Oct-2016 Document status Early Production Information Document status information Objective Specification Document contains target values.
  • Page 3: Table Of Contents

    EVK-ELLA-W1 - User Guide Contents Contents ..........................3 Evaluation kit description .................... 5 Overview .............................. 5 Kit includes ............................6 Software and documentation ....................... 6 System requirements ..........................6 Specifications ............................6 Getting started ......................7 Connecting the evaluation board to the host ..................7 Board description ......................
  • Page 4 EVK-ELLA-W1 - User Guide 4.6.2 Wi-Fi station mode ........................19 4.6.3 Wi-Fi Direct ..........................19 4.6.4 Bluetooth ............................ 19 Driver debugging ..........................20 4.7.1 Compile-time debug options ....................... 20 4.7.2 Runtime debug options ....................... 20 Appendix .......................... 22 A Glossary ........................22 Related documents......................
  • Page 5: Evaluation Kit Description

    The EVK-ELLA-W1 evaluation kits provide a simple way to evaluate the ELLA-W1 host-based multiradio modules with Wi-Fi and Bluetooth [2]. The EVK-ELLA-W1 evaluation board comes with on-board antennas for Wi-Fi and Bluetooth. External antennas can optionally be connected through U.FL coaxial connectors. The evaluation kit includes a standard full-size SDIO adapter board (compatible with host sockets designed for SD memory cards) for host communication.
  • Page 6: Kit Includes

    EVK-ELLA-W1 - User Guide 1.2 Kit includes The EVK-ELLA-W1 evaluation kit includes the following:  Evaluation board EVB-ELLA-W161 or EVB-ELLA-W163  SDIO adapter including flat ribbon cable  Quick Start card 1.3 Software and documentation The reference drivers for the ELLA-W1 module series are developed by Marvell and can be re-distributed by u-blox to customers free of charge after signing a license agreement [1].
  • Page 7: Getting Started

    An example card reader for Linux is the “Sonnet SDXC UHS-I Pro Reader/Writer ExpressCard/34” [5]. Be careful while inserting the SDIO adapter of the EVK-ELLA-W1 into the SDIO slot of a laptop. Such built-in readers might be designed poorly and can be damaged easily compared to the ones found on development platforms, which are more compact.
  • Page 8: Board Description

    EVK-ELLA-W1 - User Guide 3 Board description This section describes the EVB-ELLA-W1 evaluation board and the available connectors and configuration settings. 3.1 Block diagram Figure 3: Block diagram of the EVB-ELLA-W1 evaluation board 3.2 Power supply Different power supply options can be applied to the board using the dual-row pin header J5, which allows to measure current and do performance tests under varying supply conditions.
  • Page 9: Configuration

    EVK-ELLA-W1 - User Guide 3.3 Configuration The dual-row pin header J4 is used for configuration purposes and to access digital I/O pins of the ELLA-W1 module as detailed in Table 5. Configuration setting (J4) Description 1-2 bridged ELLA-W1 digital I/O pin LED_1 is used to drive the blue LED...
  • Page 10: Schematic

    EVK-ELLA-W1 - User Guide 3.7 Schematic Figure 4: Schematic of the EVB-ELLA-W1 evaluation board 3.8 Assembly Figure 5: Assembly of the EVB-ELLA-W1 evaluation board UBX-15012877 - R04 Early Production Information Board description Page 10 of 24...
  • Page 11: Software

    EVK-ELLA-W1 - User Guide 4 Software The ELLA-W1 module series is based on the Marvell Avastar 88W8787 chipset and it supports both simultaneous and independent operations of:  Wi-Fi 802.11a/b/g/n (simultaneous client/station, access point and Wi-Fi Direct operation)  Bluetooth v3.0+HS (also compliant with Bluetooth v2.1+EDR).
  • Page 12: Bluetooth Driver

    EVK-ELLA-W1 - User Guide Figure 6: Basic Wi-Fi driver and firmware architecture The following steps are performed while loading the Wi-Fi host driver:  The driver registers itself with the MMC/SDIO bus driver.  Upon successful registration, the bus driver calls the Wi-Fi driver's probe handler, when the module is detected.
  • Page 13: Compiling The Drivers

    EVK-ELLA-W1 - User Guide Figure 7: Bluetooth protocol stack Another driver for Bluetooth is also available in the reference driver package, which is not bound to BlueZ, instead it exports a character device, which can be used by third-party user space Bluetooth stacks.
  • Page 14: Extracting Package Content

    EVK-ELLA-W1 - User Guide For older kernels (<3.2), use compat-wireless (now named backports) to provide recent versions of the kernel's 802.11 APIs to support all the driver features. In this case, cfg80211 has to be compiled as a module (CONFIG_CFG80211=m).
  • Page 15: Deploying The Software

    EVK-ELLA-W1 - User Guide "make modules_prepare" will not build Module.symvers even if CONFIG_MODVERSIONS is set; therefore, a full kernel build must be executed to make module versioning work. 4.3.4.2 Wi-Fi driver and tools To compile the Wi-Fi drivers and tools, go to the wlan_src subdirectory in driver packages and run 'make build'.
  • Page 16: Blacklisting The Mwifiex Driver

    EVK-ELLA-W1 - User Guide 3. Copy the firmware image file sd8787_uapsta.bin from the driver package's FwImage directory to the directory /lib/firmware/mrvl/ on the target file system. An example deployment is shown below: ├── lib │ ├── firmware │ │ └── mrvl │...
  • Page 17: Loading The Drivers

    EVK-ELLA-W1 - User Guide 4.5 Loading the drivers 4.5.1 Wi-Fi If the kernel modules were installed correctly, you can load them by simply issuing the following command modprobe sd8787 cfg80211_wext=0xf Else, you have to load them separately using the insmod command.
  • Page 18: Bluetooth

    EVK-ELLA-W1 - User Guide 4.5.2 Bluetooth To load the Bluetooth driver: modprobe bt8787 This will register a new Bluetooth device (hci0 in this case). The firmware download will be skipped if the Wi-Fi driver has already been loaded. $ hciconfig...
  • Page 19: Wi-Fi Station Mode

    EVK-ELLA-W1 - User Guide 4.6.2 Wi-Fi station mode 4.6.2.1 Using Marvell tools This example will connect the ELLA module as a station to an access point. A description of the used commands and parameters can be found in the provided README and README_MLAN files.
  • Page 20: Driver Debugging

    EVK-ELLA-W1 - User Guide $ hcitool -i hci0 scan Scanning ... 00:22:58:F8:86:BB ae-sho-bln-test $ l2ping -i hci0 00:22:58:F8:86:BB Ping: 00:22:58:F8:86:BB from 00:06:C6:46:DF:7B (data size 44) ... 4 bytes from 00:22:58:F8:86:BB id 0 time 69.75ms 4 bytes from 00:22:58:F8:86:BB id 1 time 56.76ms [...]...
  • Page 21 EVK-ELLA-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 22: Appendix

    EVK-ELLA-W1 - User Guide Appendix A Glossary Name Definition Access point Application Programming Interface DHCP Dynamic Host Configuration Protocol Enhanced Data Rate EEPROM Electrically Erasable Programmable Read-Only Memory Host Controller Interface Light-Emitting Diode Medium Access Control Multimedia Card Operating System...
  • Page 23: Related Documents

    “-01”). Included the different evaluation kit variants of EVK-ELLA-W1 in table format (Table 1). Included the preliminary version of the EVK-ELLA-W1 board in Figure 1 and included a footnote to this effect. Updated the version of the automotive driver package and changed instructions to use this as an example.
  • Page 24: Contact

    EVK-ELLA-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