<?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>Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89356/using-both-twim-instances-not-work-on-certain-pins</link><description>Hi, 
 
 I noticed weird behaviour while using TWIM0 and TWIM1. 
 My setup is : 
 
 nrf52dk 
 NRF Connect SDK v1.8.0 
 SPI2 works with SDMMC driver to handle the sd card 
 TWIM1 handle the OLED SSD1306 
 TWIM0 handle the VL6180x 
 
 I am working directly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Mar 2023 21:34:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89356/using-both-twim-instances-not-work-on-certain-pins" /><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/413371?ContentTypeID=1</link><pubDate>Sat, 04 Mar 2023 21:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f50204-6683-48a2-a962-3a13b0ee809c</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Unfortunately my nRF52 DK is dead without my interference, so we can assume that everyting was caused by the HW problems&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/410186?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 21:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee54fbae-8b93-4e98-b92f-8b4dc550caef</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Thank you for the update.&lt;/p&gt;
[quote user="hahe"]Have you tried disconnecting everything from the nRF52 DK and then set up &lt;em&gt;blinky &lt;/em&gt;to blink an LED on P0.28?[/quote]
&lt;p&gt;Have you tried running any simple application that toggles the pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/409458?ContentTypeID=1</link><pubDate>Sun, 12 Feb 2023 20:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa3cd8f4-56bb-4fc3-9541-2b3230f607c0</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Line P0.28 is connected directly to MCU only, so the only soc which might cause short is MCU itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/406185?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2023 09:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd35d0a6-4855-4aab-b53f-fa09c34cb463</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi pwpot, thank you for coming back with an update!&lt;/p&gt;
&lt;p&gt;Have you tried disconnecting everything from the nRF52 DK and then set up &lt;em&gt;blinky &lt;/em&gt;to blink an LED on P0.28? If that does not work, it is probably something wrong with the DK. Have you inspected the DK to see if there could be anything outside the SoC causing the short?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/405923?ContentTypeID=1</link><pubDate>Sun, 22 Jan 2023 11:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6213fd8e-3a4e-4140-863e-d89c1a0b25b0</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hello everyone, sorry for late reply. After a few months I decided to look on that problem from HW perpsective. It looks like my nRF52DK rev.2.1.0 is broken. I made a measurements looking for short circuits and I noticed that the P0.28 is shorted to VDD and has also a very low resistance relative to GND (66 Ohms) so the whole VDD is shorted to GND through P0.28. Similar problem is with pin P0.31 where resistance between P0.31 and VDD is about 340 Ohms, and between P0.31 and GND 247 Ohms. Based on that we can say that all the problems with TWIM instances were because off that HW issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/379319?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 12:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ad05f0-d159-40f2-bec8-b89ffa3870ce</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;I had a look at your zephyr.dts file and found that both SPI1 and&amp;nbsp; I2C0 are sharing the same pins, 0x1f and 0x1e. Try assigning SPI0 and SPI1 to some specific pins that you have available and see if it helps.&lt;/p&gt;
&lt;p&gt;You could also experiment by disabling SPI1 to see if it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/378724?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 13:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd9b168-acfe-4117-b6ef-dffc5b597c12</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Sorry for the late reply, I have been out of office. Thank you for the latest summary, I will go through this and get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/375201?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2022 20:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7783b3e4-b467-462b-9098-bb509c121d2f</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to summarize some things, beacuse we are loosing the point &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;p&gt;I made some changes. Right now I am working on nrf52dk with nrf52832. Due to your recommendations I have restored all of my board settings to default. I copied the nrf52dk_nrf52832 board definition from zephyr/boards directory to my application boards directory. I created the &lt;strong&gt;nrf52dk_nrf52832.overlay&lt;/strong&gt; file which looks as follows :&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi2 {
	cs-gpios = &amp;lt;&amp;amp;gpio0 22 GPIO_ACTIVE_LOW&amp;gt;; /* D10 */
	sck-pin = &amp;lt;25&amp;gt;;
	mosi-pin = &amp;lt;23&amp;gt;;
	miso-pin = &amp;lt;24&amp;gt;;
	sdhc0: sdhc@0 {
            compatible = &amp;quot;zephyr,mmc-spi-slot&amp;quot;;
			reg = &amp;lt;0&amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;SDHC0&amp;quot;;
			spi-max-frequency = &amp;lt;24000000&amp;gt;;
	};
};

&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
};


&amp;amp;spi1{
	status = &amp;quot;disabled&amp;quot;;
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
};

&amp;amp;spi0{
	status = &amp;quot;disabled&amp;quot;;
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
};

&amp;amp;i2c0{
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;disabled&amp;quot;;
	sda-pin = &amp;lt;31&amp;gt;;
	scl-pin = &amp;lt;30&amp;gt;;
};

&amp;amp;i2c1{
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;disabled&amp;quot;;
	sda-pin = &amp;lt;26&amp;gt;;
	scl-pin = &amp;lt;27&amp;gt;;
};

