TAMPC on the nRF54L15-DK

Is it possible to use at least one channel of the TAMPC in a Zephyr application on the nRF54L15-DK? It appears that the channel 0 pins (p1.4 and p1.5) are used by the UART on the DK. According to the tables on the back of the DK board, p1.11 and p1.12 aren't connected to anything. Can those be used for channel 3 of the TAMPC? If so, how do I go about using them to test the PRBS tamper detection? I can compile this code for channel 0, but if I change the reference to channel 3 it doesn't compile.

int tampc_active_shield_init(tampc_callback_t callback)
{
    user_callback = callback;

    /* Clear any pending events */
    nrf_tampc_event_clear(NRF_TAMPC, NRF_TAMPC_EVENT_TAMPER);
#if NRF_TAMPC_HAS_EVENT_WRITE_ERROR
    nrf_tampc_event_clear(NRF_TAMPC, NRF_TAMPC_EVENT_WRITE_ERROR);
#endif

    /* Enable active shield channel 3 */
#if NRF_TAMPC_HAS_ACTIVE_SHIELD_CHANNELS
    nrf_tampc_activeshield_channel_enable(NRF_TAMPC, NRF_TAMPC_ACTIVESHIELD_CHANNEL_3_MASK);
    printk("Active shield channel 3 enabled\n");
#else
    printk("Active shield channels not available on this device\n");
    return -ENOTSUP;
#endif

    /* Enable TAMPER interrupt */
    nrf_tampc_int_enable(NRF_TAMPC, NRF_TAMPC_INT_TAMPER_MASK);

    /* Connect and enable IRQ - TAMPC_IRQn is 220 on nRF54L15 */
    IRQ_CONNECT(TAMPC_IRQn, 1, tampc_irq_handler, NULL, 0);
    irq_enable(TAMPC_IRQn);

    printk("TAMPC initialized, IRQn=%d\n", TAMPC_IRQn);
    printk("INTENSET=0x%08x\n", nrf_tampc_int_enable_check(NRF_TAMPC, NRF_TAMPC_ALL_INTS_MASK));

    return 0;
}

