This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Minimal advertising stack

Hi,

I have product that uses the S110 stack for communication. However I really need to lower the energy consumption and I am trying to make a minimal BLE implementation (without the S110) that just sends a few advertising packets. I've read the V4.0 core specification and know the packet formats and all, but can't get it to work on the NRF51822. What values do I need for BASE0, PREFIX0, CRCPOLY, CRCINIT, DATAWHITEIV etc. ? Timing? I've tried all reasonable combinations, include bit- and byte swapping values, but I can't get it to work.

Best regards, Andreas Wileur

Parents
  • FormerMember
    0 FormerMember

    Hi Andreas,

    Here is a minimal implementation for nrf52 where scan response also works github.com/.../nrf52DevBase

    I'm sorry the code base is messy and without much comments. Haven't got time recently to work on this. The radio part should work as it is, just uncomment the FICR register configuration in radio_init() (this wasn't required for nrf52). Other parts like uart driver needs to changed to 51. Making a nice repo where one can use both 51 and 52 is in the TODO list.

    Cheers, Prithvi

Reply
  • FormerMember
    0 FormerMember

    Hi Andreas,

    Here is a minimal implementation for nrf52 where scan response also works github.com/.../nrf52DevBase

    I'm sorry the code base is messy and without much comments. Haven't got time recently to work on this. The radio part should work as it is, just uncomment the FICR register configuration in radio_init() (this wasn't required for nrf52). Other parts like uart driver needs to changed to 51. Making a nice repo where one can use both 51 and 52 is in the TODO list.

    Cheers, Prithvi

Children
Related