Other Parts Discussed in Thread: WL1831
Tool/software: Linux
Hi,
I am using a custom board with imx7d processor having linux kernel version 4.14.98. I want to interface the Wifi/Bt module WL1831. I added the following configurations
CONFIG_WL18XX=y
CONFIG_WLCORE=y
CONFIG_WLCORE_SDIO=y
wlcore: wlcore@2 {
compatible = "ti,wl1831";
reg = <2>;
interrupt-parent = <&gpio4>;
interrupts = <22 IRQ_TYPE_EDGE_RISING>;
} under &usdhc2 in .dts file
&uart6 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart6>;
assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
fsl,uart-has-rtscts;
status = "okay";
}; for bluetooth
All the corresponding pinmuxing (BT_EN & WL_EN) is done. Is there something else i need to add in the CONFIG file or the dts for WL1831 support? As applying this configuration my wifi is working well, but bluetooth is not responding, I am getting the below error
$ hciattach /dev/ttymxc5 texas 3000000 flow -t 20
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
Initialization timed out.
We tried changing the bluetooth firmware and ended up with a different error,
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
Setting TTY to N_HCI line discipline
Can't set device: Protocol not supported
Can't initialize device: Protocol not supported
Could you please help me out? Also please guide us to the latest bluetooth firmware.