WL1835 and bluetooth - Protocol not supported

35 views
Skip to first unread message

familie...@gmail.com

unread,
Apr 10, 2018, 10:03:59 AM4/10/18
to BeagleBoard
Hi all,

I have been pulling my hair on this, and need your advice for what to do from here.

I use a WL1835 chip on a custom cape, Uart1 is used for bluetooth and mmc2 (mmc1) for wifi. Wifi is ok.
I use the howto from RobertCNelson.

Info:
debian@arm:~$ cat /etc/rcn-ee.conf
distro=Debian
deb_codename=stretch
rfs_username=debian
release_date=2017-12-09
third_party_modules=
abi=aa
image_type=minimal

I have modified the bb-wl18xx-bluetooth script, that is included in the bb-wl18xx-firmware, so that it toggles the right pins. The pins are defined in the dts file as led pins as described in the script by Robert. I have confirmed that the pins are toggled as intended by a oscilloscope.

The uart is setup in DTS file (They are also confirmed to signal when ordered to :-) )

&uart1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart1_pins_default>;
    pinctrl-1 = <&uart1_pins_sleep>;
    status = "okay";
    fsl,uart-has-rtscts;      // enable flow control
};

The pins are setup:
    uart1_pins_default: pinmux_uart1_pins_default {
    pinctrl-single,pins = <
            0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* uart1_rtsn */
            0x178 (PIN_INPUT | MUX_MODE0)                         /* uart1_ctsn */
            0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* uart1_txd */
            0x180 (PIN_INPUT_PULLUP | MUX_MODE0)             /* uart1_rxd */
        >;
    };
   
    uart1_pins_sleep: pinmux_uart1_pins_sleep {
    pinctrl-single,pins = <   
      0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_rtsn */
      0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_ctsn */
      0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_txd */
      0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_rxd */
        >;
    };

The problem is when I run the script:

debian@arm:~$ bb-wl18xx-bluetooth
TI_AM335x_BeagleBone_Customer
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
Can't set device: Protocol not supported
Can't initialize device: Protocol not supported


How do I debug this, any advise is appreciated.

Best regards
Ole




Familien Nissen

unread,
Apr 10, 2018, 10:04:00 AM4/10/18
to BeagleBoard
Reply all
Reply to author
Forward
0 new messages