Need P0.14 as input on nrf9160

Hi, my app (nrf9160 ns, on DK 1.0 rev.; ncs 1.6.0 ) needs the port pin P0.14 as digital INput (wired on the arduino header, for a shield!!).
But something is blocking it from following the applied HI:1 level, it always stays LO:0!
Read both in SW as well with a multimeter (my INput setting includes pullup active).

NOTE: of course I programmed the board controller 52840 to route P0.14/P0.15 (to arduino), per overlay
   &vcom2_pins_routing { status = "okay"; };

NOTE: I know my code works, because with the other pin P0.15 the INput works as expected.
I'm using the nrfx-layer GPIO api.

NOTE: when hard-wiring the P0.14 to VDD, I read HI:1 in app; but this is bad overdriving an output, thus no real option and drives massive current.

Now, the DK-UG manual indicates there is an uart (the DTS says uart1?) using this pin P0.14 as RTS (output!?), while P0.15 is the CTS input.
Therefore, I guess my other tests did work with P0.15 as input - BUT P0.14 is stolen fixed as output, set=LO:0.

So I also tried at SPM :
to add an spm.conf with
CONFIG_SPM_NRF_UARTE2_NS=y
CONFIG_SPM_NRF_UARTE1_NS=y
plus cmake line: set(spm_CONF_FILE prj.conf ${CMAKE_CURRENT_SOURCE_DIR}/spm.conf )

as well added spm.overlay with
&uart1 {
status = "disabled";
};
&uart2 {
status = "disabled";
};
plus cmake line: set(spm_DTC_OVERLAY_FILE "${CMAKE_CURRENT_SOURCE_DIR}/spm.overlay" )

Resulting all the generated files
... \spm\zephyr\nrf9160dk_nrf9160.dts.pre.tmp
... \spm\zephyr\zephyr.dts
do reflect status = "disabled" (for all uarts).

All I get then is a spurious error at start (stack: z_arm_exc_spurious).

Another point, some tests before showed:
  NRF_UARTE2 Secure SKIP
on the boot (VCOM) log. What is owning uarte2? relates to P0.14?

Thanks

Related