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

Use events of NRF_RADIO when enabled Gazell ?

Hello all:

                I am using nRF52-DK(pca10040)to do some tests.

                 I want to use gazell and at the same time, I want to detect the events of the NRF_RADIO, connect it to PPI.

                is it possible?

               Many thanks

Parents
  • Hi,

     

    You can hook any event via PPI. Here's an example that shows how it can be done:

    https://github.com/NordicPlayground/nrf51-8-mhz-gpio-clock/blob/master/main.c#L33

    The essentials are in line 33 and lines 45 - 48.

    Kind regards,

    Håkon 

  • Thank you,

    In our product, we want to keep the packet latency as short as possible from point to point(BLE is a little long even in shortest connection interval).

    frequency hopping is needed。

    I want to use gazell protocol, device side  periodically  send sync packet to host to maintain gazell link always in sync.

    of course the  period  of sync packet is shorter than gazell-sync-lifetime.

    when an external hardware events occurs on gazell device side , this makes a command packet, on gazell hiost side,

    I want to know the elapsed time from start of hardware events to when host get this command packet.

    so, maybe,i can get this time through measuring the time between external hardware  events and the  start of gazell timeslot(later, add tx transmit time * timeslot period)?

    on gazell device size ,how can i get the start time of timeslot?  through  NRF_RADI's events?

    any advice is welcome  :)

    Best regards.

    Jay lee

Reply
  • Thank you,

    In our product, we want to keep the packet latency as short as possible from point to point(BLE is a little long even in shortest connection interval).

    frequency hopping is needed。

    I want to use gazell protocol, device side  periodically  send sync packet to host to maintain gazell link always in sync.

    of course the  period  of sync packet is shorter than gazell-sync-lifetime.

    when an external hardware events occurs on gazell device side , this makes a command packet, on gazell hiost side,

    I want to know the elapsed time from start of hardware events to when host get this command packet.

    so, maybe,i can get this time through measuring the time between external hardware  events and the  start of gazell timeslot(later, add tx transmit time * timeslot period)?

    on gazell device size ,how can i get the start time of timeslot?  through  NRF_RADI's events?

    any advice is welcome  :)

    Best regards.

    Jay lee

Children
Related