Ublox EVK-ELLA-W1 Скачать руководство пользователя страница 18

EVK-ELLA-W1 - User Guide 

UBX-15012877 - R04 

Early Production Information 

Software 

 

 

Page 18 of 24

 

4.5.2

 

Bluetooth 

To load the Bluetooth driver: 

 

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. 

 

4.5.3

 

Unloading the drivers 

To unload the drivers, bring all the interfaces down first and then remove the modules using: 

 

4.6

 

Usage examples 

4.6.1

 

Wi-Fi access point mode 

The following example configures and starts an access point using the provided Marvell tools. A more detailed 
description  of  the  uaputl.exe  tool  and  its  parameters  can  be  found  in  the 

README_UAP

  file  from  the  driver 

package. 

 

Listing 7: Create a Wi-Fi access point 

To assign an IP address to the access point interface: 

 

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 secondary channel above: 

uaputl.exe sys_cfg_channel 36 2 

# enable 802.11n mode with short guard interval, 40MHz channel bandwidth: 

uaputl.exe sys_cfg_11n 1 0x116e 3 0 0xff 

uaputl.exe sys_cfg_rates 0xc 0x12 0x18 0x24 0x30 0x48 0x60 0x6c 

uaputl.exe sys_cfg_80211d state 1 country US                      # enable 802.11d, set country  

 

# configure encryption: 

uaputl.exe sys_cfg_auth 0                       

uaputl.exe sys_cfg_protocol 32                                    # WPA2 

uaputl.exe sys_cfg_wpa_passphrase topsecret                       # passphrase "topsecret" 

uaputl.exe sys_cfg_cipher 8 8                                     # CCMP   

 

uaputl.exe bss_start                                              # start the AP 

rmmod mlan sd8xxx bt8xxx 

$ hciconfig 

hci0:     Type: BR/EDR  Bus: SDIO         

          BD Address: 00:06:C6:46:DF:7B  ACL MTU: 1021:6  SCO MTU: 120:6 

          UP RUNNING PSCAN         

          RX bytes:656 acl:0 sco:0 events:28 errors:0         

          TX bytes:986 acl:0 sco:0 commands:28 errors:0 

modprobe bt8787 

Содержание 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...

Отзывы: