5 years ago.

custom nRF52 Board with CORDIO BLE stack

Hi,

I compiled some of the mbed ble examples with CORDIO for nrf52 enabled. It is running on the red bear nano v2 board with ble working. When i use the same program on a custom board it is also running but ble is not working - i cannot see the device by scanning the ether. BLE on this custom board is working with the nordic softdevice. The RF and Clocking hardware is the same as in Nordics reference design.

Did i missed something porting the code to the custom board?

thanks in advance wenzel

1 Answer

5 years ago.

Hi Wenzel,

What Mbed OS version are you using? Is that 5.12.0?

There is a Cordio issue in 5.12.0 and will be fixed in 5.12.1, you can check the modification here,

https://github.com/ARMmbed/mbed-os/pull/10093/commits/a70f0e678066ec082b1e4c715a103865066e9b22

Could you try apply this commit locally and see if it works?

Thanks,

Desmond, team Mbed

Hi Desmond,

I am using mbed-os 5.11.4 and as i said it already works with the redbear board. I will try it with the commit.

Thank you

posted by Wenzel Reichmuth 29 Mar 2019

Do you see any error when initializing BLE instance?

posted by Desmond Chen 29 Mar 2019

There are no Errors when init BLE @mbed-os 5.11.4 and also 5.11.5. I get a valid mac address and the program runs fine. Only problem is that i can find the redbear board but not my custom board when scanning for ble devices. Now i tried with latest mbed-os release 5.12.0 but it gets stuck at ble init.

posted by Wenzel Reichmuth 01 Apr 2019