Part Number: WL18xxMOD
Tool/software: Linux
Hello,
We are experiencing a strange issue, when we enable WiFi+Bluetooth ( at the same time)
WiFi operation alone , works , Bluetooth alone works fine.
BUT When we are using Wifi and we enable Bluetooth (by means of enabling hardware enable pin and attach Bluez via hciattach, after that WiFi is already running and actively connected ! ) at that time hciattach bails out ( literally 1 on 2 hciattach operations works )
/usr/sbin/hciattach /dev/ttymxc3 texas -s 115200
hcInitialization timed out.
When looking at the serial lines ( with logger , when ever haci attach fails I don't get the '0x04' byte where read_hci_event is waiting on !
COM30 [0004]: 01 01 10 00
Timeout !!!!!
Nothing is rxd from the WL18xx module !
At the second hciattach .. all is working fine !
/usr/sbin/hciattach /dev/ttymxc3 texas -s 115200
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_11.8.32.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
COM30 [0001]: 01
COM30 [0003]: 01 10 00
COM31 [0001]: 04
COM30 [0018]: A5 AA 5A 01 01 10 00 01 36 FF 04 C0 C6 2D 00 FC EC 24
COM31 [0021]: 0E 0C 01 01 10 00 06 00 00 06 0D 00 20 AC 04 0E 04 01 36 FF 00
COM30 [0001]: 84
all working fine!.
At the 3third hciattach it will fail gain , 4th will work , 5th will fail .. etc etc..
When adding debug code and looking at the logger output in the serial lines ( i must come to the same conclusion 0x04 on the read_hci_event is missing, what should come from the WL18xx module)
REMARK : This is only seen when WiFi is active !!!
Any idea , why this is going wrong in 50% of the cases !
I want to remark ( once more) ,in Bluetooth only operation it always works, and thus never fails !
Regards
Noel