Hi,
I'm working on a custom board with the nRF54L15 using NCS 3.2.1, and have configured spi21 on port 2 for a display.
SPI pin configuration:
SCK: P2.06 (TRACECLK)
CS: P2.07 (TRACEDATA[0] / SWO)
MOSI: P2.08 (TRACEDATA[1])
D/C: P2.10 (TRACEDATA[3])
I am seeing some strange behaviour; the SPI bus works perfectly as long as I have an active RTT session open/connected. As soon as I disconnect RTT the SPI signal becomes corrupted/noisy.
I suspect TIPU or SWO logic is claimin or driving these pins by default and that RTT is somehow suppressing them while connected.
I've tried the following config, but the issue persists:
CONFIG_DEBUG=n
CONFIG_TRACING=n
CONFIG_SEGGER_SYSTEMVIEW=n
CONFIG_CONSOLE_SUBSYS=n
CONFIG_CONSOLE_HANDLER=n
Is there a specific config,UICR setting or TAD register I need to clear to completely release port 2 for GPIO/SPI use?
Any help would be much appreciated.