background image

EVK-ELLA-W1 - User Guide 

UBX-15012877 - R04 

Early Production Information 

Software 

 

 

Page 12 of 24

 

 

 

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. 

 

The probe handler allocates and initializes internal structures, registers the interrupt service routine and 
starts the main driver threads. 

 

The firmware image is downloaded to the module and the hardware is initialized. 

 

Network devices such as STA, AP, and WFD are registered. 

4.2.2

 

Bluetooth driver 

The  standard  Bluetooth  protocol  stack  in  Linux  is  provided  by 

BlueZ

.  The  Bluetooth  driver  for  the  ELLA-W1 

module series is a client driver that runs on top of the MMC/SDIO bus driver and it does the following: 

 

Forwards the data and commands between upper protocol stack layers and the firmware.  

 

Handles some private commands that are used as handshake between the driver and firmware only. 

On loading the driver, it registers with the bus driver, downloads the firmware, if not already loaded by the Wi-Fi 
driver, and registers a new HCI device with the 

BlueZ

 stack. 

 

Содержание EVK-ELLA-W1

Страница 1: ...er 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 Marvel...

Страница 2: ...ver Package SD UAPSTA BT FM 8787 FC13 MMC 14 44 35 p233 M2614525_AX GPL Firmware version 14 44 35 p233 Driver version M2614525 Industrial driver Package SD UAPSTA BT FM 8787 FC18 MMC 14 66 35 p57 M3X1...

Страница 3: ...LEDs 9 3 6 Reset button 9 3 7 Schematic 10 3 8 Assembly 10 4 Software 11 4 1 Linux driver branches 11 4 1 1 Sleep clock restrictions 11 4 2 Driver and firmware architecture 11 4 2 1 Wi Fi driver 11 4...

Страница 4: ...tion Contents Page 4 of 24 4 6 2 Wi Fi station mode 19 4 6 3 Wi Fi Direct 19 4 6 4 Bluetooth 19 4 7 Driver debugging 20 4 7 1 Compile time debug options 20 4 7 2 Runtime debug options 20 Appendix 22 A...

Страница 5: ...z chip antennas for Wi Fi and Bluetooth U FL coaxial connectors for external Wi Fi and Bluetooth antennas switchable by 0 resistors All module interfaces externally available Multiple power supply opt...

Страница 6: ...ble full size SD card socket 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 EVB ELLA W1 evalu...

Страница 7: ...d to an SDIO capable host by inserting the adapter into the SD card slot As the ELLA W1 series module uses an SDIO host interface only an SDIO capable card reader not just a common SD card reader will...

Страница 8: ...or from external power supplies An on board LDO can generate 1 8 V from a 3 3 V input VIO voltage can be selected between 1 8 V and 3 3 V Table 4 lists the available power supply configuration option...

Страница 9: ...ble 6 lists the available connectors on the EVB ELLA W1 evaluation board and their functions Refer to the schematic in section 3 7 for details on the pin assignment Function Description Name SDIO host...

Страница 10: ...uide UBX 15012877 R04 Early Production Information Board description Page 10 of 24 3 7 Schematic Figure 4 Schematic of the EVB ELLA W1 evaluation board 3 8 Assembly Figure 5 Assembly of the EVB ELLA W...

Страница 11: ...orted by u blox The automotive and non automotive driver branches support the main features like parallel access point station and Wi Fi Direct operation and Bluetooth Refer to the Release Notes that...

Страница 12: ...eads The firmware image is downloaded to the module and the hardware is initialized Network devices such as STA AP and WFD are registered 4 2 2 Bluetooth driver The standard Bluetooth protocol stack i...

Страница 13: ...Is Patches for compiling the Marvell driver branches on the u blox EVK W16 reference platform which is currently running a 3 19 8 kernel can be provided on request The reference drivers for the ELLA W...

Страница 14: ...and ensure that the following are enabled Listing 2 Makefile The manufacturing firmware support is required if the driver is used with the Manufacturing and Labtools packages which can be used for set...

Страница 15: ...s additional driver parameters mlan2040coex 802 11 20 40 MHz coexistence handler Table 8 Content of the Wi Fi build results directory 4 3 4 3 Bluetooth driver and tools To compile the BlueZ Bluetooth...

Страница 16: ...d blacklist conf Listing 4 Blacklisting mwifiex Blacklisting will not work for drivers that are built into the kernel image rather than as a kernel module 4 4 2 Additional software requirements Some...

Страница 17: ...l automatically download the firmware to it initialize the hardware and register the network interfaces Listing 6 Kernel log after inserting the SDIO card You should be able to see the following new n...

Страница 18: ...ace Additionally it is recommended to use a DHCP server on the interface ifconfig uap0 192 168 1 1 uaputl exe sys_cfg_ssid ELLA W1 set AP SSID to ELLA W1 set AP primary channel to 36 5GHz band with se...

Страница 19: ...rect application note 3 4 6 4 Bluetooth After loading the Bluetooth driver an HCI device should be available To use the HCI device the interface must be set up first This can be done using the followi...

Страница 20: ...proc kmsg interface or by the dmesg command Alternatively this can also be handled by more advanced logging facilities 4 7 1 Compile time debug options The extent to which debug messages are availabl...

Страница 21: ...lan mlan0 debug enable MMSG MFATAL and MERROR mlanutl mlan0 drvdbg 1 Enable all debug messages bit 0 MMSG PRINTM MMSG bit 1 MFATAL PRINTM MFATAL bit 2 MERROR PRINTM MERROR bit 3 MDATA PRINTM MDATA bit...

Страница 22: ...n Protocol EDR Enhanced Data Rate EEPROM Electrically Erasable Programmable Read Only Memory HCI Host Controller Interface LED Light Emitting Diode MAC Medium Access Control MMC Multimedia Card OS Ope...

Страница 23: ...sonnettech com product sdxcproreader html Revision history Revision Date Name Status Comments R01 27 May 2015 mzes Initial release R02 1 July 2015 lalb mzes Minor updates R03 4 May 2016 mzes lalb kgom...

Страница 24: ...lox com Regional Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 E mail info_cn u blox com Sup...

Отзывы: