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

Peripheral resource sharing in SDK15

Hi Nordic,

I am working on a BLE based application. In my application, I am forced to use SPI and TWI of same instance.

I am using SPI1 and TWI1. Earlier I was working on SDK11, where this issue was resolved by enabling the PERIPHERAL_RESOURCE_SHARING _ENABLED flag. However, when I did the same in SDK15 by enabling the NRFX_PRS_ENABLED flag and setting BANK 1, I am getting NRF_FAULT_ID_SDK_ASSERT error. I tried with other instances also.But I am getting the same error.

Is there any configuration settings, that I am missing out??

Regards

Parents Reply
  • Hi Martin,

    Sorry for the late response...

    I debugged by doing step by step execution. The code is not getting stuck anywhere and no error codes are being returned. 

    The code is getting stuck, once the connection is established. As a result, I am not able to debug further due to NRF_BREAKPOINT error condition. 

    I copied the arguments of error handler in an array and viewed it in the live watch. That's how I was able to figure out the error NRF_FAULT_ID_SDK_ASSERT. 

    As for what function returned the error, I couldn't find...

    Regards

Children
Related