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

saadc error resolution example

Hi

i am trying to use adc in nrf 9160 kit. where i got error "Example requires secure_boot to have SAADC set to non-secure! If not; BusFault/UsageFault will be triggered" i got some input on previous ticket 

/* Configure SAADC as non-secure */
secure_boot_config_peripheral(
NRFX_PERIPHERAL_ID_GET(NRF_SAADC_S), 0);

from ticket (+) Nordic DevZone (nordicsemi.com) but i am unable to understand where do i put these three lines so that my adc code start working.

kindly guide me in which file i need to put this code?

Parents Reply Children
No Data
Related