Project

General

Profile

TI WL1837 Wifi/Bluetooth Module

The MitySOM-AM62x Dev Kit supports the TI WL1837 Wilink Wifi/Bluetooth module. The module can be installed in slot J14 on the bottom side of the dev kit.
https://www.ti.com/product/WL1837MOD

Once installed, you will have to enable the device tree overlay for the module.
In u-boot

=> setenv name_overlays k3-am62x-mitysom-sdhci2-wl1837.dtbo
=> boot

The module is directly supported by the filesystem shipped with the dev kit. No further configuration is necessary.

To make the confiugration permanent, add the following line to the uEnv.txt file (found in /run/media/boot-mmcblk1p1/uEnv.txt on the CL provided filesystem)

name_overlays=k3-am62x-mitysom-sdhci2-wl1837.dtbo

Wifi Software Configuration

TI provides module configuration scripts for initializing the Wifi Module. After logging in, run the following commands

# /usr/share/wl18xx/sta_start.sh 
# iw wlan0 scan |grep 'SSID: [^ ]'|sort -u

This will scan for visible SSIDs.

Note: If you get a Failed to read or parse configuration '/usr/share/wl18xx/wpa_supplicant.conf' due to p2p lines, simply comment those lines out in the wpa_supplicant.conf file and rerun the start script.

Once you know the network you'd like to connect to, you can connect to it using:

# /usr/share/wl18xx/sta_connect-ex.sh "yourSSID" WPA-PSK  SECRETPASSWORD  

where "yourSSID" is your desired SSID and SECRETPASSWORD is the access point password.

Once connected, you should be able to communicate with other devices on the network.

Wifi Testing

You can find your link speed and other connection parameters using:

root@mitysom-am62x:~# iw dev wlan0 link
Connected to 02:92:bf:58:cb:77 (on wlan0)
        SSID: criticallink-5G
        freq: 5180
        RX: 48338470 bytes (371097 packets)
        TX: 515134776 bytes (334460 packets)
        signal: -53 dBm
        rx bitrate: 65.0 MBit/s MCS 7
        tx bitrate: 135.0 MBit/s MCS 7 40MHz

        bss flags:      short-slot-time
        dtim period:    3
        beacon int:     100

We recommend using iperf3, included in the dev kit filesystem, for testing your network throughput.

Go to top
Add picture from clipboard (Maximum size: 1 GB)