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

How to configure peripherals with SPM on nRF9160

Is there a set of directions for configuring the peripherals for the nRF9160 SPM.

I need to change the default configuration shown in the SPM sample.

I tried editing the file c:\ncs\nrf\subsys\spm\Kconfig but that dis not change the setting on UART2 that I am using to communicate

with a nrf52840 chip to build a BLE gateway.

Parents Reply
  • Hi Smitesh,

    In [subsys/spm/spm.c] add the following at ~line 305 (under NRF_PWM3):

    PERIPH("NRF_WDT", NRF_WDT_S, CONFIG_SPM_NRF_WDT_NS),

    and in [subsys/spm/Kconfig] please add ~line179 (under SPM_NRF_PWM3_NS):

    config SPM_NRF_WDT_NS
    	bool "WDT is Non-Secure"
    	default y

    And you should get the output:

    ...


    Yes, that should be possible


    For future questions please make a separate support ticket, thanks.

Children
No Data
Related