Bluetooth in iMX6ULL EVK

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

Bluetooth in iMX6ULL EVK

920 Views
mathew_k_t
Contributor II

Hi,

I'm working with imx6ull evk. I was able to make murata 1DX evk working with default evk configuration.

I changed UART2 to UART3, I configured some different pins for BT_REG_ON, BT_DEV_WAKE, BT_HOST_WAKE;

But bcm init fails, I updated imx6ull-14x14-evk-btwifi.dtb in fdt_file.

What's the mistake?

How to bring up the evk working in UART3.

Regards

Labels (2)
0 Kudos
3 Replies

514 Views
igorpadykov
NXP Employee
NXP Employee

Hi mathew_k_t 

what is error log, had UART3 was tested in linux for example with unit test

imx-test (mxc_uart_test)
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

514 Views
mathew_k_t
Contributor II

Hi Igor,

I found UART3 passed the unit_test.

Following is my configuration of UART3,

Please verify the same is correct

pinctrl_uart3: uart3grp {
             fsl,pins = <
                   MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX  0x1b0b1
                   MX6UL_PAD_NAND_CE0_B__UART3_DCE_RX     0x1b0b1
                   MX6UL_PAD_NAND_CE1_B__UART3_DCE_CTS    0x1b0b1
                   MX6UL_PAD_UART3_RTS_B__UART3_DCE_RTS   0x1b0b1
             >;
         };

&uart3 {
      pinctrl-names = "default";
      pinctrl-0 = <&pinctrl_uart3>;
      fsl,uart-has-rtscts;
      status = "okay";
 };

Could you provide bluetooth enabling sequence. Currently followed sequence is as follows

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
here it fails
**where 31 is the BT_REG_ON
0 Kudos

514 Views
igorpadykov
NXP Employee
NXP Employee

Hi mathew_k_t 

one can request "Murata Wi-Fi & BT Solution for i.MX Quick Start Guide (Linux) 4.0.pdf".

mentioned on working with muratas wifi-bt and Imx6qp Sabre AI board 

from murata support portal

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

Best regards
igor

0 Kudos