Bluetooth Initialization - Ublox JODY-W1 Series System Integration Manual

Host-based modules with wi-fi and dual-mode bluetooth
Table of Contents

Advertisement

If the driver was successfully loaded, you should see it in the list of loaded modules, as shown in the
example below:
Module
bcmdhd
Listing 3: lsmod output
The lspci command can be used to list the detected PCI devices in the system, for example:
$ lspci
01:00.0 Network controller: Broadcom Corporation Device 4355 (rev 05)
[...]
The following listing shows an example message from the kernel log, when the JODY-W1 series
module is detected in SDIO mode:
mmc2: new ultra high speed SDR104 SDIO card at address 0001
When the module is detected on the PCI express or SDIO interface, the driver will automatically
download the firmware to it, initialize the hardware, and register the network interfaces.
The WL_EN pin of the module must be asserted to enable the Wi-Fi function.
$ dmesg
[...]
PCI_PROBE:
bus 1, slot 0,vendor 14E4, device 4355(good PCI location)
dhd_bus_download_firmware: firmware path=/lib/firmware/brcm/fw_bcmdhd_hu.bin, nvram
path=/lib/firmware/brcm/nvram.txt
[...]
Firmware up: op_mode=0x0c05, MAC=00:90:4c:12:d0:01
Firmware version = wl0: Aug 10 2017 04:13:58 version 9.40.56 (@VC_VERSION_NUM CY) FWID 01-
9469e017
Dongle Host Driver, version 1.363.30 (r)
Register interface [wlan0]
Listing 4: Example of kernel log after loading the PCIe driver
Now you should be able to see a new
'iw dev' commands).
To unload the driver, bring all the interfaces down first and then remove the module using:
$ rmmod bcmdhd

3.7 Bluetooth initialization

Do the following steps (as mentioned in the sequence below) to initialize the Bluetooth functionality
on the JODY-W1 module:
1. Bluetooth enable pin: To enable the Bluetooth function on the JODY-W1 module, the Bluetooth
power enable pin (BT_EN) must be asserted high. The pin can be statically asserted by the
hardware or from the host during the boot sequence of the system; for example, during the kernel
board initialization or in a Linux init script via the GPIO sysfs interface.
2. Firmware loading: After enabling the Bluetooth function of the module, the patchram firmware file
must be downloaded to the module. This is done via the
downloaded from
recipes.
UBX-16012621 - R18
C1-Public
Size
Used by
779445
0
MAC: 00:90:4c:12:d0:01
wlan0
network interface (for example using the 'ifconfig –a' or
[10]
or obtained from u-blox support as part of the Yocto/OpenEmbedded
JODY-W1 series - System integration manual
brcm_patchram_plus
Software
utility, which can be
Page 42 of 72

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jody-w163-aJody-w164-aJody-w167-aJody-w174-a

Table of Contents