Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PPI access in a radio timeslot?

Hi,

We are using nRF52840 with nRF5 SDK ver 16.0.0 with Softdevice S113 ver 7.0.1.

We use the radio timeslot to implement low level radio comm with very tight timing requirements. I wonder if we can use PPI in the timeslot?

The Softdevice spec (https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s113%2FSDS%2Fs1xx%2Fconcurrent_multiprotocol_tsl_api%2Fconcurrent_multiprotocol_tsl_api.html&cp=4_6_1_0_8_1) says:

"When a Timeslot request is granted, the application has exclusive and real-time access to the normally blocked RADIO, TIMER0, CCM, and AAR peripherals and can use these freely for the duration (length) of the timeslot."

The Nordic guide (https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/setting-up-the-timeslot-api) says:

"When a timeslot has been granted the application will gain access to the RADIO, TIMER0, CCM, AAR, and PPI(ch 14-15) modules for the duration of the timeslot."

So the spec does not mention PPI while the guide does.

Please clarify!

BR / Björn

Parents
  • Hi,
    I will answer based on my experience.

    PPI module is just a peripheral module, part of the channels of which (0 - 19) can be used by the user for everything that is enough for imagination. and part of the channels, has a hard hardware configuration.

    Custom channels can be used anywhere and anytime, nothing limit it.

    "When a timeslot has been granted the application will gain access to the RADIO, TIMER0, CCM, AAR, and PPI(ch 14-15) modules for the duration of the timeslot."

    The peripherals used by the soft device are listed here. But at the time of gaining access to the time slot, it is free and you can use it to fit your needs.

    I hope I understood your question correctly and my answer will be useful.


    Best regards,

    Max

Reply
  • Hi,
    I will answer based on my experience.

    PPI module is just a peripheral module, part of the channels of which (0 - 19) can be used by the user for everything that is enough for imagination. and part of the channels, has a hard hardware configuration.

    Custom channels can be used anywhere and anytime, nothing limit it.

    "When a timeslot has been granted the application will gain access to the RADIO, TIMER0, CCM, AAR, and PPI(ch 14-15) modules for the duration of the timeslot."

    The peripherals used by the soft device are listed here. But at the time of gaining access to the time slot, it is free and you can use it to fit your needs.

    I hope I understood your question correctly and my answer will be useful.


    Best regards,

    Max

Children
Related