<?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>NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96962/nrf-connect-example-on-custom-board</link><description>My board has some leds and buttons managed by same pins of nrf52833dk (PCA10100 board). 
 I programmed my custom board with examples\peripheral\blinky_freertos\hex\blinky_FreeRTOS_pca10100.hex 
 from nRF5_SDK_for_Thread_and_Zigbee SDK, and led blinks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Feb 2023 11:18:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96962/nrf-connect-example-on-custom-board" /><item><title>RE: NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/thread/411931?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 11:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:091515ca-3f6d-4b82-bdfa-0f8d63ce701c</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Glad to hear that it helped &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/thread/411911?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 10:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5941ee34-29c4-431e-ad01-386dc71b508a</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC=n&lt;br /&gt;is the right setting.&lt;br /&gt;&lt;br /&gt;Now also examples from&amp;nbsp;from&amp;nbsp;nRF Connect 2.2.0 work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/thread/411822?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 06:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b0608f6-8147-4aa5-8a1b-bd81c0285a98</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Are you using DCDC components in your custom board? If not, then this might be the problem. For the nRF Connect SDK, the DCDC is ON by default , whereas in nRF5 SDK it is OFF by default. So in case you are not using it, you could try to set CONFIG_BOARD_ENABLE_DCDC=n in your prj.conf.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/thread/411678?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 13:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6515c406-5d4b-4061-9109-238952244f3e</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;As a first test I found that&amp;nbsp;&lt;span&gt;blinky_FreeRTOS_pca10100.hex works fine also for my board, so it seems hw is OK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve already modified DB dts for my board,&amp;nbsp;tast_nrf52833.dts is as follow&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2019 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/dts-v1/;
#include &amp;lt;nordic/nrf52833_qiaa.dtsi&amp;gt;
#include &amp;quot;tast_nrf52833-pinctrl.dtsi&amp;quot;

/ {
	model = &amp;quot;Nordic TAST NRF52833&amp;quot;;
	compatible = &amp;quot;nordic,tast-nrf52833&amp;quot;;

	chosen {
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,bt-mon-uart = &amp;amp;uart0;
		zephyr,bt-c2h-uart = &amp;amp;uart0;
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
//		zephyr,ieee802154 = &amp;amp;ieee802154;
	};

	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt;&amp;amp;gpio0 15 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt;&amp;amp;gpio0 16 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
	};

//	pwmleds {
//		compatible = &amp;quot;pwm-leds&amp;quot;;
//		pwm_led0: pwm_led_0 {
//			pwms = &amp;lt;&amp;amp;pwm0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED&amp;gt;;
//		};
//	};

	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
//		button0: button_0 {
//			gpios = &amp;lt;&amp;amp;gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
//			label = &amp;quot;Push button switch 0&amp;quot;;
//		};
//		button1: button_1 {
//			gpios = &amp;lt;&amp;amp;gpio0 12 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
//			label = &amp;quot;Push button switch 1&amp;quot;;
//		};
//		button2: button_2 {
//			gpios = &amp;lt;&amp;amp;gpio0 24 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
//			label = &amp;quot;Push button switch 2&amp;quot;;
//		};
		button3: button_3 {
			gpios = &amp;lt;&amp;amp;gpio0 25 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Push button switch 3&amp;quot;;
		};
	};

	/* These aliases are provided for compatibility with samples */
	aliases {
		led0 = &amp;amp;led0;
		led1 = &amp;amp;led1;
		led2 = &amp;amp;led2;
		led3 = &amp;amp;led3;
//		pwm-led0 = &amp;amp;pwm_led0;
//		sw0 = &amp;amp;button0;
//		sw1 = &amp;amp;button1;
//		sw2 = &amp;amp;button2;
		sw3 = &amp;amp;button3;
		bootloader-led0 = &amp;amp;led0;
//		mcuboot-button0 = &amp;amp;button0;
		mcuboot-led0 = &amp;amp;led0;
//		watchdog0 = &amp;amp;wdt0;
	};
};

&amp;amp;gpiote {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;gpio1 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;uart0 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

arduino_serial: &amp;amp;uart1 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};


&amp;amp;flash0 {

	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x00000000 0xC000&amp;gt;;
		};
		slot0_partition: partition@c000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x0000C000 0x32000&amp;gt;;
		};
		slot1_partition: partition@3e000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x0003E000 0x32000&amp;gt;;
		};
		scratch_partition: partition@70000 {
			label = &amp;quot;image-scratch&amp;quot;;
			reg = &amp;lt;0x00070000 0xA000&amp;gt;;
		};
		storage_partition: partition@7a000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x0007A000 0x00006000&amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and&amp;nbsp;tast_nrf52833-pinctrl.dtsi is&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2022 Nordic Semiconductor
 * SPDX-License-Identifier: Apache-2.0
 */

&amp;amp;pinctrl {
	uart0_default: uart0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 6)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 5)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 0, 8)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 7)&amp;gt;;
			bias-pull-up;
		};
	};

	uart0_sleep: uart0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 6)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 0, 8)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 5)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 7)&amp;gt;;
			low-power-enable;
		};
	};

	uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 1)&amp;gt;;
			bias-pull-up;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 2)&amp;gt;;
		};
	};

	uart1_sleep: uart1_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 1)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_TX, 1, 2)&amp;gt;;
			low-power-enable;
		};
	};

};
&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Led 0, 1, 2 and Button 3 are managed by the same pin of&amp;nbsp;nrf52833dk.&lt;br /&gt;&lt;br /&gt;So, what is wrong ?&lt;br /&gt;&lt;br /&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect example on custom board</title><link>https://devzone.nordicsemi.com/thread/411601?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 10:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89472df7-97e3-450c-adfb-6dac96282911</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Roberto,&lt;/p&gt;
&lt;p&gt;The command west build -b nrf52833dk_nrf52833 is specifically to build on the nRF52833DK. But since you are building on a different build_target (board), you should specify it&amp;#39;s name. Please refer the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/programming.html#gs-programming:~:text=build%20files.-,Building%20on%20the%20command%20line,%EF%83%81,-After%20completing%20the"&gt;building and running guide for the nRF Connect SDK.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>