FX30 (wp7702) and Talon IoT card

Hi @claudio.baldini

Please try these instructions, but note, they have not been verified, so they’re just for guidance.

Step 1: Obtain FX30 R11 linux src using leaf

Step 2: Customize FX30 Linux

Add WiFi BT layer from https://github.com/dpfrey/yocto_wp76_wp77_meta-bluetoothhttps://github.com/dpfrey/yocto_wp76_wp77_meta-bluetooth

You may have to comment out the following in " bluetooth.cfg "
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTSDIO=m

Step 3: Install custom Linux onto FX30

Step 4: Ensure UART2 is assigned to Linux

The FX30 interfaces UART2 with the IoT slot. UART2 is disabled by default. Assign it to Linux.

AT!MAPUART=17,2
AT!RESET

​​Step 5: Update Ti BT firwmare

Obtain the latest Ti BT firwmare,TIInit_11.8.32.bts, from https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/535853. Ensure the file size matches with the one below as the name of the file included by default with R9 is the same. Copy the firmware to /lib/firmware/ti-connectivity/ .

root@fx30:~# ls -la /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
-rw-r–r-- 1 root root 72716 Jan 6 00:03 /lib/firmware/ti-connectivity/TIInit_11.8.32.bts​

Step 6: Start up the IoT card​

To start up the IoT card, the WiFi and BT drivers need to be loaded and IOT_GPIO2, IOT_GPIO3 & IOT_GPIO4 need to be enabled and set high. Please refer the attached script
init-Mirage-WiFi-BT-IoT.sh

root@fx30:~# ./init-Mirage-WiFi-BT-IoT.sh
Mirage Wi-Fi BT IoT Card init complte
root@fx30:~#​

Step 7: Bluetooth

init-ti-bt.sh

root@fx30:~# ./init-ti-bt.sh
Found a Texas Instruments’ chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
Device setup complete
hci0: Type: Primary Bus: UART
BD Address: 5C:31:3E:DF:D8:33 ACL MTU: 1021:6 SCO MTU: 180:4
UP RUNNING
RX bytes:609 acl:0 sco:0 events:30 errors:0
TX bytes:401 acl:0 sco:0 commands:30 errors:0

Run ‘bluetoothctl, scan on, scan off’ to manage BT
root@fx30:~# bluetoothctl
[NEW] Controller 5C:31:3E:DF:D8:33 BlueZ 5.41 [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:31:3E:DF:D8:33 Discovering: yes
[NEW] Device 57:1D:F2:BC:37:90 57-1D-F2-BC-37-90
[NEW] Device 7B:5D:29:87:6A:CF 7B-5D-29-87-6A-CF
[NEW] Device 66:AC:6B:A6:97:38 66-AC-6B-A6-97-38
[NEW] Device 67:E6:BE:B8:37:73 67-E6-BE-B8-37-73
[NEW] Device DC:54:D7:41:A6:69 Echo Show 5-42E
[bluetooth]# scan off
[CHG] Device DC:54:D7:41:A6:69 RSSI is nil
[CHG] Device 67:E6:BE:B8:37:73 RSSI is nil
[CHG] Device 66:AC:6B:A6:97:38 RSSI is nil
[CHG] Device 7B:5D:29:87:6A:CF RSSI is nil
[CHG] Device 57:1D:F2:BC:37:90 RSSI is nil
[CHG] Controller 5C:31:3E:DF:D8:33 Discovering: no
Discovery stopped
[bluetooth]# exit
[DEL] Controller 5C:31:3E:DF:D8:33 BlueZ 5.41 [default]
root@fx30:~#

Step 7: WiFi

WiFi can be manged using Legato’s in built " wifi " tool. Example of WiFi client is below

root@fx30:~# wifi client start
successfully called start.
root@fx30:~# wifi client scan
starting scan.
Found: SSID: “SOMLIOT” BSSID: “02:9f:c2:3d:5b:20” Strength:-93 Ref:0x10000003
Found: SSID: “” BSSID: “f0:9f:c2:3d:5b:20” Strength:-93 Ref:0x1000000b
root@fx30:~#​

talon_mirage_scripts.7z (699 Bytes)