&amp;amp;adc {
	status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;gpiote {
	status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Due to the shared resources of some Instantiation (ref:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.8.pdf"&gt;nrf52832_PS.1.v8&lt;/a&gt;) I disabled the SPI0, SPI1. I also disabled the I2C instances to let know the Zephyr driver to do not use that space beacuse it is going to be used by twim nrfx drivers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;prj.conf&lt;/strong&gt; :&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# GPIO
CONFIG_NRFX_GPIOTE=y
# ADC
CONFIG_NRFX_SAADC=y
# SPI-SD-MMC 
CONFIG_DISK_ACCESS=y
CONFIG_DISK_DRIVERS=y
CONFIG_DISK_DRIVER_SDMMC=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
# Increase stack size to handle the FAT FS
CONFIG_MAIN_STACK_SIZE=2048
# TWI
CONFIG_NRFX_TWIM=y
CONFIG_NRFX_TWIM0=y
CONFIG_NRFX_TWIM1=y
# LOGGING
CONFIG_PRINTK=y
# ENABLE ZEPHYR SYSTEM LOGGER
CONFIG_LOG=y
CONFIG_LOG_BACKEND_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;zephyr.dts :&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;/dts-v1/;

/ {
	#address-cells = &amp;lt; 0x1 &amp;gt;;
	#size-cells = &amp;lt; 0x1 &amp;gt;;
	model = &amp;quot;Nordic nRF52 DK NRF52832&amp;quot;;
	compatible = &amp;quot;nordic,nrf52-dk-nrf52832&amp;quot;;
	chosen {
		zephyr,entropy = &amp;amp;rng;
		zephyr,flash-controller = &amp;amp;flash_controller;
		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;
	};
	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;
	};
	soc {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		compatible = &amp;quot;nordic,nRF52832-QFAA&amp;quot;, &amp;quot;nordic,nRF52832&amp;quot;, &amp;quot;nordic,nRF52&amp;quot;, &amp;quot;simple-bus&amp;quot;;
		interrupt-parent = &amp;lt; &amp;amp;nvic &amp;gt;;
		ranges;
		nvic: interrupt-controller@e000e100 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			compatible = &amp;quot;arm,v7m-nvic&amp;quot;;
			reg = &amp;lt; 0xe000e100 0xc00 &amp;gt;;
			interrupt-controller;
			#interrupt-cells = &amp;lt; 0x2 &amp;gt;;
			arm,num-irq-priority-bits = &amp;lt; 0x3 &amp;gt;;
			phandle = &amp;lt; 0x1 &amp;gt;;
		};
		systick: timer@e000e010 {
			compatible = &amp;quot;arm,armv7m-systick&amp;quot;;
			reg = &amp;lt; 0xe000e010 0x10 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};
		ficr: ficr@10000000 {
			compatible = &amp;quot;nordic,nrf-ficr&amp;quot;;
			reg = &amp;lt; 0x10000000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		uicr: uicr@10001000 {
			compatible = &amp;quot;nordic,nrf-uicr&amp;quot;;
			reg = &amp;lt; 0x10001000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		sram0: memory@20000000 {
			compatible = &amp;quot;mmio-sram&amp;quot;;
			reg = &amp;lt; 0x20000000 0x10000 &amp;gt;;
		};
		clock: clock@40000000 {
			compatible = &amp;quot;nordic,nrf-clock&amp;quot;;
			reg = &amp;lt; 0x40000000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x0 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;CLOCK&amp;quot;;
		};
		radio: radio@40001000 {
			compatible = &amp;quot;nordic,nrf-radio&amp;quot;;
			reg = &amp;lt; 0x40001000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		uart0: arduino_serial: uart@40002000 {
			reg = &amp;lt; 0x40002000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x2 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;UART_0&amp;quot;;
			compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
			current-speed = &amp;lt; 0x1c200 &amp;gt;;
			tx-pin = &amp;lt; 0x6 &amp;gt;;
			rx-pin = &amp;lt; 0x8 &amp;gt;;
			rts-pin = &amp;lt; 0x5 &amp;gt;;
			cts-pin = &amp;lt; 0x7 &amp;gt;;
		};
		i2c0: arduino_i2c: i2c@40003000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40003000 0x1000 &amp;gt;;
			clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
			interrupts = &amp;lt; 0x3 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2C_0&amp;quot;;
			compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
			sda-pin = &amp;lt; 0x1f &amp;gt;;
			scl-pin = &amp;lt; 0x1e &amp;gt;;
		};
		spi0: spi@40003000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40003000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x3 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;SPI_0&amp;quot;;
			compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
			sck-pin = &amp;lt; 0x1b &amp;gt;;
			mosi-pin = &amp;lt; 0x1a &amp;gt;;
			miso-pin = &amp;lt; 0x1c &amp;gt;;
		};
		i2c1: i2c@40004000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40004000 0x1000 &amp;gt;;
			clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
			interrupts = &amp;lt; 0x4 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2C_1&amp;quot;;
			compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
			sda-pin = &amp;lt; 0x1a &amp;gt;;
			scl-pin = &amp;lt; 0x1b &amp;gt;;
		};
		spi1: spi@40004000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40004000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x4 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;SPI_1&amp;quot;;
			compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
			sck-pin = &amp;lt; 0x1f &amp;gt;;
			mosi-pin = &amp;lt; 0x1e &amp;gt;;
			miso-pin = &amp;lt; 0x1d &amp;gt;;
		};
		gpiote: gpiote@40006000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x40006000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x6 0x5 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;GPIOTE_0&amp;quot;;
		};
		adc: adc@40007000 {
			compatible = &amp;quot;nordic,nrf-saadc&amp;quot;;
			reg = &amp;lt; 0x40007000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x7 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;ADC_0&amp;quot;;
			#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
			phandle = &amp;lt; 0x5 &amp;gt;;
		};
		timer0: timer@40008000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x40008000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_0&amp;quot;;
		};
		timer1: timer@40009000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x40009000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_1&amp;quot;;
		};
		timer2: timer@4000a000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4000a000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_2&amp;quot;;
			phandle = &amp;lt; 0x3 &amp;gt;;
		};
		rtc0: rtc@4000b000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x4000b000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x3 &amp;gt;;
			interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_0&amp;quot;;
		};
		temp: temp@4000c000 {
			compatible = &amp;quot;nordic,nrf-temp&amp;quot;;
			reg = &amp;lt; 0x4000c000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xc 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;TEMP_0&amp;quot;;
		};
		rng: random@4000d000 {
			compatible = &amp;quot;nordic,nrf-rng&amp;quot;;
			reg = &amp;lt; 0x4000d000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xd 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;RNG&amp;quot;;
		};
		ecb: ecb@4000e000 {
			compatible = &amp;quot;nordic,nrf-ecb&amp;quot;;
			reg = &amp;lt; 0x4000e000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xe 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;ECB&amp;quot;;
		};
		wdt: wdt0: watchdog@40010000 {
			compatible = &amp;quot;nordic,nrf-watchdog&amp;quot;;
			reg = &amp;lt; 0x40010000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x10 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;WDT&amp;quot;;
		};
		rtc1: rtc@40011000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x40011000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x11 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_1&amp;quot;;
		};
		qdec: qdec@40012000 {
			compatible = &amp;quot;nordic,nrf-qdec&amp;quot;;
			reg = &amp;lt; 0x40012000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x12 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;QDEC&amp;quot;;
		};
		egu0: egu@40014000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40014000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x14 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu1: egu@40015000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40015000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x15 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu2: egu@40016000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40016000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x16 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu3: egu@40017000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40017000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x17 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu4: egu@40018000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40018000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x18 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu5: egu@40019000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40019000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x19 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		timer3: timer@4001a000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4001a000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x6 &amp;gt;;
			interrupts = &amp;lt; 0x1a 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_3&amp;quot;;
		};
		timer4: timer@4001b000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4001b000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x6 &amp;gt;;
			interrupts = &amp;lt; 0x1b 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_4&amp;quot;;
		};
		pwm0: pwm@4001c000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x4001c000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1c 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;PWM_0&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			ch0-pin = &amp;lt; 0x11 &amp;gt;;
			ch0-inverted;
			phandle = &amp;lt; 0x4 &amp;gt;;
		};
		pdm0: pdm@4001d000 {
			compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;
			reg = &amp;lt; 0x4001d000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1d 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PDM_0&amp;quot;;
		};
		flash_controller: flash-controller@4001e000 {
			compatible = &amp;quot;nordic,nrf52-flash-controller&amp;quot;;
			reg = &amp;lt; 0x4001e000 0x1000 &amp;gt;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;NRF_FLASH_DRV_NAME&amp;quot;;
			flash0: flash@0 {
				compatible = &amp;quot;soc-nv-flash&amp;quot;;
				label = &amp;quot;NRF_FLASH&amp;quot;;
				erase-block-size = &amp;lt; 0x1000 &amp;gt;;
				write-block-size = &amp;lt; 0x4 &amp;gt;;
				reg = &amp;lt; 0x0 0x80000 &amp;gt;;
				partitions {
					compatible = &amp;quot;fixed-partitions&amp;quot;;
					#address-cells = &amp;lt; 0x1 &amp;gt;;
					#size-cells = &amp;lt; 0x1 &amp;gt;;
					boot_partition: partition@0 {
						label = &amp;quot;mcuboot&amp;quot;;
						reg = &amp;lt; 0x0 0xc000 &amp;gt;;
					};
					slot0_partition: partition@c000 {
						label = &amp;quot;image-0&amp;quot;;
						reg = &amp;lt; 0xc000 0x32000 &amp;gt;;
					};
					slot1_partition: partition@3e000 {
						label = &amp;quot;image-1&amp;quot;;
						reg = &amp;lt; 0x3e000 0x32000 &amp;gt;;
					};
					scratch_partition: partition@70000 {
						label = &amp;quot;image-scratch&amp;quot;;
						reg = &amp;lt; 0x70000 0xa000 &amp;gt;;
					};
					storage_partition: partition@7a000 {
						label = &amp;quot;storage&amp;quot;;
						reg = &amp;lt; 0x7a000 0x6000 &amp;gt;;
					};
				};
			};
		};
		pwm1: pwm@40021000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x40021000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x21 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PWM_1&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
		};
		pwm2: pwm@40022000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x40022000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x22 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PWM_2&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
		};
		spi2: arduino_spi: spi@40023000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40023000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x23 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;SPI_2&amp;quot;;
			compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
			sck-pin = &amp;lt; 0x19 &amp;gt;;
			mosi-pin = &amp;lt; 0x17 &amp;gt;;
			miso-pin = &amp;lt; 0x18 &amp;gt;;
			cs-gpios = &amp;lt; &amp;amp;gpio0 0x16 0x1 &amp;gt;;
			sdhc0: sdhc@0 {
				compatible = &amp;quot;zephyr,mmc-spi-slot&amp;quot;;
				reg = &amp;lt; 0x0 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;SDHC0&amp;quot;;
				spi-max-frequency = &amp;lt; 0x16e3600 &amp;gt;;
			};
		};
		rtc2: rtc@40024000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x40024000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x24 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_2&amp;quot;;
		};
		i2s0: i2s@40025000 {
			compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40025000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x25 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2S_0&amp;quot;;
		};
		gpio0: gpio@50000000 {
			compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
			gpio-controller;
			reg = &amp;lt; 0x50000000 0x1000 &amp;gt;;
			#gpio-cells = &amp;lt; 0x2 &amp;gt;;
			label = &amp;quot;GPIO_0&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			port = &amp;lt; 0x0 &amp;gt;;
			phandle = &amp;lt; 0x2 &amp;gt;;
		};
	};
	cpus {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x0 &amp;gt;;
		cpu@0 {
			device_type = &amp;quot;cpu&amp;quot;;
			compatible = &amp;quot;arm,cortex-m4f&amp;quot;;
			reg = &amp;lt; 0x0 &amp;gt;;
			swo-ref-frequency = &amp;lt; 0x1e84800 &amp;gt;;
		};
	};
	sw_pwm: sw-pwm {
		compatible = &amp;quot;nordic,nrf-sw-pwm&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		label = &amp;quot;SW_PWM&amp;quot;;
		generator = &amp;lt; &amp;amp;timer2 &amp;gt;;
		channel-count = &amp;lt; 0x3 &amp;gt;;
		clock-prescaler = &amp;lt; 0x0 &amp;gt;;
		ppi-base = &amp;lt; 0x0 &amp;gt;;
		gpiote-base = &amp;lt; 0x0 &amp;gt;;
		#pwm-cells = &amp;lt; 0x1 &amp;gt;;
	};
	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x11 0x1 &amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x12 0x1 &amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x13 0x1 &amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x14 0x1 &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 0x11 &amp;gt;;
		};
	};
	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0xd 0x11 &amp;gt;;
			label = &amp;quot;Push button switch 0&amp;quot;;
		};
		button1: button_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0xe 0x11 &amp;gt;;
			label = &amp;quot;Push button switch 1&amp;quot;;
		};
		button2: button_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0xf 0x11 &amp;gt;;
			label = &amp;quot;Push button switch 2&amp;quot;;
		};
		button3: button_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x10 0x11 &amp;gt;;
			label = &amp;quot;Push button switch 3&amp;quot;;
		};
	};
	arduino_header: connector {
		compatible = &amp;quot;arduino-header-r3&amp;quot;;
		#gpio-cells = &amp;lt; 0x2 &amp;gt;;
		gpio-map-mask = &amp;lt; 0xffffffff 0xffffffc0 &amp;gt;;
		gpio-map-pass-thru = &amp;lt; 0x0 0x3f &amp;gt;;
		gpio-map = &amp;lt; 0x0 0x0 &amp;amp;gpio0 0x3 0x0 &amp;gt;, &amp;lt; 0x1 0x0 &amp;amp;gpio0 0x4 0x0 &amp;gt;, &amp;lt; 0x2 0x0 &amp;amp;gpio0 0x1c 0x0 &amp;gt;, &amp;lt; 0x3 0x0 &amp;amp;gpio0 0x1d 0x0 &amp;gt;, &amp;lt; 0x4 0x0 &amp;amp;gpio0 0x1e 0x0 &amp;gt;, &amp;lt; 0x5 0x0 &amp;amp;gpio0 0x1f 0x0 &amp;gt;, &amp;lt; 0x6 0x0 &amp;amp;gpio0 0xb 0x0 &amp;gt;, &amp;lt; 0x7 0x0 &amp;amp;gpio0 0xc 0x0 &amp;gt;, &amp;lt; 0x8 0x0 &amp;amp;gpio0 0xd 0x0 &amp;gt;, &amp;lt; 0x9 0x0 &amp;amp;gpio0 0xe 0x0 &amp;gt;, &amp;lt; 0xa 0x0 &amp;amp;gpio0 0xf 0x0 &amp;gt;, &amp;lt; 0xb 0x0 &amp;amp;gpio0 0x10 0x0 &amp;gt;, &amp;lt; 0xc 0x0 &amp;amp;gpio0 0x11 0x0 &amp;gt;, &amp;lt; 0xd 0x0 &amp;amp;gpio0 0x12 0x0 &amp;gt;, &amp;lt; 0xe 0x0 &amp;amp;gpio0 0x13 0x0 &amp;gt;, &amp;lt; 0xf 0x0 &amp;amp;gpio0 0x14 0x0 &amp;gt;, &amp;lt; 0x10 0x0 &amp;amp;gpio0 0x16 0x0 &amp;gt;, &amp;lt; 0x11 0x0 &amp;amp;gpio0 0x17 0x0 &amp;gt;, &amp;lt; 0x12 0x0 &amp;amp;gpio0 0x18 0x0 &amp;gt;, &amp;lt; 0x13 0x0 &amp;amp;gpio0 0x19 0x0 &amp;gt;, &amp;lt; 0x14 0x0 &amp;amp;gpio0 0x1a 0x0 &amp;gt;, &amp;lt; 0x15 0x0 &amp;amp;gpio0 0x1b 0x0 &amp;gt;;
	};
	arduino_adc: analog-connector {
		compatible = &amp;quot;arduino,uno-adc&amp;quot;;
		#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
		io-channel-map = &amp;lt; 0x0 &amp;amp;adc 0x1 &amp;gt;, &amp;lt; 0x1 &amp;amp;adc 0x2 &amp;gt;, &amp;lt; 0x2 &amp;amp;adc 0x4 &amp;gt;, &amp;lt; 0x3 &amp;amp;adc 0x5 &amp;gt;, &amp;lt; 0x4 &amp;amp;adc 0x6 &amp;gt;, &amp;lt; 0x5 &amp;amp;adc 0x7 &amp;gt;;
	};
};
&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Behaviour of my board is still the same :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. &lt;strong&gt;TWIM0&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;SCL(P0.30) ~ 2.9V &lt;/strong&gt;(correctly pulled high by internal resistor)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SDA(P0.31) ~ 0.05V &lt;/strong&gt;(floating ?, a lot of noise seen on osciloscope)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;2. &lt;strong&gt;TWIM0&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;SCL(P0.31) ~ 0.03V&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;(a lot of noise seen on osciloscope)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SDA(P0.30) ~ 0.05V&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;(a lot of noise seen on osciloscope)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;3.&lt;strong&gt;TWIM0&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In that configuration everything it&amp;#39;s up and running.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;SCL(P0.03) ~ 2.9V&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;(correctly pulled high by internal resistor)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SDA(P0.04) ~ 2.9V&lt;/strong&gt;&amp;nbsp;(correctly pulled high by internal resistor)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally that is my&lt;strong&gt; init function&lt;/strong&gt; of twim instance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;quot;nrfx_twim.h&amp;quot;
#include &amp;quot;sdk_hal_config.h&amp;quot;

