This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC33XX-SOFTWARE: bluetooth host wake up devicetree config

Part Number: CC33XX-SOFTWARE

Tool/software:

Hi everyone,

I have the following setup, described in https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1450706/cc33xx-software-btti_uart/5607543?tisearch=e2e-sitesearch&keymatch=cc33xx%20btti#5607543

But I always get the output that host wakeup is NOT enabled. But I can't find any documentation, how to configure the device tree, to set this interrupt. Is there maybe a template I've missed? Can someone help with this? I tried to set the following to the Bluetooth subnode in the Bluetooth UART node:

&uart1 { /* Bluetooth UART */
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
        status = "okay";

        assigned-clocks = <&clk IMX8MM_CLK_UART1>;
        assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;

        fsl,uart-has-rtscts;

        bluetooth {
                compatible = "ti,cc33xx-bt";
                cc33xx-supply = <&cc33xx_supply>;
                max-speed = <115200>;

                interrupt-parent = <&gpio2>;
                interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
                irq-gpio = <&gpio2 8 GPIO_ACTIVE_LOW>;
                interrupt-names = "host-wakeup";
        };

};

Thanks a lot.

SJ

  • Loos like it's not possible to create a device link to the gpio. See following output:

    [    1.796871] imx-uart 30860000.serial: Failed to create device link (0x180) with 30210000.gpio

    Is there something else I need to do in the device tree? Already tried also with deprecated " host-wakeup-gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;", with same result.

  • Hi SJ,

    Sorry for the extreme delay. Are you trying to use the BT_IRQ pin on CC33xx as the host wakeup pin? This functionality is not supported, so you are unable to wakeup linux host from BLE. 

  • Hi ,

    Are you trying to use the BT_IRQ pin on CC33xx as the host wakeup pin?

    Yes, because we saw that also on the TI M.2 card (MCU127A(001_Antenna)_Sch.PDF) the "Host_IRQ_BLE" line is connected to the M.2 Interface? This was done, although it's not supported to wake the host from BLE?

  • Hi SJ, 

    That is correct. It's supported in hardware just in case the software or firmware would be able to support it in the future.