<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DPPI Channel Mask vs GPIO0 pin Mask</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115813/dppi-channel-mask-vs-gpio0-pin-mask</link><description>Hello, 
 I am relatively new to the nrf9161, but I am running into an error with my build. 
 &amp;#39;TFM_PERIPHERAL_DPPI_CHANNEL_MASK_SECURE&amp;#39; undeclared (first use in this function); did you mean &amp;#39;TFM_PERIPHERAL_GPIO0_PIN_MASK_SECURE&amp;#39;? 
 
 For context, I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Mar 2025 11:02:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115813/dppi-channel-mask-vs-gpio0-pin-mask" /><item><title>RE: DPPI Channel Mask vs GPIO0 pin Mask</title><link>https://devzone.nordicsemi.com/thread/526726?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 11:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a2cc3c3-4b04-47c2-8f80-719317b22fba</guid><dc:creator>Aditya P</dc:creator><description>&lt;p&gt;Hi Jack,&lt;/p&gt;
[quote userid="137238" url="~/f/nordic-q-a/115813/dppi-channel-mask-vs-gpio0-pin-mask"]&amp;#39;TFM_PERIPHERAL_DPPI_CHANNEL_MASK_SECURE&amp;#39; undeclared (first use in this function); did you mean &amp;#39;TFM_PERIPHERAL_GPIO0_PIN_MASK_SECURE&amp;#39;?[/quote]
&lt;p&gt;I encountered the same error. I explored the &lt;code data-start="45" data-end="59"&gt;target_cfg.c&lt;/code&gt; and &lt;code data-start="64" data-end="78"&gt;target_cfg.h&lt;/code&gt; files (located at &lt;code data-start="97" data-end="191"&gt;C:\ncs\v2.6.0\modules\tee\tf-m\trusted-firmware-m\platform\ext\target\nordic_nrf\common\core&lt;/code&gt;), but the execution followed the &lt;code data-start="225" data-end="231"&gt;else&lt;/code&gt; path.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if NRF_SPU_HAS_MEMORY
    /* There is only one dppi_id */
    uint8_t dppi_id = 0;
    nrf_spu_dppi_config_set(NRF_SPU, dppi_id, TFM_PERIPHERAL_DPPI_CHANNEL_MASK_SECURE,
			    SPU_LOCK_CONF_LOCKED);
#else
	/* TODO_NRF54L15: Use the nrf_spu_feature API to configure DPPI
	   channels according to a user-controllable config similar to
	   TFM_PERIPHERAL_DPPI_CHANNEL_MASK_SECURE. */
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To resolve the issue, I deleted the build configuration and reconfigured it with secured firmware (not the &amp;#39;ns&amp;#39; one). &lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:111px;max-width:338px;" height="111" src="https://devzone.nordicsemi.com/resized-image/__size/676x222/__key/communityserver-discussions-components-files/4/pastedimage1741690721551v1.png" width="338" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The error was resolved.&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;br /&gt;Aditya P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DPPI Channel Mask vs GPIO0 pin Mask</title><link>https://devzone.nordicsemi.com/thread/507899?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 10:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a27b29f-cd93-449b-b336-4738ee08c533</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Jack,&lt;/p&gt;
&lt;p&gt;Thanks for checking with us. This kind of error is most likely due to misconfuration.&lt;/p&gt;
&lt;p&gt;I am not sure which smaple you are based on. Can you refer to the&amp;nbsp;GPIO_DT_SPEC_GET usage in zephyr\samples\basic\button? It should work direclty with nRF9161DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>