#define TWIM_INSTANCE 0
#define I2C0_DEV_NODE DT_NODELABEL(i2c0)
static const nrfx_twim_t twim_inst = NRFX_TWIM_INSTANCE(TWIM_INSTANCE);

void hal_twi_sensor_init(void) {
  nrfx_err_t err;
  nrfx_twim_config_t twim_config = {
      .scl = HAL_I2C0_SCL,
      .sda = HAL_I2C0_SDA,
      .frequency = NRF_TWIM_FREQ_400K,
      .interrupt_priority = NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY,
      .hold_bus_uninit = false,
  };

  err = nrfx_twim_init(&amp;amp;twim_inst, &amp;amp;twim_config, NULL, NULL);
  if (err != NRFX_SUCCESS) {
    while (1)
      ;
  }

  nrfx_twim_enable(&amp;amp;twim_inst);
  IRQ_CONNECT(DT_IRQN(I2C0_DEV_NODE), DT_IRQ(I2C0_DEV_NODE, priority), nrfx_isr,
              nrfx_twim_0_irq_handler, 0);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance, fingers crossed for helping me solving that&amp;nbsp; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/375136?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 14:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8172a64e-19d4-4e7a-8fbf-0fe82f7d4e7c</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi pwpot.&lt;/p&gt;
&lt;p&gt;Pleas have a look at the guide for setting up a custom board: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/app_boards.html#custom-boards"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/app_boards.html#custom-boards&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374635?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 23:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3467560f-9686-4a1e-8a96-81593631ee98</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What about having the custom pcb board with nrf52832 ? In that situation should I also use the dts file nrf52dk_nrf52832.dts ? and then make changes in overlay file ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That is my zephyr.dts file :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;/dts-v1/;

/ {
	#address-cells = &amp;lt; 0x1 &amp;gt;;
	#size-cells = &amp;lt; 0x1 &amp;gt;;
	model = &amp;quot;Nordic nRF52 DK NRF52832&amp;quot;;
	compatible = &amp;quot;nordic,nrf52-dk-nrf52832&amp;quot;;
	chosen {
		zephyr,entropy = &amp;amp;rng;
		zephyr,flash-controller = &amp;amp;flash_controller;
		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;
	};
	aliases {
	};
	soc {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		compatible = &amp;quot;nordic,nRF52832-QFAA&amp;quot;, &amp;quot;nordic,nRF52832&amp;quot;, &amp;quot;nordic,nRF52&amp;quot;, &amp;quot;simple-bus&amp;quot;;
		interrupt-parent = &amp;lt; &amp;amp;nvic &amp;gt;;
		ranges;
		nvic: interrupt-controller@e000e100 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			compatible = &amp;quot;arm,v7m-nvic&amp;quot;;
			reg = &amp;lt; 0xe000e100 0xc00 &amp;gt;;
			interrupt-controller;
			#interrupt-cells = &amp;lt; 0x2 &amp;gt;;
			arm,num-irq-priority-bits = &amp;lt; 0x3 &amp;gt;;
			phandle = &amp;lt; 0x1 &amp;gt;;
		};
		systick: timer@e000e010 {
			compatible = &amp;quot;arm,armv7m-systick&amp;quot;;
			reg = &amp;lt; 0xe000e010 0x10 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};
		ficr: ficr@10000000 {
			compatible = &amp;quot;nordic,nrf-ficr&amp;quot;;
			reg = &amp;lt; 0x10000000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		uicr: uicr@10001000 {
			compatible = &amp;quot;nordic,nrf-uicr&amp;quot;;
			reg = &amp;lt; 0x10001000 0x1000 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		sram0: memory@20000000 {
			compatible = &amp;quot;mmio-sram&amp;quot;;
			reg = &amp;lt; 0x20000000 0x10000 &amp;gt;;
		};
		clock: clock@40000000 {
			compatible = &amp;quot;nordic,nrf-clock&amp;quot;;
			reg = &amp;lt; 0x40000000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x0 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;CLOCK&amp;quot;;
		};
		radio: radio@40001000 {
			compatible = &amp;quot;nordic,nrf-radio&amp;quot;;
			reg = &amp;lt; 0x40001000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		uart0: uart@40002000 {
			reg = &amp;lt; 0x40002000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x2 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;UART_0&amp;quot;;
			compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
			current-speed = &amp;lt; 0x1c200 &amp;gt;;
			tx-pin = &amp;lt; 0x6 &amp;gt;;
			rx-pin = &amp;lt; 0x8 &amp;gt;;
			rts-pin = &amp;lt; 0x5 &amp;gt;;
			cts-pin = &amp;lt; 0x7 &amp;gt;;
		};
		i2c0: i2c@40003000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40003000 0x1000 &amp;gt;;
			clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
			interrupts = &amp;lt; 0x3 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2C_0&amp;quot;;
		};
		spi0: spi@40003000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40003000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x3 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;SPI_0&amp;quot;;
		};
		i2c1: i2c@40004000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40004000 0x1000 &amp;gt;;
			clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
			interrupts = &amp;lt; 0x4 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2C_1&amp;quot;;
		};
		spi1: spi@40004000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40004000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x4 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;SPI_1&amp;quot;;
		};
		gpiote: gpiote@40006000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x40006000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x6 0x5 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;GPIOTE_0&amp;quot;;
		};
		adc: adc@40007000 {
			compatible = &amp;quot;nordic,nrf-saadc&amp;quot;;
			reg = &amp;lt; 0x40007000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x7 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;ADC_0&amp;quot;;
			#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
		};
		timer0: timer@40008000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x40008000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_0&amp;quot;;
		};
		timer1: timer@40009000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x40009000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_1&amp;quot;;
		};
		timer2: timer@4000a000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4000a000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_2&amp;quot;;
			phandle = &amp;lt; 0x3 &amp;gt;;
		};
		rtc0: rtc@4000b000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x4000b000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x3 &amp;gt;;
			interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_0&amp;quot;;
		};
		temp: temp@4000c000 {
			compatible = &amp;quot;nordic,nrf-temp&amp;quot;;
			reg = &amp;lt; 0x4000c000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xc 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;TEMP_0&amp;quot;;
		};
		rng: random@4000d000 {
			compatible = &amp;quot;nordic,nrf-rng&amp;quot;;
			reg = &amp;lt; 0x4000d000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xd 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;RNG&amp;quot;;
		};
		ecb: ecb@4000e000 {
			compatible = &amp;quot;nordic,nrf-ecb&amp;quot;;
			reg = &amp;lt; 0x4000e000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0xe 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;ECB&amp;quot;;
		};
		wdt: wdt0: watchdog@40010000 {
			compatible = &amp;quot;nordic,nrf-watchdog&amp;quot;;
			reg = &amp;lt; 0x40010000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x10 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;WDT&amp;quot;;
		};
		rtc1: rtc@40011000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x40011000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x11 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_1&amp;quot;;
		};
		qdec: qdec@40012000 {
			compatible = &amp;quot;nordic,nrf-qdec&amp;quot;;
			reg = &amp;lt; 0x40012000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x12 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;QDEC&amp;quot;;
		};
		egu0: egu@40014000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40014000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x14 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu1: egu@40015000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40015000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x15 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu2: egu@40016000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40016000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x16 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu3: egu@40017000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40017000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x17 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu4: egu@40018000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40018000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x18 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		egu5: egu@40019000 {
			compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
			reg = &amp;lt; 0x40019000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x19 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
		};
		timer3: timer@4001a000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4001a000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x6 &amp;gt;;
			interrupts = &amp;lt; 0x1a 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_3&amp;quot;;
		};
		timer4: timer@4001b000 {
			compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			reg = &amp;lt; 0x4001b000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x6 &amp;gt;;
			interrupts = &amp;lt; 0x1b 0x1 &amp;gt;;
			prescaler = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;TIMER_4&amp;quot;;
		};
		pwm0: pwm@4001c000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x4001c000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1c 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PWM_0&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
		};
		pdm0: pdm@4001d000 {
			compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;
			reg = &amp;lt; 0x4001d000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x1d 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PDM_0&amp;quot;;
		};
		flash_controller: flash-controller@4001e000 {
			compatible = &amp;quot;nordic,nrf52-flash-controller&amp;quot;;
			reg = &amp;lt; 0x4001e000 0x1000 &amp;gt;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;NRF_FLASH_DRV_NAME&amp;quot;;
			flash0: flash@0 {
				compatible = &amp;quot;soc-nv-flash&amp;quot;;
				label = &amp;quot;NRF_FLASH&amp;quot;;
				erase-block-size = &amp;lt; 0x1000 &amp;gt;;
				write-block-size = &amp;lt; 0x4 &amp;gt;;
				reg = &amp;lt; 0x0 0x80000 &amp;gt;;
				partitions {
					compatible = &amp;quot;fixed-partitions&amp;quot;;
					#address-cells = &amp;lt; 0x1 &amp;gt;;
					#size-cells = &amp;lt; 0x1 &amp;gt;;
					boot_partition: partition@0 {
						label = &amp;quot;mcuboot&amp;quot;;
						reg = &amp;lt; 0x0 0xc000 &amp;gt;;
					};
					slot0_partition: partition@c000 {
						label = &amp;quot;image-0&amp;quot;;
						reg = &amp;lt; 0xc000 0x32000 &amp;gt;;
					};
					slot1_partition: partition@3e000 {
						label = &amp;quot;image-1&amp;quot;;
						reg = &amp;lt; 0x3e000 0x32000 &amp;gt;;
					};
					scratch_partition: partition@70000 {
						label = &amp;quot;image-scratch&amp;quot;;
						reg = &amp;lt; 0x70000 0xa000 &amp;gt;;
					};
					storage_partition: partition@7a000 {
						label = &amp;quot;storage&amp;quot;;
						reg = &amp;lt; 0x7a000 0x6000 &amp;gt;;
					};
				};
			};
		};
		pwm1: pwm@40021000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x40021000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x21 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PWM_1&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
		};
		pwm2: pwm@40022000 {
			compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
			reg = &amp;lt; 0x40022000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x22 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;PWM_2&amp;quot;;
			#pwm-cells = &amp;lt; 0x1 &amp;gt;;
		};
		spi2: spi@40023000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40023000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x23 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;SPI_2&amp;quot;;
			compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
			sck-pin = &amp;lt; 0x19 &amp;gt;;
			mosi-pin = &amp;lt; 0x17 &amp;gt;;
			miso-pin = &amp;lt; 0x18 &amp;gt;;
			cs-gpios = &amp;lt; &amp;amp;gpio0 0x16 0x1 &amp;gt;;
			sdhc0: sdhc@0 {
				compatible = &amp;quot;zephyr,mmc-spi-slot&amp;quot;;
				reg = &amp;lt; 0x0 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;SDHC0&amp;quot;;
				spi-max-frequency = &amp;lt; 0x16e3600 &amp;gt;;
			};
		};
		rtc2: rtc@40024000 {
			compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
			reg = &amp;lt; 0x40024000 0x1000 &amp;gt;;
			cc-num = &amp;lt; 0x4 &amp;gt;;
			interrupts = &amp;lt; 0x24 0x1 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			clock-frequency = &amp;lt; 0x8000 &amp;gt;;
			prescaler = &amp;lt; 0x1 &amp;gt;;
			label = &amp;quot;RTC_2&amp;quot;;
		};
		i2s0: i2s@40025000 {
			compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x0 &amp;gt;;
			reg = &amp;lt; 0x40025000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x25 0x1 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
			label = &amp;quot;I2S_0&amp;quot;;
		};
		gpio0: gpio@50000000 {
			compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
			gpio-controller;
			reg = &amp;lt; 0x50000000 0x1000 &amp;gt;;
			#gpio-cells = &amp;lt; 0x2 &amp;gt;;
			label = &amp;quot;GPIO_0&amp;quot;;
			status = &amp;quot;okay&amp;quot;;
			port = &amp;lt; 0x0 &amp;gt;;
			phandle = &amp;lt; 0x2 &amp;gt;;
		};
	};
	cpus {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x0 &amp;gt;;
		cpu@0 {
			device_type = &amp;quot;cpu&amp;quot;;
			compatible = &amp;quot;arm,cortex-m4f&amp;quot;;
			reg = &amp;lt; 0x0 &amp;gt;;
			swo-ref-frequency = &amp;lt; 0x1e84800 &amp;gt;;
		};
	};
	sw_pwm: sw-pwm {
		compatible = &amp;quot;nordic,nrf-sw-pwm&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		label = &amp;quot;SW_PWM&amp;quot;;
		generator = &amp;lt; &amp;amp;timer2 &amp;gt;;
		channel-count = &amp;lt; 0x3 &amp;gt;;
		clock-prescaler = &amp;lt; 0x0 &amp;gt;;
		ppi-base = &amp;lt; 0x0 &amp;gt;;
		gpiote-base = &amp;lt; 0x0 &amp;gt;;
		#pwm-cells = &amp;lt; 0x1 &amp;gt;;
	};
};
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374418?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 21:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98b5d735-a1aa-4e20-bd87-5ce172f9253c</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi pwpot,&lt;/p&gt;
&lt;p&gt;As Vasily points out it is recommended to use an overlay. In some cases it will not make any difference, however, it is easier to compare projects and debug if things are done the standard way. Section 1.4 in the &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0?pifragment-628=1"&gt;Getting started with nRF Connect SDK tutorial&lt;/a&gt;, covers the use of overlays.&lt;/p&gt;
&lt;p&gt;Could you please post the file build/zephyr/zephyr.dts?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374413?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 20:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccf15a82-ec42-428a-9fe2-1a12eba23e0d</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;When I set P0.31 to be SDA line, and P0.30 to be SCL (invesrion).I have got SCL line pulled high but SDA line is still low. What can cause that weird behaviour ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374412?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 20:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:956dcf94-b687-42de-a59c-04da9449664c</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank u for your help. I disabled the spi1 in device tree. That did not help.&lt;/p&gt;
&lt;p&gt;I also disabled the spi0, but that didn&amp;#39;t solve the problem.&lt;/p&gt;
&lt;p&gt;Have you got any other ideas what can I check ?&lt;/p&gt;
&lt;p&gt;The voltages at those pins are still in range 20mV -50mV&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374384?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 15:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08831e54-6426-413c-b808-33b50d8662fd</guid><dc:creator>qwertynoon</dc:creator><description>&lt;p&gt;Actually you should not change the origin DTS file. You have to create DTS .overlay file in the folder /board/yourBoard.overlay in your project. And you can overwrite some settings you need. And please disable spi1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374312?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 10:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46a4d2d0-860a-449c-bb33-29f8ac91db4d</guid><dc:creator>Pawel(embeddedsolutions.pl)</dc:creator><description>&lt;p&gt;I am sorry. I forgot to mention that I edited the nrf52dk default .dts file. Right now it looks like this :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/*
 * Copyright (c) 2017 Shawn Nock &amp;lt;shawn@monadnock.ca&amp;gt;
 * Copyright (c) 2017 Linaro Limited
 *
 * SPDX-License-Identifier: Apache-2.0
 */

 /dts-v1/;
 #include &amp;lt;nordic/nrf52832_qfaa.dtsi&amp;gt;
 
 / {
	 model = &amp;quot;Nordic nRF52 DK NRF52832&amp;quot;;
	 compatible = &amp;quot;nordic,nrf52-dk-nrf52832&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;
	 };
 
	 aliases {
	 };
 };
 
 &amp;amp;adc {
	 status = &amp;quot;okay&amp;quot;;
 };
 
 &amp;amp;gpiote {
	 status = &amp;quot;okay&amp;quot;;
 };
 
 &amp;amp;gpio0 {
	 status = &amp;quot;okay&amp;quot;;
 };
 
