Quickstart Guide - PEB-WLBT-05 for phyBOARD-Sargas (LAN-102e.A0)

Table of Contents

Quickstart Guide - PEB-WLBT-05 for phyBOARD-Sargas (LAN-102e.A0)
Document TitleQuickstart Guide - PEB-WLBT-05 for phyBOARD-Sargas (LAN-102e.A0)
Article NumberLAN-102e.A0
Release Date07.02.2022
Is Branch ofQuickstart Guide - PEB-WLBT-05 for phyBOARD-Sargas (LAN-102e.Ax) Head

Introduction

PHYTEC's WLAN adapter PEB-WLBT-05 is aimed to support your processor with WiFi and Bluetooth. In this guide, we explain how to connect and install the WLAN adapter on the phyBOARD-Sargas.

For this kit, there are 4 variants depending on the frequency of WiFi and antenna type.

There are two WiFi variants:

  • IEEE 802.11 b/g/n which supports 2.4 GHz
  • IEEE 802.11 b/g/n/ac which supports 2.5 and  5Ghz

There are two antenna variants:

  • Chip antenna
  • U.FL connector instead of an antenna (enables external antenna)

The default case is to have a chip antenna mounted over the adapter. In addition, there is the possibility to have an antenna connector U.FL instead of the chip antenna. This possibility will allow you to use an external antenna and can be chosen from a long list of antennas to match your requirements.

The Bluetooth is delivered via a UART interface, and it requires all 4 lines of UART (CTS, RTS, TX, RX). The WiFi is delivered via SDIO Interface, and it requires (SDIO-CLK, CMD, D0, D1, D2, D3).

Specification

The WLAN Adapter supports the phyBOARD-Sargas kit with WiFi and Bluetooth and has the following variants depending on the frequency and antenna configuration:

  • PEB-WLBT-05-22C
    • IEEE 802.11 b/g/n which supports 2.4 GHz, via Sterling-LWB chip
    • Mounted Chip Antenna
    • Bluetooth v4.2 BR /DR/LE
  • PEB-WLBT-05-22E
    • IEEE 802.11 b/g/n which supports 2.4 GHz, via Sterling-LWB chip
    • Mounted U.FL connector instead of Antenna
    • Bluetooth v4.2 BR /DR/LE
  • PEB-WLBT-05-25C
    • IEEE 802.11 b/g/n/ac which supports 2.5GHz and 5 GHz, via Sterling-LWB5 chip
    • Mounted Chip Antenna
    • Bluetooth 2.1+EDR, Bluetooth 3.0, Bluetooth 4.2 (Bluetooth Low Energy)
  • PEB-WLBT-05-25E
    • IEEE 802.11 b/g/n/ac which supports 2.5GHz and 5 GHz, via Sterling-LWB5 chip
    • Mounted U.FL connector instead of Antenna
    • Bluetooth 2.1+EDR, Bluetooth 3.0, Bluetooth 4.2 (Bluetooth Low Energy)

WiFi: The WiFi is conveyed by the SDMMC3 interface of the STM32MP1 Processor which is held internally from X1.

Bluetooth: The Bluetooth signal is conveyed to the processor using USART3 ( CTS, RTS, TX, RX) via X1 internally.

Hardware Installation

Step 1:  Attach the PEB-WLBT-05 to the phyBOARD-Sargas at the Expansion Connector (X33) as illustrated in the following picture. Note the position of Pin 1 on both the PEB-WLBT-05 and phyBOARD-Sargas:


Connecting PEB-WLBT-05 to phyBOARD-Sargas

phyBOARD-Sargas with PEB-WLBT-05 (Outlined) (Top view)

phyBOARD-Sargas with PEB-WLBT-05 (connection outlined) (Side view)

Warning

Due to the size of the PEB-WLBT-05, not all of the Extension connector will be used. DO NOT attach any other devices or modules to the Extension Connector!

Warning

Make sure that the mounting holes of the PEB-WLBT-05 and the phyBOARD-Sargas are aligned with each other to avoid damage to the hardware!

Step 2: Bluetooth jumpers must be set as follows (this enables rooting the USART3 signals to the Expansion connector X33):

JumperphyBOARD-Segin Configuration Bluetooth
JP16closed
JP251+2

Tip

In case of software failure, check the jumper setting.


Tip

When using Bluetooth, the FD CAN interface (X36) and the 2nd Serial FTDI interface (found at X13) are no longer available. A solution to keep those interfaces is to use UART1 instead of USART3.

If you are interested in using UART1 for Bluetooth, please contact PHYTEC Support.

Software Installation

Information

The PEB-WLBT-05 with Sterling-LWB module is only supported with BSP-Yocto-OpenSTLinux-STM32MP1-PD20.1.0 and later.

The PEB-WLBT-05 with Sterling-LWB5 module is only supported with BSP-Yocto-OpenSTLinux-STM32MP1-PD21.2.0 and later.

Enable and Setup PEB-WLBT-05

The PEB-WLBT-05 module interfaces are deactivated from the devicetree by default but can be activated by rebuilding the BSP devicetree or using devicetree overlay (for BSP BSP-Yocto-OpenSTLinux-STM32MP1-PD21.2.0and later).
For instructions on how to enable the PEB-WLBT-05 support, please refer to:

Wireless Network

Use these ST WiKi Link for the WiFi:https://wiki.st.com/stm32mpu/wiki/How_to_setup_wifi_connection

For wireless configurations and connection management, the 'iw' utility is preinstalled.

For more information about 'iw':  https://wireless.wiki.kernel.org/en/users/documentation/iw

For an additional tutorial on how to set up wireless:  Changing the Wireless Network Configuration

Bluetooth

For Bluetooth setup and configuration, use these ST wiki Links:

https://wiki.st.com/stm32mpu/wiki/How_to_set_up_a_Bluetooth_connection

https://wiki.st.com/stm32mpu/wiki/How_to_scan_Bluetooth_devices