<?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>nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73287/nrf9160-spi-slave-issues-sdk-version-1-4-0</link><description>Hi, 
 I&amp;#39;m having problem using SPIS on nrf9160. The data/clock from master looks clean on scope, but 91 is not receiving the data. Interestingly, when I connect a debugger, SPIS signals transactions (LED toggles), but still no actual data is present in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Apr 2021 07:55:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73287/nrf9160-spi-slave-issues-sdk-version-1-4-0" /><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/304994?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 07:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9d1f87-273a-4fb6-a565-fa2427cbc7e5</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got a tips from a colleague&amp;nbsp;about disabling csn, try to set it to disable in the overlay file:&amp;nbsp;0xFFFFFFFF.&amp;nbsp;Using&amp;nbsp;/delete-property/&amp;nbsp;may also work. For generic Zephyr question you can also get some help in any of these resources:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/zephyr/introduction/index.html#resources"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/zephyr/introduction/index.html#resources&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303982?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 11:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14601b5f-390c-42ee-91cd-a02eb12c27a1</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;ll try to put off some time on Monday and do some debugging.&lt;/p&gt;
&lt;p&gt;Regarding this question:&lt;/p&gt;
[quote user="plotkin1996"]Also: the SPIS seems to use about 40µA while idle. Is this expected, or is there some way to reduce consumption without taking SPIS down completely?[/quote]
&lt;p&gt;&amp;nbsp;I just provided an answer to something similar in a private case, I&amp;#39;ll copy in some snippets from the conversation:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;I found this from another private ticket:&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:60px;"&gt;&lt;em&gt;&amp;quot;We don’t have any SPIS current consumption numbers for nRF9160 available at hand, but I expect it to be in the same ballpark as the nRF52-series. Some numbers for the nRF52832 can be found&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spis.html?cp=4_2_0_31_5_0#unique_517910321"&gt;here&lt;/a&gt;, i.e, the “Idle current for SPIS (STARTed, no CSN activity) is only 1 µA. (During a transfer it will be higher (+HFCLK is requested during the transfer), but it will go back to idle when CSN pin is de-asserted).&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;So it seems like the HFCLK will get automatically releasesed by the peripheral when CSN is de-asserted.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;If the current is still high after CSN is de-asserted, the peripheral may have not released the HFCLK (there may be different reasons for this, e.g.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43998/clarification-of-nrf52832-pan-89"&gt;for the nrf52832&lt;/a&gt;).&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;span&gt;&amp;quot;I talked to another colleague and got some more insight into this. He confirmed the information I gave you about HFCLK being requested/released when CSN is asserted/de-aserted. You don&amp;#39;t need to to anything to make this happen, as it is something that happens automatically in the hardware. Different peripherals will request/release the HFCKL differently, and the PMU will handle all these requests and turn the clock on/off.&amp;quot;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;Since SPI requests the HFCKL every time CSN gets asserted, some delay must be expected, since it has to wait for the HF clock to ramp up.&amp;nbsp;The best solution (if possible)&amp;nbsp;is to assert the CSN pin a bit earlier from the master side, so the slave gets more time to wake up. You could also set&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fpower.html&amp;amp;cp=2_0_0_4_2_0_0_0&amp;amp;anchor=register.TASKS_CONSTLAT"&gt;NRF_POWER-&amp;gt;TASKS_CONSTLAT&lt;/a&gt;&amp;nbsp;in the start of the program, that would decrease the latency, but increase the current. Check&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59596/spis-not-working-with-s140-softdevice-on-nrf52840"&gt;this case&lt;/a&gt;&amp;nbsp;for more information&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303904?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 07:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cf057e9-800c-41ce-be76-0b90bc5a39a5</guid><dc:creator>plotkin1996</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7801.SPIS.zip"&gt;devzone.nordicsemi.com/.../7801.SPIS.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Was away yesterday, here it is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303699?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 09:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:140bd5e8-bab6-4315-bb66-8616bda9f873</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Would you be able to upload the SPIS example in zipped format. I&amp;#39;m not too familiar with the SPI slave, and it would be useful to test this out myself and do some debugging.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303252?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 15:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc5c5808-0635-449e-bd63-28af5321c7c7</guid><dc:creator>plotkin1996</dc:creator><description>&lt;p&gt;It works on a custom board, but not on DK (even if I use custom device tree with corrected pins on a DK). Tried different pins, SPI1/SPI3 - same result. Here is the generated zephyr.dts (this one is for SPIS3):&lt;/p&gt;
&lt;p&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 nRF9160 DK NRF9160&amp;quot;;
	compatible = &amp;quot;nordic,nrf9160-dk-nrf9160&amp;quot;;
	chosen {
		zephyr,flash-controller = &amp;amp;flash_controller;
		zephyr,entropy = &amp;amp;cryptocell_sw;
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,sram = &amp;amp;sram0_ns;
		zephyr,code-partition = &amp;amp;slot0_ns_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;button2;
		sw1 = &amp;amp;button3;
		sw2 = &amp;amp;button0;
		sw3 = &amp;amp;button1;
	};
	soc {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		compatible = &amp;quot;nordic,nRF9160-SICA&amp;quot;, &amp;quot;nordic,nRF9160&amp;quot;, &amp;quot;nordic,nRF91&amp;quot;, &amp;quot;simple-bus&amp;quot;;
		interrupt-parent = &amp;lt; &amp;amp;nvic &amp;gt;;
		ranges;
		nvic: interrupt-controller@e000e100 {
			compatible = &amp;quot;arm,v8m-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,armv8m-systick&amp;quot;;
			reg = &amp;lt; 0xe000e010 0x10 &amp;gt;;
			status = &amp;quot;disabled&amp;quot;;
		};
		sram0: memory@20000000 {
			compatible = &amp;quot;mmio-sram&amp;quot;;
			reg = &amp;lt; 0x20000000 0x40000 &amp;gt;;
		};
		peripheral@40000000 {
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			ranges = &amp;lt; 0x0 0x40000000 0x10000000 &amp;gt;;
			flash_controller: flash-controller@39000 {
				compatible = &amp;quot;nordic,nrf91-flash-controller&amp;quot;;
				reg = &amp;lt; 0x39000 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 0x100000 &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 0x10000 &amp;gt;;
						};
						slot0_partition: partition@10000 {
							label = &amp;quot;image-0&amp;quot;;
							reg = &amp;lt; 0x10000 0x40000 &amp;gt;;
						};
						slot0_ns_partition: partition@50000 {
							label = &amp;quot;image-0-nonsecure&amp;quot;;
							reg = &amp;lt; 0x50000 0x30000 &amp;gt;;
						};
						slot1_partition: partition@80000 {
							label = &amp;quot;image-1&amp;quot;;
							reg = &amp;lt; 0x80000 0x40000 &amp;gt;;
						};
						slot1_ns_partition: partition@c0000 {
							label = &amp;quot;image-1-nonsecure&amp;quot;;
							reg = &amp;lt; 0xc0000 0x30000 &amp;gt;;
						};
						scratch_partition: partition@f0000 {
							label = &amp;quot;image-scratch&amp;quot;;
							reg = &amp;lt; 0xf0000 0xa000 &amp;gt;;
						};
						storage_partition: partition@fa000 {
							label = &amp;quot;storage&amp;quot;;
							reg = &amp;lt; 0xfa000 0x6000 &amp;gt;;
						};
					};
				};
			};
			adc: adc@e000 {
				compatible = &amp;quot;nordic,nrf-saadc&amp;quot;;
				reg = &amp;lt; 0xe000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xe 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;ADC_0&amp;quot;;
				#io-channel-cells = &amp;lt; 0x1 &amp;gt;;
			};
			dppic: dppic@17000 {
				compatible = &amp;quot;nordic,nrf-dppic&amp;quot;;
				reg = &amp;lt; 0x17000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;DPPIC&amp;quot;;
			};
			egu0: egu@1b000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1b000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1b 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu1: egu@1c000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1c000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1c 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu2: egu@1d000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1d000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1d 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu3: egu@1e000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1e000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1e 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu4: egu@1f000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x1f000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x1f 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			egu5: egu@20000 {
				compatible = &amp;quot;nordic,nrf-egu&amp;quot;;
				reg = &amp;lt; 0x20000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x20 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			i2s0: i2s@28000 {
				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; 0x28000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x28 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2S_0&amp;quot;;
			};
			kmu: kmu@39000 {
				compatible = &amp;quot;nordic,nrf-kmu&amp;quot;;
				reg = &amp;lt; 0x39000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x39 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			pdm0: pdm@26000 {
				compatible = &amp;quot;nordic,nrf-pdm&amp;quot;;
				reg = &amp;lt; 0x26000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x26 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PDM_0&amp;quot;;
			};
			regulators: regulator@4000 {
				compatible = &amp;quot;nordic,nrf-regulators&amp;quot;;
				reg = &amp;lt; 0x4000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			vmc: vmc@3a000 {
				compatible = &amp;quot;nordic,nrf-vmc&amp;quot;;
				reg = &amp;lt; 0x3a000 0x1000 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			uart0: uart@8000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;UART_0&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				tx-pin = &amp;lt; 0x1d &amp;gt;;
				rx-pin = &amp;lt; 0x1c &amp;gt;;
				rts-pin = &amp;lt; 0x1b &amp;gt;;
				cts-pin = &amp;lt; 0x1a &amp;gt;;
			};
			uart1: uart@9000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;UART_1&amp;quot;;
				current-speed = &amp;lt; 0x1c200 &amp;gt;;
				tx-pin = &amp;lt; 0x1 &amp;gt;;
				rx-pin = &amp;lt; 0x0 &amp;gt;;
				rts-pin = &amp;lt; 0xe &amp;gt;;
				cts-pin = &amp;lt; 0xf &amp;gt;;
			};
			uart2: uart@a000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;UART_2&amp;quot;;
				tx-pin = &amp;lt; 0x18 &amp;gt;;
				rx-pin = &amp;lt; 0x17 &amp;gt;;
			};
			uart3: uart@b000 {
				compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;UART_3&amp;quot;;
			};
			i2c0: i2c@8000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_0&amp;quot;;
			};
			i2c1: i2c@9000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_1&amp;quot;;
			};
			i2c2: i2c@a000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;I2C_2&amp;quot;;
				compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
				sda-gpios = &amp;lt; &amp;amp;gpio0 0x1e 0x0 &amp;gt;;
				scl-gpios = &amp;lt; &amp;amp;gpio0 0x1f 0x0 &amp;gt;;
			};
			i2c3: i2c@b000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				clock-frequency = &amp;lt; 0x186a0 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;I2C_3&amp;quot;;
			};
			spi0: spi@8000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x8000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x8 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_0&amp;quot;;
			};
			spi1: spi@9000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0x9000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x9 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_1&amp;quot;;
			};
			spi2: spi@a000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xa000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xa 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;SPI_2&amp;quot;;
			};
			spi3: spi@b000 {
				#address-cells = &amp;lt; 0x1 &amp;gt;;
				#size-cells = &amp;lt; 0x0 &amp;gt;;
				reg = &amp;lt; 0xb000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0xb 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;SPI_3&amp;quot;;
				compatible = &amp;quot;nordic,nrf-spis&amp;quot;;
				sck-pin = &amp;lt; 0xd &amp;gt;;
				mosi-pin = &amp;lt; 0xc &amp;gt;;
				miso-pin = &amp;lt; 0xb &amp;gt;;
				csn-pin = &amp;lt; 0xa &amp;gt;;
				def-char = &amp;lt; 0xaa &amp;gt;;
			};
			pwm0: pwm@21000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x21000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x21 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; 0x2 &amp;gt;;
				phandle = &amp;lt; 0x3 &amp;gt;;
			};
			pwm1: pwm@22000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x22000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x22 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@23000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x23000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x23 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PWM_2&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			};
			pwm3: pwm@24000 {
				compatible = &amp;quot;nordic,nrf-pwm&amp;quot;;
				reg = &amp;lt; 0x24000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x24 0x1 &amp;gt;;
				status = &amp;quot;disabled&amp;quot;;
				label = &amp;quot;PWM_3&amp;quot;;
				#pwm-cells = &amp;lt; 0x1 &amp;gt;;
			};
			gpio0: gpio@842500 {
				compatible = &amp;quot;nordic,nrf-gpio&amp;quot;;
				gpio-controller;
				reg = &amp;lt; 0x842500 0x300 &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;;
			};
			rtc0: rtc@14000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x14000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x14 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;;
			};
			rtc1: rtc@15000 {
				compatible = &amp;quot;nordic,nrf-rtc&amp;quot;;
				reg = &amp;lt; 0x15000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x4 &amp;gt;;
				interrupts = &amp;lt; 0x15 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;;
			};
			clock: clock@5000 {
				compatible = &amp;quot;nordic,nrf-clock&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;CLOCK&amp;quot;;
			};
			power: power@5000 {
				compatible = &amp;quot;nordic,nrf-power&amp;quot;;
				reg = &amp;lt; 0x5000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x5 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
			};
			wdt: wdt0: watchdog@18000 {
				compatible = &amp;quot;nordic,nrf-watchdog&amp;quot;;
				reg = &amp;lt; 0x18000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x18 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				label = &amp;quot;WDT&amp;quot;;
			};
			timer0: timer@f000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0xf000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0xf 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_0&amp;quot;;
			};
			timer1: timer@10000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x10000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x10 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_1&amp;quot;;
			};
			timer2: timer@11000 {
				compatible = &amp;quot;nordic,nrf-timer&amp;quot;;
				status = &amp;quot;okay&amp;quot;;
				reg = &amp;lt; 0x11000 0x1000 &amp;gt;;
				cc-num = &amp;lt; 0x6 &amp;gt;;
				interrupts = &amp;lt; 0x11 0x1 &amp;gt;;
				prescaler = &amp;lt; 0x0 &amp;gt;;
				label = &amp;quot;TIMER_2&amp;quot;;
			};
		};
		gpiote: gpiote@40031000 {
			compatible = &amp;quot;nordic,nrf-gpiote&amp;quot;;
			reg = &amp;lt; 0x40031000 0x1000 &amp;gt;;
			interrupts = &amp;lt; 0x31 0x5 &amp;gt;;
			status = &amp;quot;okay&amp;quot;;
			label = &amp;quot;GPIOTE_1&amp;quot;;
		};
		cryptocell_sw: cryptocell-sw {
			compatible = &amp;quot;nordic,nrf-cc310-sw&amp;quot;;
			#address-cells = &amp;lt; 0x0 &amp;gt;;
			label = &amp;quot;CRYPTOCELL_SW&amp;quot;;
		};
	};
	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-m33f&amp;quot;;
			reg = &amp;lt; 0x0 &amp;gt;;
			#address-cells = &amp;lt; 0x1 &amp;gt;;
			#size-cells = &amp;lt; 0x1 &amp;gt;;
			mpu: mpu@e000ed90 {
				compatible = &amp;quot;arm,armv8m-mpu&amp;quot;;
				reg = &amp;lt; 0xe000ed90 0x40 &amp;gt;;
				arm,num-mpu-regions = &amp;lt; 0x10 &amp;gt;;
			};
		};
	};
	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x2 0x0 &amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x3 0x0 &amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x4 0x0 &amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x5 0x0 &amp;gt;;
			label = &amp;quot;Green LED 4&amp;quot;;
		};
	};
	pwmleds {
		compatible = &amp;quot;pwm-leds&amp;quot;;
		pwm_led0: pwm_led_0 {
			pwms = &amp;lt; &amp;amp;pwm0 0x2 &amp;gt;;
		};
	};
	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt; &amp;amp;gpio0 0x8 0x11 &amp;gt;;
			label = &amp;quot;Switch 1&amp;quot;;
		};
		button1: button_1 {
			gpios = &amp;lt; &amp;amp;gpio0 0x9 0x11 &amp;gt;;
			label = &amp;quot;Switch 2&amp;quot;;
		};
		button2: button_2 {
			gpios = &amp;lt; &amp;amp;gpio0 0x6 0x11 &amp;gt;;
			label = &amp;quot;Push button 1&amp;quot;;
		};
		button3: button_3 {
			gpios = &amp;lt; &amp;amp;gpio0 0x7 0x11 &amp;gt;;
			label = &amp;quot;Push button 2&amp;quot;;
		};
	};
	interface_to_nrf52840: gpio-interface {
		compatible = &amp;quot;nordic,nrf9160dk-nrf52840-interface&amp;quot;;
		#gpio-cells = &amp;lt; 0x2 &amp;gt;;
		gpio-map-mask = &amp;lt; 0xf 0x0 &amp;gt;;
		gpio-map-pass-thru = &amp;lt; 0x0 0xffffffff &amp;gt;;
		gpio-map = &amp;lt; 0x0 0x0 &amp;amp;gpio0 0x11 0x0 &amp;gt;, &amp;lt; 0x1 0x0 &amp;amp;gpio0 0x12 0x0 &amp;gt;, &amp;lt; 0x2 0x0 &amp;amp;gpio0 0x13 0x0 &amp;gt;, &amp;lt; 0x3 0x0 &amp;amp;gpio0 0x15 0x0 &amp;gt;, &amp;lt; 0x4 0x0 &amp;amp;gpio0 0x16 0x0 &amp;gt;, &amp;lt; 0x5 0x0 &amp;amp;gpio0 0x17 0x0 &amp;gt;;
		phandle = &amp;lt; 0x4 &amp;gt;;
	};
	nrf52840_reset: gpio-reset {
		compatible = &amp;quot;nordic,nrf9160dk-nrf52840-reset&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		gpios = &amp;lt; &amp;amp;interface_to_nrf52840 0x5 0x0 &amp;gt;;
	};
	reserved-memory {
		#address-cells = &amp;lt; 0x1 &amp;gt;;
		#size-cells = &amp;lt; 0x1 &amp;gt;;
		ranges;
		sram0_s: image_s@20000000 {
			reg = &amp;lt; 0x20000000 0x10000 &amp;gt;;
		};
		sram0_bsd: image_bsd@20010000 {
			reg = &amp;lt; 0x20010000 0x10000 &amp;gt;;
		};
		sram0_ns: image_ns@20020000 {
			reg = &amp;lt; 0x20020000 0x20000 &amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303147?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 12:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddac21c8-de46-4f4a-9adc-249927118bcb</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I have not done too much investigation, and why it works/doesn&amp;#39;t work in the different circumstances.&lt;/p&gt;
&lt;p&gt;However, my suspicion is that it has something to do with this:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/62899/nrf9160---only-one-of-the-following-peripherals-can-be-enabled-spi1-uarte1-why/256549#256549"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/62899/nrf9160---only-one-of-the-following-peripherals-can-be-enabled-spi1-uarte1-why/256549#256549&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does it work if you set the following in the overlay file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart2 {
    status=&amp;quot;disabled&amp;quot;;
} 
&amp;amp;i2c2 {
    status=&amp;quot;disabled&amp;quot;;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/303004?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 06:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f78f8da-60be-4067-a31d-e29940abd3b2</guid><dc:creator>plotkin1996</dc:creator><description>&lt;p&gt;It&amp;#39;s alright, I was gone myself. But I fiddled a bit more now noticed a remarkable pattern: a build without SPM (as is default on last SDK) works, but the consumption is high as power mode services are unavailable. If SPM is included, I again get weird behavior that SPIS doesn&amp;#39;t receive any data until I connect the debugger. Is it possible that there is interaction between non-secure SPIS and a secure device on the same peripheral slot?&lt;/p&gt;
&lt;p&gt;Edit: also it seems that SPIS works if I set CONFIG_SERIAL=y. How is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/302972?ContentTypeID=1</link><pubDate>Mon, 05 Apr 2021 10:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f90d2e6-0a72-469f-b59b-26fe3a5a7308</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the delay on this, I&amp;#39;ve been gone due to easter vacation. I&amp;#39;ll look into this the upcoming week.&lt;/p&gt;
&lt;div style="left:141px;top:-20px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/302533?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 09:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c012f62-7f1a-47b0-add0-1301db6cfe5f</guid><dc:creator>plotkin1996</dc:creator><description>&lt;p&gt;Thank you. It worked, but only if csn pin is used. Is it possible to disable CNS sense altogether?&lt;/p&gt;
&lt;p&gt;Also: the SPIS seems to use about 40&amp;micro;A while idle. Is this expected, or is there some way to reduce consumption without taking SPIS down completely?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI slave issues (SDK version 1.4.0)</title><link>https://devzone.nordicsemi.com/thread/302452?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 17:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e295d12-1a31-4bc2-ae36-b188828abb24</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you check out this reply:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70104/spi-master-is-broken-in-sdk-v1-4-x/288816#288816"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/70104/spi-master-is-broken-in-sdk-v1-4-x/288816#288816&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Where two samples are attached, one SPI master and one SPI slave. I think they&amp;#39;re made for NCS v1.4.0, but I think they should work with NCS v1.5.0 as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>