NXP FRDM-KW41Z fails to initialize BLE #ble #nxp


Megan Bredes
 

I have been trying to get zephyr working on the NXP FRDM-KW41Z board and have been having some trouble with it. It fails right when it attempts to call bt_enable() at the beginning of main and gives me the error "No HCI driver registered". I've tried googling this error message but all that seems to come up is something from 2 years ago that seems to have been specific to arduino board and also seems to have already been fixed. I tried running non BLE demos on the board and those seem to work fine, it seems to be that the ble initialization is the only problem. Does anyone know what might cause this or how to solve this problem?

Thanks,
Megan


David Leach
 

Megan,

 

Bluetooth support in Zephyr for the KW41Z is not support/available.

 

There is a preliminary PR that I put together that adds support but requires a bit of manual manipulation to pull the KW41Z ble link layer library from the KW41Z sdk on the NXP site. But the PR is out of date and doesn’t work with the current tip. Work is being done to get it up to date but the PR will stay a “do not merge” PR for now.

 

David

 

From: users@... <users@...> On Behalf Of Megan Bredes via Lists.Zephyrproject.Org
Sent: Friday, July 26, 2019 3:14 PM
To: users@...
Cc: users@...
Subject: [Zephyr-users] NXP FRDM-KW41Z fails to initialize BLE #ble #nxp

 

I have been trying to get zephyr working on the NXP FRDM-KW41Z board and have been having some trouble with it. It fails right when it attempts to call bt_enable() at the beginning of main and gives me the error "No HCI driver registered". I've tried googling this error message but all that seems to come up is something from 2 years ago that seems to have been specific to arduino board and also seems to have already been fixed. I tried running non BLE demos on the board and those seem to work fine, it seems to be that the ble initialization is the only problem. Does anyone know what might cause this or how to solve this problem?

Thanks,
Megan