Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

What is the radio time slice schedule between scanning and advertisement for central device when both are enabled?

Hi,

I am using NRF52833 with soft device version s140. I have set the advertisement duration for the BLE app to 0 (meaning the duration is infinite). Also, I have set scanning timeout 0 (this also means the timeout is infinite). But the device cannot scan and advertisement at same time literally, there will be some time slicing to manage both these processes such that one process is executed at one time. What will be this time slicing value and how can I get this value?

Parents Reply
  • I would not say it is not possible, but the number is not provided anywhere and calculating it yourself is difficult (it may also vary depending on advertising random offset etc). One way to find out what is currently happening (more suitable in a lab setting than in a product) is to connect relevant Radio evens to GPIOTE and toggle pins to see when the radio is in Tx an Rx via PPI, and check with a logic analyzer (or hook it up to the EGU to generate interrupts if you want to do it in software).

Children
Related