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

Problems with PPI groups + S132

I have problem with PPI on NRF52832 (SDK 13.1.0, softdevice S132 4.0.2).

  1. Programmable peripheral interconnect (PPI) usage by Softdevice S132 according to infocenter.
  2. Reservation of PPI is defined in components/softdevice/s132/headers/nrf_sd_def.h. There is macro SD_PPI_GROUPS_USED, which is equal to 0xC.
  3. My application doesn't work with group #0.

So, according to infocenter we can use PPI groups 0..3. But SDK allow to use 0,1,4,5. And it's look like there is problems with group 0.

Any hints?

Parents
  • SD_PPI_GROUPS_USED is used by SDK to know which PPI groups are reserved by SoftDevice. In S132 v4.0.2 this macros is equal to 0xC. This means that groups #2 and #3 are used by SoftDevice and is not available to user. But according to infocenter this groups is available for user application.

    There is no error when I allocate group #0. Application use group to drive pin (similar to PWM). And there is no activity on pin when I use group #0. But everthing is ok with group #1 (app allocates two groups, and use only one).

Reply
  • SD_PPI_GROUPS_USED is used by SDK to know which PPI groups are reserved by SoftDevice. In S132 v4.0.2 this macros is equal to 0xC. This means that groups #2 and #3 are used by SoftDevice and is not available to user. But according to infocenter this groups is available for user application.

    There is no error when I allocate group #0. Application use group to drive pin (similar to PWM). And there is no activity on pin when I use group #0. But everthing is ok with group #1 (app allocates two groups, and use only one).

Children
No Data
Related