bluetooth on imx6ull evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bluetooth on imx6ull evk

2,048 Views
sergio_dorazio
Contributor IV

Hi,

I am working with imx6ull evk, I have connected a bluetooth module on uart2, what is the sequence of command to connect bluetooth module ?

(example:

echo 31 > /sys/class/gpio/export
echo 0 > /sys/class/gpio/gpio31/value
sleep 0.1
echo 1 > /sys/class/gpio/gpio31/value
hciattach /dev/ttymxc2 bcm43xx 3000000 flow -t 20

)

Can someone help me ?

Labels (1)
0 Kudos
Reply
5 Replies

1,702 Views
sergio_dorazio
Contributor IV

Thank you for the help, I start bluetooth with similar 'murata document' command , but now I have a "protocol problem". I send you a log. Can someone help me for solve this problem ?

root@imx6ull14x14evk:~# hciattach -t 30 -s 115200 /dev/ttymxc1 texas 115200
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
Loaded BTS script version 1
texas: changing baud rate to 115200, 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
root@imx6ull14x14evk:~#

0 Kudos
Reply

1,702 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

The document mentioned before is for the Murata devices, this error seems like you are missing a driver or some kernel configurations, if a BT/WiFi module is different, it is necessary to install drivers for the module you are trying to use, this drivers and/or kernel configuration should be provided by the vendor of the module.

 

Sorry for the inconvenience,

Best regards,
Aldo.

0 Kudos
Reply

1,702 Views
sergio_dorazio
Contributor IV

Dear Aldo,

thank you for your answer,

my vendor says that I must see on forums and communitys to discover what is the correct software and correct command sequence to use !!!!!!!!!!

For example I found this :

Using BOOST-CC2564MODA with bluez on Linux – Alan C. Assis 

But when I repeat this sequence I have errors :

root@imx6ull14x14evk:~# hciattach -t 30 -s 115200 /dev/ttymxc1 texas 115200
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
Loaded BTS script version 1
texas: changing baud rate to 115200, 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
root@imx6ull14x14evk:~#

What is the action that I can do to discover what is the problem ?

Sostware Driver is not correct ?

Command Bluez is not correct ?

Must I add a texas Protocol ?

Can you help me ?

Sergio.

Like0 Reply
0 Kudos
Reply

1,702 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi Sergio,

 

Like I said it could be that you're missing some driver or kernel configuration for your bt device,

As per the log you shared your bt device is a texas chip, I'll recommend to take a look in the Texas community if someone have faced this error (Can't set device: Protocol not supported).

 

Sorry for the inconvenience,

Best regards,

Aldo.

0 Kudos
Reply

1,702 Views
romitchatterjee
Contributor V

Hello, have a look at section 7.2 of the Murata Linux Quick Start guide for details on how to bring up BT interface on i.MX6ULL evk. The guide is available at: https://wireless.murata.com/datasheet?/RFM/data/murata_quick_start_guide_linux.pdf .

Hope this helps!

0 Kudos
Reply