* IDF (3D): httphttps://www.dave.eu/system/files/area-riservata/dwm-3D.zip ===Qualification testsCalibration process===The radio interface of the DWM module is configured by several parameters. These parameters are set through a calibration process, that is described in detail [http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Process here].
==How The calibration process—that produces an NVS file—is not trivial. Apart from the chip itself (Texas Instruments WL1271L in this case), it depends on:*the antenna*the firmware version downloaded to enable WiFi support on embedded linux platforms==the chip*the initialization data, typically stored in an INI file.
=== References ===The following links refer to specific use cases, where the resulting NVS file is provided along with DAVE Embedded Systems products integrating DWM module.*[[XUELK-AN-001:_Using_WiFi-Bluetooth_combo_plugin_with_SBC_Lynx|SBC Lynx (XUELK)]]*[[XUELK-AN-002:_Running_Debian_distribution#Bluetooth_and_WiFi|SBC Lynx (Debian)]]
== References ==
* [http://processors.wiki.ti.com/index.php/WL127x WL127x Main page]
* [http://wireless.kernel.org/en/users/Drivers/wl12xx/calibrator Linux Calibrator]
=== Kernel setup ===
Edit kernel configuration adding support for MMC and WL1271L chipset. If needed, please '''apply the patches''' to enable support for DWM on the platform in use.
=== Make Wireless Tools ===
If the Wirleless Tools package is not included into your root file system, you need to build this component. Modification of the Makefile is required in order to cross-compile and install the tools:
* Check that the root file system path is correct
* Check the env CROSS_COMPILE and PATH variables
* make all
* sudo make install
Please note that this tools are included in some Linux Embedded distributions, so you could use the package manager to install them. See for example the [[Running Ubuntu Core]] page to learn how to run an Ubuntu-based root file system, so you can easily add the required tools using the '''apt''' package manager.
=== Module Firmware ===
Download the firmware binaries and copy them into <RFS>/lib/firmware:
* wl1271-fw.bin
=== Calibration ===
Calibration is a process of determining radio parameters specific for the chip on the specific design. Calibration is a mandatory one-time procedure, performed once after the board assembly and before any WLAN operation.
==== Prerequisites ====
* wifi kernel driver
* wifi device firmware
* wifi tools available into the root file system
* Linux kernel build with '''CONFIG_NL80211_TESTMODE=y''' option and WL12xx build as a module
* INI file downloaded from LSR website: [http://www.lsr.com/products-wiki?topic=TiWi-BLE+Downloads] (930-0056 - ETSI All certified antennas)
* The NVS file (wl127x-nvs.bin) must not be included into the root file system
N.B: When compiling the calibrator tool for an Ubuntu Core root file system (Ubuntu 12.04 LTS ARM HF), the following packages are required:
* libnl-3-dev
* libnl-gen1-3-dev
If the libnl-3 headers are not included into /usr/include/libnl-3, it is possible to download and uncompress the following deb file:
For detailed information, please refer to the [http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Proccess#Calibration_Getting_Started Calibration Getting Started Guide].
For the calibration commands, please refer to the following shell session: