This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Does the COM6L-BLE (LSR TiWi-BLE / WL1271L) Bluetooth work on the AM335x EVM (Linux ti-sdk-am335x-evm-05.07.00.00)?

Other Parts Discussed in Thread: WL1271

Hi,

I've been using the AM335x EVM to test WLAN and BT with the COM6M module (Murata WL1271L) which comes with the EVM, which works fine (WLAN and BT).

Today I tried swapping the module with a COM6L-BLE (LSR TiWi-BLE / WL1271L) module, and hoped it would work the same, as they have the same connector pin-out and are both built around the WL1271L chip.

The WiFi works fine, but the bluetooth does not:

root@am335x-evm:~# insmod `find /lib/modules/ -name "gpio_en.ko"`
[ 349.741210] Gpio value is :117
[ 349.757293] WL1271: BT Enable
root@am335x-evm:~# hciattach /dev/ttyO1 texas 3000000
Initialization timed out.

Any hints as to what needs fixing?  Or what the differences are between the COM6L-BLE and the COM6M?  On one occasion I saw this:

root@am335x-evm:~# insmod `find /lib/modules/ -name "gpio_en.ko"`
[ 104.834991] Gpio value is :117
[ 104.857299] WL1271: BT Enable
root@am335x-evm:~# hciattach /dev/ttyO1 texas 3000000
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_7.6.15.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1

Initialization timed out.
root@am335x-evm:~#

  • I got this answer from LSR: use the LSR BTS file.

     I downloaded the file 480-0025.bts (FCC/IC/ETSI BT 2.1 + EDR, FCC/IC BT 4.0 all certified antennas) from http://www.lsr.com/products-wiki?topi... (Bluetooth Patch Files).  It worked great: wlan and BT appears ok.

    root@am335x-evm:/lib/firmware# ls -l
    -rwxr-xr-x    1 root     root         24477 Apr  7 14:47 480-0025.bts
    -rw-r--r--    1 root     root          2319 Apr  5 04:52 LICENCE
    -rwxr-xr-x    1 root     root         38298 Apr  5 04:52 TIInit_10.6.15.bts
    -rwxr-xr-x    1 root     root         49749 Apr  5 04:52 TIInit_7.2.31.bts
    lrwxrwxrwx    1 root     root            12 Apr  7 14:48 TIInit_7.6.15.bts -> 480-0025.bts
    -rwxr-xr-x    1 root     root         11546 Apr  7 14:47 TIInit_7.6.15.bts.orig
    drwxr-xr-x    2 root     root          4096 Apr  7 14:50 ti-connectivity
    root@am335x-evm:/lib/firmware# 

    root@am335x-evm:~# insmod `find /lib/modules/ -name "gpio_en.ko"`
    [   58.055053] Gpio value is :117
    [   58.077331] WL1271: BT Enable
    root@am335x-evm:~# hciattach /dev/ttyO1 texas 3000000
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/TIInit_7.6.15.bts
    Loaded BTS script version 1
    texas: changing baud rate to 3000000, flow control to 1
    [   70.382354] Bluetooth: Core ver 2.16
    [   70.386199] NET: Registered protocol family 31
    [   70.390869] Bluetooth: HCI device and connection manager initialized
    [   70.397521] Bluetooth: HCI socket layer initialized
    [   70.402587] Bluetooth: L2CAP socket layer initialized
    [   70.407897] Bluetooth: SCO socket layer initialized
    [   70.419677] Bluetooth: HCI UART driver ver 2.2
    [   70.424316] Bluetooth: HCI H4 protocol initialized
    [   70.429382] Bluetooth: HCI BCSP protocol initialized
    [   70.434570] Bluetooth: HCILL protocol initialized
    [   70.521026] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   70.526611] Bluetooth: BNEP filters: protocol multicast
    [   70.556335] Bluetooth: RFCOMM TTY layer initialized
    [   70.561523] Bluetooth: RFCOMM socket layer initialized
    [   70.566894] Bluetooth: RFCOMM ver 1.11
    Device setup complete
    root@am335x-evm:~#