I keep getting a hard fault when calling spm_request_random_number()
00> E: ***** MPU FAULT ***** 00> E: Instruction Access Violation 00> E: r0/a1: 0x00000000 r1/a2: 0xe000ed00 r2/a3: 0x200287c8 00> E: r3/a4: 0x00000000 r12/ip: 0x200283fc r14/lr: 0x00045add 00> E: xpsr: 0x61040000 00> E: Faulting instruction address (r15/pc): 0xe6ff23a4 00> E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 00> E: Current thread: 0x20025830 (unknown) 00> E: Resetting system
I'm following the secure_services sample provided in the SDK, and the secure_services header file is not providing me with much insight. Any common pitfalls I could be missing? I'm using NCS 1.7.0 and am using the SPM that's automatically generated when building a non-secure application, no custom SPM.