This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EnableIRQ returns PPI error

Hello. After a couple of s210 and s310 projects, I am attempting an s120 project. I built a client SDK but sd_nvic_EnableIRQ returns error code 0x2009 or NRF_ERROR_SOC_PPI_INVALID_GROUP. What can be done? Thank you.

// Initialize SoftDevice.
err_code = sd_softdevice_enable(clock_source, softdevice_assertion_handler);
if (err_code != NRF_SUCCESS)
{
    return err_code;
}

m_softdevice_enabled = true;

// Enable BLE event interrupt (interrupt priority has already been set by the stack).
return sd_nvic_EnableIRQ(SWI2_IRQn);
Parents
  • Hi!

    If you haven't configured any PPI channels, then you migth be compiling against the wrong header files for the currently flashed SoftDevice.

    If you are setting up PPI channels, make sure to read the chapter 10.4 in the S120-SDS [PDF warning] where the limitations of PPIs are listed

Reply
  • Hi!

    If you haven't configured any PPI channels, then you migth be compiling against the wrong header files for the currently flashed SoftDevice.

    If you are setting up PPI channels, make sure to read the chapter 10.4 in the S120-SDS [PDF warning] where the limitations of PPIs are listed

Children
No Data
Related