Search by Tags

Operating Wi-Fi/BT Capable Modules With a Single Antenna

 
Compare with Revision


Subscribe for this article updates

Our Wi-Fi/BT enabled SoMs support a dual antenna configuration. It is the recommended and default configuration. If for whatever reason operation with a single antenna is required, please follow this guide.

Setup

Requirements:

  1. Connect the antenna to the port marked AUX,

  • wifi module

    Wi-Fi/BT Module

  1. It is recommended for the MAIN port to be 50 Ω terminated,
  2. Follow the "Boot-Time Configuration" or "Run-Time Configuration" procedure below.

Run-Time Configuration

  1. Make sure wifi is not enabled by disabling any connections with connman or whatever other network manager is in use and execute:
    $ ip l dev mlan0 down
  1. Use iw to set the antenna bitmap:
    $ iw phy phy0 set antenna 0x02 0x02
  1. Now you can use Wi-Fi as usual, only the AUX antenna will be used. Note: If you're only using WiFi in your application, better radio performance can be achieved by connecting antenna to MAIN port and using iw phy phy0 set antenna 0x01 0x01 command (in this case the AUX port needs to be 50 Ω terminated)