Open main menu

DAVE Developer's Wiki β

Changes

Wireless Module (DWM)

3,432 bytes added, 15:15, 19 January 2021
References
{{InfoBoxTop}}
{{Applies To DWM}}
{{AppliesToSBCLynx}}
{{AppliesToAddOnSBCLynx}}
{{AppliesToSBCD}}
{{AppliesToSBCX}}
{{Applies To ADD-ON-SBC-AXEL}}
{{Applies To ADD-ON-SBC-DIVA}}
 
{{InfoBoxBottom}}
==Introduction==
 
Wireless Module (DWM) is one of DAVE's Add-On Modules. These devices are conceived and designed to be easily included in embedded system, in order to ease the use from the system integrator's standpoint, in terms of hardware issues and software compatibility. These characteristics make them suitable for use in combination with a wide range of host devices, from low-cost microcontrollers to high-end embedded processors.
 
[[File:Dwm_02.png|300px|frameless|border]]
 
DWM belongs to the Connectivity Modules subfamily and provides support for WiFi (802.11 b/g/n) and Bluetooth (2.1 + EDR) throgh, respectively, a SDIO interface and a UART interface.
==Specification==
The module is built around a an LS Research TiWi-R2 BLE Integrated Transceiver Modules for WLAN 802.11 b/g/n and Bluetooth. The module realizes implements the necessary PHY/MAC layers to support WLAN applications in conjunction with a host processor over a SDIO interface. The module also provides a Bluetooth platform through the HCI transport layer. Both WLAN and Bluetooth share the same antenna port.
=== Features ===
* Based on Texas Instruments WL1271L Transceiver
* IEEE 802.11 b,g,n,d,e,i, compliant
* Bluetooth 2.1+EDR, Power Class 1.5
* Full support for BT4.0 BLE and ANT
* Reduced footprint: 25 mm x 38 mm
* Low height profile
=== Interface timings ===
Please refer to the [http://www.lsr.com/downloads/products/330-00450087.pdf TiWi-R2 BLE Datasheet] for SDIO [WiFi] and UART [Bluetooth] interface timings. ==Pinout and detailed pin functions==
===Power consumption===DWM can be connected to the host board through the J1 connector.
===ResetPinout reference===
===Operating modes===The following picture shows the reference pins of the J1 connector (placed on the bottom side of the DWM module):
[[File:Dwm_05.png|300px|frameless|border]] ==Pinout and detailed pin functions=J1 connector pinout table===
DWM can be connected to the host board through the J1 connector. The following table reports the connector pinout:
{| class="wikitable" | {{table}}
| align="center" style="background:#f0f0f0;" align="center"|'''Pin number'''| align="center" style="background:#f0f0f0;" align="center"|'''Name'''| align="center" style="background:#f0f0f0;" align="center"|'''Type'''| align="center" style="background:#f0f0f0;" align="center"|'''Description'''| align="center" style="background:#f0f0f0;" align="center"|'''Voltage'''| align="center" style="background:#f0f0f0;" align="center"|'''Note'''
|-
| 1||BT_EN||Input||Bluetooth Enable||3.3V||
| 2||WIFI_EN||Input||WLAN Enable||3.3V||
|-
| 3||UART2_RTSnBT_CTS||OutputInput||Bluetooth HCI UART RTSCTS||3.3V||
|-
| 4||WIFI_IRQ||Output||WLAN Interrupt Request||3.3V||
|-
| 5||UART2_TXDBT_RX||Input/Output||Bluetooth HCI UART TXRX||3.3V||
|-
| 6||BT_F2||OutputInput||Bluetooth Wakeup / DC2DC Mode||3.3V||Please leave unconnected if not used
|-
| 7||UART2_CTSnBT_RTS||InputOutput||Bluetooth HCI UART CTSRTS||3.3V||
|-
| 8||WIFI_CLK_REQ(A)||Output||HOST_WakeUp||3.3V||Please leave unconnected if not used
|-
| 9||UART2_RXDBT_TX||InputOutput||Bluetooth HCI UART RXTX||3.3V||
|-
| 10||NC||||Reserved for future use||-||Please leave unconnected.
|}
==Pinout reference== Connector part number ====
The following picture shows the reference pins of the J1 connector* on module:Molex 501920-3001 * on Carrier board: for example Molex 52991-0308 (dependon on stand-off chosen)
==Antenna connector==
The following picture shows the position of the WiFi/Bluetooth antenna connector:  [[File:Dwm_05Dwm_06.png|300px|frameless|border]]
==Integration guide==
This section provides useful information and resources that allow let the system designer to integrate the DWM module in his/her the application very quickly.
=== Typical scenariosscenario===
The following pictures picture shows the conceptual block diagram of the application where the role of the host is played by an Embedded PC. [[File:Dwm-epc-scenario.png|thumb|center|300px400px|Typical scenario]] ====Electrical guidelines====*Keep SDIO lines as short as possible.*5V and 3.3V rails can power up in any order*Keep WIFI_EN asserted during power-up sequence
===Mechanical information===
[[File:Dwm-layout-top.png|thumbnail|center|300px|DWM dimensions]]
* DXF: httphttps://www.dave.eu/downloadsystem/restrictedfiles/addarea-on-modulesriservata/dwm/CS061412.dxfdxf_.zip
===Layout===
[[File:Dwm_04.png|thumbnail|center|200px|DWM Bottom View]]
The component view (top and bottom) is avalable available as PDF file:
* PDF: httphttps://www.dave.eu/downloadsystem/restrictedfiles/addarea-on-modules/dwmriservata/CS061412_component_viewCS061412B_all_view.pdf
===3D===
* IDF (3D): http://www.dave.eu/download/restricted/add-on-modules/dwm/CS061412-3D.zip
* IDF (3D): https://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]. 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 - a list of [https://www.lairdconnect.com/wireless-modules/wifi-modules-bluetooth/tiwi-ble#certified-antennas certified antennas] and cables can be found in the TiWi Module device datasheet. Use of these antennas does not require additional FCC/IC/ETSI certifications.*the firmware version downloaded to the chip: please refer to the proper firmware available on your Linux distribution for matching the kernel driver and run properly the calibration process*the initialization data, typically stored in an INI file: please refer to the [https://www.lairdconnect.com/wireless-modules/wifi-modules-bluetooth/tiwi-ble#documentation Laird Connectivity TiWi documentation] for checking the proper INI file configuration*the Calibrator source code [https://github.com/TI-OpenLink/ti-utils/tree/ol_R5.SP8.01 here]More information about kernel driver and calibration on the [https://www.lairdconnect.com/forum/tiwi-ble/online-documentation/support-and-tools Laird Support and Tools] web page. ==== MAC address ====The MAC address is set at calibration time for WLAN. To use the built in MAC address for WLAN be sure to pass a MAC address of <code>00:00:00:00:00:00</code> as a parameter to the auto-calibrate function. To set a custom MAC address for WLAN just pass the desired value into the auto-calibrate function. ==== NVS ready-to-use calibration files ====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)]]The <code>nvs.bin</code> file has been created using the certified antenna [http://www.molex.com/molex/products/datasheet.jsp?part=active/0479500011_ANTENNAS.xml Molex 47950-0011] Please refer to the below Laird Connectivity TiWi-BLE documentation for more information. == References ==* [https://www.lairdconnect.com/wireless-modules/wifi-modules-bluetooth/tiwi-ble#documentation Laird Connectivity TiWi-BLE documentation]* [https://www.lairdconnect.com/documentation/tiwi-ble-datasheet TiWi-BLE datasheet]* [https://www.lairdconnect.com/documentation/tiwi-antenna-design-guide Antenna Design Guide]* [https://www.lairdconnect.com/documentation/tiwi-emc-compliance-guide EMC Compliance Guide]* [https://www.lairdconnect.com/documentation/wlan-ini-etsi-all-certified-antennas WLAN INI all certified antennas]* [http://linuxwireless.sipsolutions.net/en/users/Drivers/wl12xx/ WL127x Linux Calibrator]Since January 15, 2021, TI's processors wiki site has been shut down. The following original documentation is available only as cached pages.* [http://processors.wiki.ti.com/index.php/WL127x WL127x Main page]* [http://processors.wiki.ti.com/index.php/WL127x_WLAN_API_Information WL127x WLAN API]* [http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Proccess Calibration Process]
8,221
edits