<?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>nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104169/nrf52840-custom-board-pin-mapping-change-in-nrf-connect-sdk-v2-2-0</link><description>Hi 
 I am using nRF52840 DK and nRF Connect SDK V2.2.0. 
 I have developed a BLE application code by using this custom_ncs_ble_service_sample tutorial. Its working fine. 
 Now, I have to port the code to custom nrf52840 SoC board. 
 I have to remove all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2023 08:09:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104169/nrf52840-custom-board-pin-mapping-change-in-nrf-connect-sdk-v2-2-0" /><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/454351?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 08:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a331a405-4da5-4033-80b8-68b3a5aadbc5</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I am Sorry for the delayed response&lt;strong&gt;.&amp;nbsp;nrfx_spim_xfer()&amp;nbsp;&lt;/strong&gt;function is from nrfx&amp;nbsp; APIs for SPIM. My colleague has answered also briefly. I hope that helps.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/454346?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 07:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ac3c582-61e3-4b59-b242-55d7fa6e97db</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/454255?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 14:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f965170-77d5-43fc-afe3-f4aeb06f3286</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi AKV,&lt;/p&gt;
[quote userid="73768" url="~/f/nordic-q-a/104169/nrf52840-custom-board-pin-mapping-change-in-nrf-connect-sdk-v2-2-0/452868"]&lt;p&gt;1. We don&amp;#39;t need to write/read by suing SPI API&amp;nbsp;&lt;span&gt;nrfx_spim_xfer(&amp;amp;spim_inst, &amp;amp;spim_xfer_desc_tx_rx, 0)&lt;/span&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If we enable the&amp;nbsp;&lt;span&gt;CONFIG_MPSL_FEM_NRF21540_GPIO_SPI&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;&lt;/span&gt;Then the function bt_hci_cmd_send_sync() will Internally doing the SPI read/write right?&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;You are right that you don&amp;#39;t need to directly control the FEM via SPI.&amp;nbsp;It might actually be difficult even if you want to, because when you use CONFIG_MPSL_FEM_NRF21540_GPIO_SPI, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrfxlib/mpsl/README.html"&gt;the Multiprotocol Service Layer (MPSL)&lt;/a&gt; controls the SPI&amp;nbsp;communication with the FEM.&lt;/p&gt;
&lt;p&gt;Technically, the function bt_hci_cmd_send_sync() does not actually perform the any SPI read/write. The function itself just sends a command to our SoftDevice Controller, of which MPSL is a component.&lt;/p&gt;
&lt;p&gt;Since you referred to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98922/nrf21540-spi-gain-dynamic-control/422372"&gt;this case&lt;/a&gt;,&amp;nbsp;I&amp;nbsp;think you have read over it. However,&amp;nbsp;I just want to reiterate here that MPSL does not actually give you full range of gain. By default, it uses model, which will control the nRF SoC Radio and the FEM to achieve 0, 10, and 20 dB.&amp;nbsp;Links about the details are available in that post.&lt;/p&gt;
&lt;p&gt;I see that this case is originally about pin mapping. I suggest that we keep the discussion here focused on that. If you have further questions about FEM control, please open a new case.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/454185?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 12:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50512636-be24-4128-8f5d-e646e691460e</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp; Can you please respond?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/452868?ContentTypeID=1</link><pubDate>Sat, 28 Oct 2023 11:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:250dd823-d9ab-48b0-be2e-a13f31d8cacc</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was able to control the gain by using the below code. And also getting the value as per this discussion&amp;nbsp;&lt;a title="nRF21540 SPI Gain Dynamic Control" href="https://devzone.nordicsemi.com/f/nordic-q-a/98922/nrf21540-spi-gain-dynamic-control/422372"&gt;nRF21540 SPI Gain Dynamic Control&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void set_tx_power(uint8_t handle_type, uint16_t handle, int8_t tx_pwr_lvl)
{
	struct bt_hci_cp_vs_write_tx_power_level *cp;
	struct bt_hci_rp_vs_write_tx_power_level *rp;
	struct net_buf *buf, *rsp = NULL;
	int err;

	buf = bt_hci_cmd_create(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL, sizeof(*cp));
	if(!buf) {
		__ASSERT_NO_MSG(false);
		return;
	}

	cp = net_buf_add(buf, sizeof(*cp));
	cp-&amp;gt;handle = sys_cpu_to_le16(handle);
	cp-&amp;gt;handle_type = handle_type;
	cp-&amp;gt;tx_power_level = tx_pwr_lvl;

	err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL, buf, &amp;amp;rsp);
	if(err) {
		uint8_t reason =
			rsp ? ((struct bt_hci_rp_vs_write_tx_power_level *)rsp-&amp;gt;data)-&amp;gt;status : 0;
		__ASSERT(false, &amp;quot;Set Tx power err: %d reason 0x%02x\n&amp;quot;, err, reason);
		return;
	}

	k_sleep(K_MSEC(100));
	int8_t gain = 0;
	mpsl_fem_pa_is_configured(&amp;amp;gain);

	rp = (void *)rsp-&amp;gt;data;
	LOG_INF(&amp;quot;New Tx Power: %d (Gain: %d)&amp;quot;, rp-&amp;gt;selected_tx_power, gain);

	net_buf_unref(rsp);
}
void get_tx_power(uint8_t handle_type, uint16_t handle, int8_t *tx_pwr_lvl)
{
	struct bt_hci_cp_vs_read_tx_power_level *cp;
	struct bt_hci_rp_vs_read_tx_power_level *rp;
	struct net_buf *buf, *rsp = NULL;
	int err;

	*tx_pwr_lvl = 0xFF;
	buf = bt_hci_cmd_create(BT_HCI_OP_VS_READ_TX_POWER_LEVEL,
				sizeof(*cp));
	if (!buf) {
		printk(&amp;quot;Unable to allocate command buffer\n&amp;quot;);
		return;
	}

	cp = net_buf_add(buf, sizeof(*cp));
	cp-&amp;gt;handle = sys_cpu_to_le16(handle);
	cp-&amp;gt;handle_type = handle_type;

	err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_READ_TX_POWER_LEVEL,
				   buf, &amp;amp;rsp);
	if (err) {
		uint8_t reason = rsp ?
			((struct bt_hci_rp_vs_read_tx_power_level *)
			  rsp-&amp;gt;data)-&amp;gt;status : 0;
		printk(&amp;quot;Read Tx power err: %d reason 0x%02x\n&amp;quot;, err, reason);
		return;
	}

	rp = (void *)rsp-&amp;gt;data;
	*tx_pwr_lvl = rp-&amp;gt;tx_power_level;

	net_buf_unref(rsp);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;1. We don&amp;#39;t need to write/read by suing SPI API&amp;nbsp;&lt;span&gt;nrfx_spim_xfer(&amp;amp;spim_inst, &amp;amp;spim_xfer_desc_tx_rx, 0)&lt;/span&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If we enable the&amp;nbsp;&lt;span&gt;CONFIG_MPSL_FEM_NRF21540_GPIO_SPI&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;&lt;/span&gt;Then the function bt_hci_cmd_send_sync() will Internally doing the SPI read/write right?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/452833?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 15:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b493e73a-aefb-4b72-91b4-495b1bc1595e</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s good to hear that you have increased power.&lt;/p&gt;
