We are using a TiWi-BLE WiFi+Bluetooth chip on a custom AM335x based board:
using Kernel 3.2.0 and android JB4.1.2:
WiFi Works fine but bletooth refuse to start:
[ 3.302856] (stk) :line disc installation timed out(rx:cnt=0,sts=0)
[ 4.522888] (stk) :<st_kim_starti(SMA): BT enabled>
[ 5.523010] (stk) :line disc installation timed out(rx:cnt=0,sts=0)
Android logcat:
E/uim-sysfs( 69): uim: Inside st_uart_config
E/uim-sysfs( 69): uim:<uim: open: /dev/ttyO1 >
E/uim-sysfs( 69): uim: Inside set_baud_rate
E/uim-sysfs( 69): uim: set_baud_rate() done
E/uim-sysfs( 69): uim: Inside read_firmware_version
E/uim-sysfs( 69): uim: Inside read_hci_event
E/uim-sysfs( 69): uim: read_hci_event
E/uim-sysfs( 69): uim:<uim: read_hci_event -1 >
E/uim-sysfs( 69): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 69): uim: Setting speed to 3000000
E/uim-sysfs( 69): uim: Inside read_command_complete
E/uim-sysfs( 69): uim: Command complete started
E/uim-sysfs( 69): uim: Inside read_hci_event
E/uim-sysfs( 69): uim: read_hci_event
E/uim-sysfs( 69): uim: Error in response: opcode is 0x1001, not 0xff36!
The GPIO pin of BT_enable is correctly working, and I've seen on oscilloscope
the Tx frame from CPU and a frame from BT module....
I do not know what is the meaning of that 0x1001 opcode ,
someone can explain it to me?
Mario