Wi-Fi and Bluetooth are functional on the Murata LBEE5HY2GY using beta firmware. Murata, the manufacturer of the Wi-Fi chip, has not yet released an official Wi-Fi and Bluetooth firmware. Digi will release official support as soon as Murata makes the firmware available and Wi-Fi and Bluetooth have been fully validated. |
The wireless variant of the ConnectCore MP25 SOM integrates the Murata LBEE5HY2GY wireless chipset with the following features:
-
Bluetooth 5.4, ANT+, backward-compatible
-
Bluetooth and WLAN coexistence
Digi Embedded Yocto defines the dey-bluetooth feature that builds the bluez5 package for working with the Bluetooth interface. This package installs all the required libraries and tools to use Bluetooth.
Digi Embedded Yocto supports the core specification 5.4 (GAP, L2CAP, RFCOMM, SDP, GATT), including Classic Bluetooth and Bluetooth Smart (Low Energy). The Linux Bluez stack supports additional Bluetooth Classic and Low Energy profiles that are not specifically validated. See the Bluez documentation for details.
If you have a Bluetooth-capable ConnectCore MP25 but you don’t need to use Bluetooth, see Disable Bluetooth for instructions on disabling the interface. |
Kernel configuration
The Bluetooth interface is managed by the following kernel configuration options:
-
HCI UART driver (
CONFIG_BT_HCIUART
) -
Broadcom protocol support (
CONFIG_BT_HCIUART_BCM
) These options are enabled as built-in on the default ConnectCore MP25 kernel configuration file.
Kernel driver
The Bluetooth driver is located at:
File | Description |
---|---|
UART (BCM) protocol support |
Device tree bindings
The controller tree binding is documented at Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml
A bluetooth
node is given as a device tree placeholder for U-Boot to fill in the Bluetooth interface MAC address.
This address is then programmed into the device by the Digi Embedded Yocto bluez
init script.
/* USART1 (Bluetooth) */
&usart1 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&ccmp25_usart1_pins>;
pinctrl-1 = <&ccmp25_usart1_idle_pins>;
pinctrl-2 = <&ccmp25_usart1_sleep_pins>;
uart-has-rtscts;
status = "disabled";
cyw4373_bt: cyw4373-bt {
shutdown-gpios = <&gpioz 5 GPIO_ACTIVE_HIGH>; /* BT_REG_EN */
compatible = "brcm,bcm43438-bt";
max-speed = <3000000>;
vbat-supply = <&scmi_v3v3>;
vddio-supply = <&scmi_ldo8_1v8_rf>;
status = "disabled";
};
};
Bluetooth interfaces
Disable Bluetooth
Bluetooth is enabled by default via a device tree overlay on the ConnectCore MP25 variants that support it.
The Digi Embedded Yocto boot script automatically detects if the variant has a Bluetooth chip and adds the Bluetooth overlay to the U-Boot environment overlays
variable.
To disable Bluetooth, set the following environment variable in U-Boot:
=> setenv disable_bt 1
=> saveenv
This prevents the boot script from adding the Bluetooth overlay, which results in the system disabling the Bluetooth interface.
To revert this change, remove the variable and the boot script loads the wireless overlay again.