Using NRF52 (NRF52832) as bluetooth module for my psoc 6

Hi 

I have a mbed application, which runs on a PSOC6 MCU, i am going to be using a fanstel BC832 (which is based of NRF52832)BT module for RF-communication. To verify that my project can run on the fanstel module, I have the nRF52, until I get my board with the fanstel module. I am using mbed 5.14.1, which uses cordio stack for uart communication with the bt module. 

So i got two question: 
1) is there a specfic .hex which needs to be on my nRF52 when using it as a BT module? if, where can i find this? 
2) Might be out of scope, but how do i configure my mbed setup, so i am using the correct nordic drivers? 

Thanks 

Parents Reply Children
  •   apperently the hci_uart requires additional configuration from the host in order to start advertising. If i add 0x0105200666371104E5E1 (which sets a connection handler, min and max connection interval) and 0x0109202012110723D1BCEA5F782315DEEF12122315000000000000000000000000000000 (which configured my advertising data, and modify 0x0106200FA000F0000001000000000000000700, so that it uses a random address instead of a public, i can make my device advertise and connectable. Otherwise the "0x010A200101"  # HCI LE Enable Advertising is return with a 0x12 error code (invalid HCI command) 
    u
    I found these missing commands by decoding your scope data, thank you very much. 

    But to me it seems weird that a nordic HCI controller behave so differently then other HCI controller which I work with. Additionaly now that the device is connectable, I am facing issue with making my uuids available for the connected device. Indicating that i need to further modify the HCI command sequence. Any helps would be highly appreciated. 

    Thanks,

Related