&amp;amp;uart0 {
	 status = &amp;quot;okay&amp;quot;;
	 compatible = &amp;quot;nordic,nrf-uarte&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;;
 };
 
 &amp;amp;spi2 {
	 compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	 status = &amp;quot;okay&amp;quot;;
	 sck-pin = &amp;lt;25&amp;gt;;
	 mosi-pin = &amp;lt;23&amp;gt;;
	 miso-pin = &amp;lt;24&amp;gt;;
 };



 &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;/p&gt;
&lt;p&gt;So, my P0.31 and P0.30 are not overridden by SPI1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is how my prj.conf looks like :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# GPIO
CONFIG_GPIO=y
CONFIG_NRFX_GPIOTE=y
# ADC
CONFIG_ADC=n
CONFIG_NRFX_SAADC=y
# SPI-SD-MMC 
CONFIG_SPI=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_DRIVERS=y
CONFIG_DISK_DRIVER_SDMMC=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
# Increase stack size to handle the FAT FS
CONFIG_MAIN_STACK_SIZE=2048
# TWI
CONFIG_NRFX_TWIM=y
CONFIG_NRFX_TWIM0=y
CONFIG_NRFX_TWIM1=y
# LOGGING
CONFIG_PRINTK=y
# ENABLE ZEPHYR SYSTEM LOGGER
CONFIG_LOG=y
CONFIG_LOG_BACKEND_RTT=y&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using both TWIM instances not work on certain pins</title><link>https://devzone.nordicsemi.com/thread/374259?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 06:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dde8e9d1-fe92-4fd2-87ba-39b1c77efa8a</guid><dc:creator>qwertynoon</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think you should disable spi1&lt;/p&gt;
&lt;p&gt;&amp;amp;spi1 {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //compatible = &amp;quot;nordic,nrf-spi&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sck-pin = &amp;lt;31&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //mosi-pin = &amp;lt;30&amp;gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //miso-pin = &amp;lt;29&amp;gt;;&lt;br /&gt;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>