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
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
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
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
Hi,
It sounds like you need to look into nrf_esb instead, where you have more control over the radio protocol. Gazell is not really made for time synchronization.
There's a tutorial on wireless synchronization using nrf_esb available here:
https://devzone.nordicsemi.com/b/blog/posts/wireless-timer-synchronization-among-nrf5-devices
Kind regards,
Håkon