Overlay for configuring p1.11 and p1.12:
/&peripheral_domain {
    tamper0: tampc@5003a000 {
        compatible = "nordic,nrf54l15-tampc";
        reg = <0x5003A000 0x1000>;
        channel-count = <4>;

        /* ASO3 = P1.11, ASI3 = P1.12 */
        aso-pins = <&gpio1 11 GPIO_ACTIVE_HIGH>;
        asi-pins = <&gpio1 12 GPIO_ACTIVE_HIGH>;
    };
};

  • // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.
    
    // For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "win32",
        "osVersion": "Windows 11 Pro",
        "osKernel": "10.0.26100",
        "vscode": "1.108.2",
        "electron": "39.2.7",
        "node": "v22.21.1",
        "appName": "Visual Studio Code",
        "appHost": "desktop"
      },
      "system": {
        "date": "2026-01-29T21:21:16.892Z",
        "vscodeRoot": "c:\\Users\\12162\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "02:21:00",
        "osUptime": "21:45:07",
        "cpu": "Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz"
      },
      "workspace": {
        "name": "beacon1",
        "workspaceFile": null,
        "folders": [
          "c:\\Users\\12162\\beacon1"
        ]
      },
      "sdks": [
        {
          "version": "v3.2.1",
          "path": "c:\\ncs\\v3.2.1"
        }
      ],
      "activeBuild": "/Users/12162/beacon1/build/beacon1",
      "apps": [
        {
          "workspace": "c:\\Users\\12162\\beacon1",
          "uri": "c:\\Users\\12162\\beacon1",
          "buildConfigurations": [
            {
              "id": "/Users/12162/beacon1/build",
              "name": "build",
              "boardId": "nrf54l15dk/nrf54l15/cpuapp",
              "type": "Sysbuild",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.2.1",
              "toolchain": "nRF Connect SDK Toolchain v3.2.1"
            },
            {
              "id": "/Users/12162/beacon1/build/beacon1",
              "name": "build/beacon1",
              "boardId": "nrf54l15dk/nrf54l15/cpuapp",
              "type": "Zephyr",
              "isChild": true,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.2.1",
              "toolchain": "nRF Connect SDK Toolchain v3.2.1"
            },
            {
              "id": "/Users/12162/beacon1/build_1",
              "name": "build_1",
              "boardId": "nrf54l15dk/nrf54l15/cpuapp",
              "type": "Sysbuild",
              "isChild": false,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.2.1",
              "toolchain": "nRF Connect SDK Toolchain v3.2.1"
            },
            {
              "id": "/Users/12162/beacon1/build_1/beacon1",
              "name": "build_1/beacon1",
              "boardId": "nrf54l15dk/nrf54l15/cpuapp",
              "type": "Zephyr",
              "isChild": true,
              "isStale": false,
              "taskBindings": {
                "build": [],
                "pristineBuild": [],
                "flash": [],
                "eraseAndFlash": []
              },
              "sdk": "c:\\ncs\\v3.2.1",
              "toolchain": "nRF Connect SDK Toolchain v3.2.1"
            }
          ]
        }
      ],
      "toolchains": [
        {
          "version": "3.2.1",
          "path": "c:\\ncs\\toolchains\\66cdf9b75e",
          "displayName": "nRF Connect SDK Toolchain v3.2.1",
          "compilerTools": [
            "Zephyr SDK (arm) 0.17.0",
            "Zephyr SDK (riscv) 0.17.0"
          ]
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "001057709903"
        }
      ],
      "tools": {
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.17.0",
        "C:\\Program Files\\SEGGER\\JLink_V876\\JLink.exe": "8.76",
        "C:\\ncs\\toolchains\\66cdf9b75e\\nrfutil": "8.1.1",
        "C:\\ncs\\toolchains\\66cdf9b75e\\cmake": "3.21.0",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Scripts\\west.exe": "1.4.0",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\python.exe": "3.12.4",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\ninja.exe": "1.10.2",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\gn.exe": "2223",
        "C:\\ncs\\toolchains\\66cdf9b75e\\mingw64\\bin\\git.exe": "git version 2.52.0.",
        "debugger (arm)": "c:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
        "debugger (riscv)": "c:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.15.6",
          "binPath": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.1.1327-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device",
          "jlinkInfo": {
            "name": "JlinkARM",
            "version": "JLink_V8.76",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.9.3",
          "binPath": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.1.1327-win32-x64\\platform\\nrfutil\\bin\\nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "HOME": "C:\\Users\\12162",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\12162",
          "PATH": "C:\\ncs\\toolchains\\66cdf9b75e;C:\\ncs\\toolchains\\66cdf9b75e\\mingw64\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Scripts;c:/ncs/toolchains/66cdf9b75e\\opt/nanopb/generator-bin;C:\\ncs\\toolchains\\66cdf9b75e\\nrfutil\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.1.1327-win32-x64\\platform\\nrfutil\\lib\\nrfutil-sdk-manager;C:\\Program Files (x86)\\VMware\\VMware Workstation\\bin\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Pandoc\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Users\\12162\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\12162\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap;C:\\Users\\12162\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;",
          "ZEPHYR_BASE": "c:\\ncs\\v3.2.1\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "c:\\ncs\\toolchains\\66cdf9b75e\\opt\\zephyr-sdk",
          "PYTHONPATH": "C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Lib;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Lib\\site-packages"
        },
        "inherited": {
          "HOME": "C:\\Users\\12162",
          "HOMEDRIVE": "C:",
          "HOMEPATH": "\\Users\\12162",
          "Path": "C:\\Program Files (x86)\\VMware\\VMware Workstation\\bin\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Pandoc\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Users\\12162\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\12162\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap;C:\\Users\\12162\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Scripts;",
          "PATH": "C:\\Program Files (x86)\\VMware\\VMware Workstation\\bin\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Graphviz\\bin;C:\\Program Files\\Pandoc\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Users\\12162\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\12162\\.dotnet\\tools;C:\\Program Files (x86)\\Nmap;C:\\Users\\12162\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\ncs\\toolchains\\66cdf9b75e\\opt\\bin\\Scripts;"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "west": {
            "env": {
              "$base": "terminal"
            },
            "verbose": ""
          },
          "boardRoots": [],
          "taskBindings": {},
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false,
            "focusOnNrfDebug": true
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": false,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "sdkManager": {
            "region": "default"
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": {}
          }
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character",
          "localEcho": false
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2026.1.1327",
            "path": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2026.1.1327-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2026.1.235",
            "path": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2026.1.235",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2026.1.448",
            "path": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2026.1.448",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2026.1.230",
            "path": "c:\\Users\\12162\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2026.1.230",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.29.3",
          "ms-vscode.js-debug": "1.105.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "ms-vscode.cmake-tools": "1.22.26",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      }
    }
    

  • Please ensure to use the nRF Connect SDK Command Prompt and run "python -m west update". 

  • PS C:\ncs\v3.2.1> python -m west update
    C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe: No module named west
    PS C:\ncs\v3.2.1> 

  • Try this way: 
    In the Welcome View: the Run west update action under  Manage SDKs > Manage West Workspace.

  • After that update completed, I get build errors if either one of these symbols are in the prj.conf file:

    CONFIG_TAMPC=y
    CONFIG_NRFX_TAMPC=y
Related