&lt;p&gt;Maybe you can read this&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/app_dev/working_with_fem/index.html#id18"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/app_dev/working_with_fem/index.html#id18&lt;/a&gt;&amp;nbsp;to know about nRF21540 GPIO+SPI built-in power model?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/451476?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 10:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea85f1a-a759-4e11-a3df-4ada49921bba</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_radio_fem: nrf21540_fem {
		compatible = &amp;quot;nordic,nrf21540-fem&amp;quot;;
		tx-en-gpios = &amp;lt;&amp;amp;gpio1 10 GPIO_ACTIVE_HIGH&amp;gt;;
		rx-en-gpios = &amp;lt;&amp;amp;gpio1 13 GPIO_ACTIVE_HIGH&amp;gt;;
		pdn-gpios   = &amp;lt;&amp;amp;gpio1 02 GPIO_ACTIVE_HIGH&amp;gt;;
		mode-gpios  = &amp;lt;&amp;amp;gpio0 29 GPIO_ACTIVE_HIGH&amp;gt;;
		ant-sel-gpios = &amp;lt; &amp;amp;gpio0 02 GPIO_ACTIVE_HIGH &amp;gt;;
		spi-if = &amp;lt;&amp;amp;nrf_radio_fem_spi&amp;gt;;		
	};	
	
	fem_spi: &amp;amp;spi1 {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;spi1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	cs-gpios = &amp;lt;&amp;amp;gpio0 21 GPIO_ACTIVE_LOW&amp;gt;;
 
	nrf_radio_fem_spi: nrf21540_fem_spi@0 {
	   compatible = &amp;quot;nordic,nrf21540-fem-spi&amp;quot;;
	   status = &amp;quot;okay&amp;quot;;
	   reg = &amp;lt;0&amp;gt;;
	   spi-max-frequency = &amp;lt;8000000&amp;gt;;
	};
 };&lt;/pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;I have added the above code portion into my overlay file and updated the custom pins.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB&lt;/span&gt;&lt;span&gt;=20&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_TX_PWR_ANTENNA&lt;/span&gt;&lt;span&gt;=20&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MPSL_FEM_NRF21540_RX_GAIN_DB&lt;/span&gt;&lt;span&gt;=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;And added config macros in to the defconfig file.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After that the&amp;nbsp;power is increased. Looks like the 21540 chip is enabled after added the gpio config.&lt;/p&gt;
&lt;p&gt;Now I need to control and change the power by using SPI. But by using the above code portion the SPI read and write is not working. I am using SPI1.&lt;/p&gt;
&lt;p&gt;How to fix this issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/451454?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 09:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329152f8-00ed-4f81-b740-f63d7f1ff630</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;GPIO mode implementation of FEM is compatible with the device. So, you can implement 3-pin PA/LAN interface.&amp;nbsp;&lt;span&gt;&amp;nbsp;The functionalities designated as&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;PA&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;LNA&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;apply to the pin&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;tx-en-gpios&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;rx-en-gpios.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;span&gt;You have to add the following node in the device tree&amp;nbsp;&lt;/span&gt;file.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697792452662v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;These pin numbers for tx-en and rx-en can be any available pin.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here is the link&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_fem.html#spi-gpio-mode"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_fem.html#spi-gpio-mode&lt;/a&gt;&amp;nbsp;you can look at to implement this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/450732?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 06:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f1c8b6-5eb6-4f67-bb4b-4a339ee21e2e</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I was able to configure the SPI and SPIS.&lt;/p&gt;
&lt;p&gt;I am using nRF21540 interface with nRF52840.&lt;/p&gt;
&lt;p&gt;How to add PA LNA GPIO and SPI configurations into my custom code.&amp;nbsp; Is there any example code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/448664?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 13:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c03bcaa4-2e46-495c-bff0-482570c40f32</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you set the pin correctly according to your custom board design? Do you have overlay file for your custom board that should be looked like below overlay file?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
status = &amp;quot;okay&amp;quot;;
compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
pinctrl-0 = &amp;lt;&amp;amp;spi1_default&amp;gt;;
...rest of configuration
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/448414?ContentTypeID=1</link><pubDate>Sat, 30 Sep 2023 08:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f723ed-bce2-4703-bde0-c6e97ef33db3</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;I was able to create the custom board and able to enable the LED, Button and UART and tested.&lt;/p&gt;
&lt;p&gt;But getting errors when I am trying to enable the SPIM1 and SPIS2. (SPIM1 and SPIS2 was working in the nRF52840 DK but not able to enable in the custom board config code).&lt;/p&gt;
&lt;p&gt;Here I am attaching the config files,&lt;/p&gt;
&lt;p&gt;prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Configure SPIS
CONFIG_SPI=y
CONFIG_NRFX_SPIM1=y
CONFIG_NRFX_SPIS2=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Custom_nRF52840.dts&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
	compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	sck-pin = &amp;lt; 28 &amp;gt;;
	miso-pin = &amp;lt; 4 &amp;gt;;
	mosi-pin = &amp;lt; 3 &amp;gt;;
};

&amp;amp;spi2 {
	compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	status = &amp;quot;disabled&amp;quot;;
	sck-pin = &amp;lt; 13 &amp;gt;;
	miso-pin = &amp;lt; 20 &amp;gt;;
	mosi-pin = &amp;lt; 15 &amp;gt;;
};

&amp;amp;uart0 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;6&amp;gt;;
	rx-pin = &amp;lt;8&amp;gt;;
	rts-pin = &amp;lt;5&amp;gt;;
	cts-pin = &amp;lt;7&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The errors I am getting are,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfx_spim.h:84:35: error: &amp;#39;NRFX_SPIM1_INST_IDX&amp;#39; undeclared here (not in a function); did you mean &amp;#39;NRF_SPIM_INST_GET&amp;#39;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrfx_spis.h:81:35: error: &amp;#39;NRFX_SPIS2_INST_IDX&amp;#39; undeclared here (not in a function); did you mean &amp;#39;NRF_SPIS_INST_GET&amp;#39;?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to fix these errors?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Custom board Pin mapping change in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/447739?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 13:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e6fe58-8d2b-4663-88db-487faa057225</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can look at this previous case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100821/build-own-custom-board-on-nrf-connect-sdk-devicetree"&gt;(+) Build own custom board on nrf Connect SDK(Devicetree) - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;. It may help you.&lt;/p&gt;
&lt;p&gt;For the device tree of custom board, you have to follow your schematic design to set the pin numbers of the peripheral. You can read about device tree here&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-2-reading-buttons-and-controlling-leds/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-2-reading-buttons-and-controlling-leds/&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>