<?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>nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78354/nrf9160dk-and-winc1500-wifi-module</link><description>Hi, 
 I am trying to get the Atmel WINC1500 module to work with the nRF9160DK. 
 I have read a similar post, 
 https://devzone.nordicsemi.com/f/nordic-q-a/76640/spi-issue-using-the-adafruit-winc1500-wifi-on-the-nrf9160dk/317289#317289 
 and have taken</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Oct 2021 17:20:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78354/nrf9160dk-and-winc1500-wifi-module" /><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/333117?ContentTypeID=1</link><pubDate>Thu, 07 Oct 2021 17:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67486b33-77da-41f0-9c8a-5aeec5b289d5</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Great to hear you got the module working with the nRF52840 Dongle. What IO voltage are did you use between the two?&lt;/p&gt;
&lt;p&gt;If you would like to keep trying to get the module working with nRF9160 I suggest the next thing to try is to make sure the two units have a corresponding IO voltage. Either make sure the WIFI dongle is configured to communicate at 3.0V, or make sure the nRF9160 DK is communicating at 3.3V. If you would like to make the nRF9160 DK communicate at 3.3V, supply 3.3V to the VI_REF pin &lt;em&gt;after &lt;/em&gt;VDD is applied. This way the IO voltage is automatically set to the same voltage as VI_REF.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/332193?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 17:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2949ea2-ed76-49e7-89f8-278946749c31</guid><dc:creator>RodWatt</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;I am simply using the sample code for the WINC1500. The only thing I have&amp;nbsp;changed is&amp;nbsp;the pinout. I have tried a number of&amp;nbsp;different pin outs, my latest is shown below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I said, I did get the same code to work on the nRF52840 dongle; it works as planned so I think its a pin out&amp;nbsp;&lt;/span&gt;problem. If you can suggest an alternative pinout, I will give it a go but as I got it to work elsewhere Im happy to close the ticket&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
  compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
  status = &amp;quot;ok&amp;quot;;
  sck-pin = &amp;lt;13&amp;gt;;
  mosi-pin = &amp;lt;11&amp;gt;;
  miso-pin = &amp;lt;12&amp;gt;;
  cs-gpios = &amp;lt;&amp;amp;gpio0 10 GPIO_ACTIVE_LOW&amp;gt;;

	winc1500@0 {
		status = &amp;quot;ok&amp;quot;;
		compatible = &amp;quot;atmel,winc1500&amp;quot;;
		reg = &amp;lt;0x0&amp;gt;;
		label = &amp;quot;winc1500&amp;quot;;
		spi-max-frequency = &amp;lt;250000&amp;gt;;
		irq-gpios = &amp;lt;&amp;amp;gpio0 20 1&amp;gt;;
		reset-gpios = &amp;lt;&amp;amp;gpio0 24 1&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 25 0&amp;gt;;
		
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/331913?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 11:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67b0807e-c112-4daf-84dc-64397ad9b5f6</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;I see that enable-gpio is configured to P0.19. I am not sure whether I have interpreted things correctly, however, it could be worth a try to swap to another pin.&lt;/p&gt;
&lt;p&gt;Have you made any modifications to the FW on nRF52840?&lt;/p&gt;
&lt;p&gt;Would you be able to share some of your project code? I do not have the module but I could try to check the signals on my side.&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: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/330141?ContentTypeID=1</link><pubDate>Sun, 19 Sep 2021 19:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:820614d3-3766-47e0-8e25-cc042b175fa8</guid><dc:creator>RodWatt</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;Thanks for your suggestions. I have a&amp;nbsp;couple&amp;nbsp;of&amp;nbsp;different revision boards; (1.0.0 and 0.8.3) and have&amp;nbsp;compiled the code for them specifically as&amp;nbsp;delayed above. The scan is still failing&amp;nbsp;but it just seems to hang&amp;nbsp;&lt;/span&gt;there as opposed to reporting an error.&lt;/p&gt;
&lt;p&gt;I also have an nRF52840 dongle and I have connected the module up to this; this works as expected. So, I&amp;#39;m happy that my code and understanding of the connections are correct. BTW, I can leave the WAKE signal unconnected, and it works. There must be a pull up on the module.&lt;/p&gt;
&lt;p&gt;So, &amp;nbsp;I assuming its a &amp;quot;pin allocation&amp;quot; problem where I&amp;#39;m &amp;nbsp;using a pin on the nRF9160DK that has been allocated to something else on the board. My overlay file is below. Can you see me using any pins I shouldn&amp;#39;t?&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
  compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
  status = &amp;quot;ok&amp;quot;;
  sck-pin = &amp;lt;13&amp;gt;;
  mosi-pin = &amp;lt;11&amp;gt;;
  miso-pin = &amp;lt;12&amp;gt;;
  cs-gpios = &amp;lt;&amp;amp;gpio0 25 GPIO_ACTIVE_LOW&amp;gt;;

	winc1500@0 {
		status = &amp;quot;ok&amp;quot;;
		compatible = &amp;quot;atmel,winc1500&amp;quot;;
		reg = &amp;lt;0x0&amp;gt;;
		label = &amp;quot;winc1500&amp;quot;;
		spi-max-frequency = &amp;lt;250000&amp;gt;;
		irq-gpios = &amp;lt;&amp;amp;gpio0 16 1&amp;gt;;
		reset-gpios = &amp;lt;&amp;amp;gpio0 26 1&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 19 0&amp;gt;;
		
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/329473?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 14:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88489872-f885-454a-b6a8-fc32927b284c</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Which board hw revision are you using? Have you tried &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/ug_nrf9160.html#board-revisions"&gt;specifying a specific board revision&lt;/a&gt;&amp;nbsp;for nRF9160 DK? This will affect the behaviour and configuration of several pins.&lt;/p&gt;
&lt;p&gt;When I check the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/nrf9160dk_nrf52840/doc/index.html#board-controller-firmware"&gt;Board controller firmware&lt;/a&gt;&amp;nbsp;documentation it is mentioned that &amp;quot;&lt;span&gt;In nRF9160 DK revisions earlier than v0.14.0, nRF9160 signals routed to other components on the DK are not simultaneously available on the DK connectors.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I can see that P0.00 and P0.01 are also in use by VCOM2. Try swapping these pins with a couple of other free pins. Or, if you have no pins available, you could try to disable routing for the VCOM2 pins by adding the following to the overlay of the &lt;strong&gt;board controller firmware&lt;/strong&gt;. Then build and flash this to&amp;nbsp;nrf9160dk_&lt;strong&gt;nrf52840&lt;/strong&gt;.&amp;nbsp;&lt;span&gt;Make sure that the PROG/DEBUG switch on the DK is set to nRF52.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;amp;vcom2_pins_routing {&lt;/pre&gt;
&lt;div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code&gt;        status = &amp;quot;disabled&amp;quot;;
};&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h5&gt;Frequency&lt;/h5&gt;
&lt;p&gt;Another thing to try is to lower the SPI frequency to 250000 in your overlay. This could help if you have long wires between the DK and the module.&lt;/p&gt;
&lt;p&gt;If you have an oscilloscope available, recording using 250000 could also help clarify a few things.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/328248?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 14:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:921d7b00-79b3-4c96-8940-852c20befa02</guid><dc:creator>RodWatt</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;Yes, I had seen&amp;nbsp;that and have tried various connections, +3V,&amp;nbsp;unconnected and even 0V to see if I can see a&amp;nbsp;change in&amp;nbsp;behaviour. It&amp;nbsp;didn&amp;#39;t seem to change anything.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ wifi scan
Scan request failed
[00:00:13.617,279] &amp;lt;err&amp;gt; wifi_winc1500: Failed to request scan
uart:~$&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/328242?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 14:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7e3e56-88c2-4958-8912-7864ee1bede1</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for providing the details. So far I have only had a quick look. The first thing I stumbled into is this comment in the &lt;a href="http://ww1.microchip.com/downloads/en/devicedoc/atmel-42487-atwinc1500b-mu_datasheet.pdf"&gt;ATWINC1500B-IMU datasheet&lt;/a&gt; regarding the Wake pin:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1630937353469v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Where at the DK is this pin connected? Is it connected to 3.0V or to 3.3V? What happens if you leave it unconnected?&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&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: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/328002?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 14:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac65a3c-d2e8-453e-858d-0c4edc6beafc</guid><dc:creator>RodWatt</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;No problem, I&amp;nbsp;understand that things take longer during vacation time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using this&amp;nbsp;&lt;/span&gt;module.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.microchip.com/content/dam/mchp/documents/OTH/ProductDocuments/UserGuides/50002616A.pdf"&gt;https://www.microchip.com/content/dam/mchp/documents/OTH/ProductDocuments/UserGuides/50002616A.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Pin	    Signal	    nRF9160DK Connection
1	    ID_DATA	        -
2	    GND	            0V
3	    NC	            -
4	    NC	            -
5	    RESET_N	        P0.13
6	    WAKE	        +3.3V
7	    NC	            -
8	    NC	            -
9	    IRQN	        P0.16
10	    CHIP_EN	        P0.12
11	    I2C_SDA	        -
12	    I2C_SCK	        -
13	    UART_RX	        -
14	    UART_TX	        -
15	    SPI_SSN	        P0.18
16	    SPI_MOSI	    P0.19
17	    SPI_MISO	    P0.01
18	    SPI_SCK	        P0.00
19	    GND	            0V
20	    VCC	            +3.3V&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You will see my overlay file in a previous comment.&lt;/p&gt;
&lt;p&gt;I am using the NRF9160DK, with the I/o set to 3V.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/327924?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 09:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77a084d-131b-46e7-8deb-fc89351c2cac</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod, sorry for the long delay.&lt;/p&gt;
&lt;p&gt;How are you supplying the WiFi module? What are the IO voltages on the WiFi module and nRF9160 DK? Are they both configured to communicate at a corresponding level?&lt;/p&gt;
&lt;p&gt;If you could&amp;nbsp;share the schematics showing the SPI setup we could take a look.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&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: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325797?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 15:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b77a5c72-b4d8-4b74-bb7a-685a3a0b5dad</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Pirun,&lt;/p&gt;
&lt;p&gt;I have connected the reset signal and can see that its high. I am basing my overlay file on this example.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/wifi/boards/reel_board.overlay"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/wifi/boards/reel_board.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;my overlay file is this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
  compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
  status = &amp;quot;ok&amp;quot;;
  cs-gpios = &amp;lt;&amp;amp;gpio0 18 GPIO_ACTIVE_LOW&amp;gt;;
  sck-pin = &amp;lt;0&amp;gt;;
  mosi-pin = &amp;lt;19&amp;gt;;
  miso-pin = &amp;lt;1&amp;gt;;

	winc1500@0 {
		status = &amp;quot;ok&amp;quot;;
		compatible = &amp;quot;atmel,winc1500&amp;quot;;
		reg = &amp;lt;0x0&amp;gt;;
		label = &amp;quot;winc1500&amp;quot;;
		spi-max-frequency = &amp;lt;4000000&amp;gt;;
		irq-gpios = &amp;lt;&amp;amp;gpio0 16 1&amp;gt;;
		reset-gpios = &amp;lt;&amp;amp;gpio0 13 1&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio0 12 0&amp;gt;;

//		irq-gpios = &amp;lt;&amp;amp;gpio0 16 GPIO_ACTIVE_HIGH&amp;gt;;
//		reset-gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_HIGH&amp;gt;;
//		enable-gpios = &amp;lt;&amp;amp;gpio0 12 GPIO_ACTIVE_LOW&amp;gt;;
	};
};

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Im assuming that the power up sequence is handled by the driver, I just need to connect the right signals, which I believe I have.&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325789?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 14:33:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fac4148-277a-4c55-8da0-e81f4936b41f</guid><dc:creator>pirun lee</dc:creator><description>&lt;p&gt;HI Rod,&lt;/p&gt;
&lt;p&gt;We can learn SPI master is sending correct signal from your capture while not connecting WINC1500.&lt;/p&gt;
&lt;p&gt;SPIM is trying to reset module.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define CMD_RESET				0xcf

	case CMD_RESET:							/* reset */
		bc[1] = 0xff;
		bc[2] = 0xff;
		bc[3] = 0xff;
		len = 5;
		break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However you can&amp;#39;t get anything when WINC1500 connected.&lt;/p&gt;
&lt;p&gt;It seems that bus has been pulled down by WINC1500.&lt;/p&gt;
&lt;p&gt;I would suggest that&amp;nbsp;you check the power sequence of WINC1500.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325772?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 13:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1028cbba-8458-4cbf-8402-cd1243750037</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Pirun,&lt;/p&gt;
&lt;p&gt;I am working at home today so don&amp;#39;t have access to a proper analyser. I do have one of these&lt;/p&gt;
&lt;p&gt;&lt;a href="https://hobbycomponents.com/testing/243-hobby-components-usb-8ch-24mhz-8-channel-logic-analyser"&gt;https://hobbycomponents.com/testing/243-hobby-components-usb-8ch-24mhz-8-channel-logic-analyser&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;They are cheap and cheerful but do seem to have problems with loading on the line. When I connect the probes with the WINC1500 connected, it seems to struggle to pick up the signals correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did however, manage to capture the following with the WINC1500 module removed, so obviously I won&amp;#39;t get any data back but can see the clock, chips select&amp;nbsp;and MOSI data.&lt;/p&gt;
&lt;p&gt;&lt;img height="243" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1629381032163v1.png" width="654" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325685?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 10:07:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:964938d5-83f4-461e-9e17-4fd5fbb66a6d</guid><dc:creator>pirun lee</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;The message is just warning. It is caused by this Kconfig.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config WINC1500_DRV_USE_OLD_SPI_SW
	bool &amp;quot;Use old SPI access method in the vendor HAL&amp;quot;
	help
	  This option, when enabled, causes USE_OLD_SPI_SW
	  setting to be passed to vendor HAL.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t generate zephyr.hex if there is any compile time error.&lt;br /&gt;&lt;br /&gt;Can you use logic analyze to observe SPI communication?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325676?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 09:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8721fb28-897b-4c12-be38-153b43b0dc5d</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hey Pirun,&lt;/p&gt;
&lt;p&gt;I enabled debug and am indeed seeing error messages as you detailed above; suggesting the SPI interface is at fault. I have double checked the connections and overlay file and they all look good to me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will see in my build output above, Im seeing a build error around the SPI read.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[74/307] Building C object zephyr/CMak...ifi/winc1500/driver/source/nmspi.c.obj
/opt/nordic/ncs/v1.6.1/modules/hal/atmel/asf/common/components/wifi/winc1500/driver/source/nmspi.c:746:14: warning: &amp;#39;spi_data_read&amp;#39; defined but not used [-Wunused-function]
  746 | static sint8 spi_data_read(uint8 *b, uint16 sz,uint8 clockless)
      |              ^~~~~~~~~~~~~
[300/307] Linking C executable zephyr/zephyr_prebuilt.elf&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;as this is occurring during build, would this suggest a config error on my part? Even if my connections were wrong, I wouldnt expect to se an error during build&lt;/p&gt;
&lt;p&gt;Rod&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325608?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 04:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9122d2a7-995c-480c-828e-d12924815182</guid><dc:creator>pirun lee</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;Please check if your wiring is correct.&lt;br /&gt;You can also enable debug of winc1500 driver.&lt;/p&gt;
&lt;p&gt;Under zephyr folder.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;diff --git a/drivers/wifi/winc1500/wifi_winc1500_config.h b/drivers/wifi/winc1500/wifi_winc1500_config.h&lt;/em&gt;&lt;br /&gt;&lt;em&gt;index 8c8cd6b4c5..77eb154c4b 100644&lt;/em&gt;&lt;br /&gt;&lt;em&gt;--- a/drivers/wifi/winc1500/wifi_winc1500_config.h&lt;/em&gt;&lt;br /&gt;&lt;em&gt;+++ b/drivers/wifi/winc1500/wifi_winc1500_config.h&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@@ -60,7 +60,9 @@&lt;/em&gt;&lt;br /&gt;&lt;em&gt; ---------------------------------&lt;/em&gt;&lt;br /&gt;&lt;em&gt; */&lt;/em&gt;&lt;br /&gt;&lt;em&gt; #include &amp;lt;stdio.h&amp;gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;-#define CONF_WINC_DEBUG (0)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;+#define CONF_WINC_DEBUG (1)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;+#define M2M_LOG_LEVEL M2M_DBG&lt;/em&gt;&lt;br /&gt;&lt;em&gt; #define CONF_WINC_PRINTF printf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If your SPI wiring is incorrect.&lt;/p&gt;
&lt;p&gt;You will see bunch error message like this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(APP)(ERR)[spi_cmd_complete][568][nmi spi]: Failed cmd response, cmd (ca), resp (ff)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1068][nmi spi]: Failed cmd, read reg (0000e824)...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1086]Reset and retry 10 e824&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_cmd_complete][568][nmi spi]: Failed cmd response, cmd (ca), resp (ff)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1068][nmi spi]: Failed cmd, read reg (0000e824)...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1086]Reset and retry 9 e824&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_cmd_complete][568][nmi spi]: Failed cmd response, cmd (ca), resp (ff)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1068][nmi spi]: Failed cmd, read reg (0000e824)...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1086]Reset and retry 8 e824&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_cmd_complete][568][nmi spi]: Failed cmd response, cmd (ca), resp (ff)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;(APP)(ERR)[spi_read_reg][1068][nmi spi]: Failed cmd, read reg (0000e824)...&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325553?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 14:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f121d1e6-697c-4381-81e6-7d5de2bb2dde</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hey Pirun,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I have updated the west.yml file and ran west update. I can now see the atmel HAL.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1629298078370v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I enable&amp;nbsp;&lt;span&gt;CONFIG_WIFI=y and&amp;nbsp;CONFIG_WIFI_WINC1500=y and rebuild.It now builds without the &amp;quot;wifi errors&amp;quot; I was seeing&amp;nbsp;&lt;/span&gt;previously. Although I am seeing an SPI error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Watt@Watt-Macbook-Pro WINC1500 % sh build_app.sh
[0/1] Re-running CMake...
Including boilerplate (Zephyr base (cached)): /opt/nordic/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500
-- Using NCS Toolchain 1.6.0 for building. (/opt/nordic/ncs/v1.6.0-rc2/toolchain/cmake)
-- Zephyr version: 2.6.0-rc1 (/opt/nordic/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1
-- Found west (found suitable version &amp;quot;0.11.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf9160dk_nrf9160, Revision: 0.7.0
-- Cache files will be written to: /Users/Watt/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.6.0-rc2/toolchain/bin/dtc (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/v1.6.0-rc2/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/v1.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
-- Found devicetree overlay: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/nrf9160dk_nrf9160.overlay
-- Generated zephyr.dts: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/device_extern.h
Parsing /opt/nordic/ncs/v1.6.1/zephyr/Kconfig
Loaded configuration &amp;#39;/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/.config&amp;#39;
Configuration saved to &amp;#39;/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build
[1/1] cd /Users/Watt/Documents/ZEPHYR_...ncs/v1.6.1/zephyr/cmake/pristine.cmake
Including boilerplate (Zephyr base): /opt/nordic/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500
-- Using NCS Toolchain 1.6.0 for building. (/opt/nordic/ncs/v1.6.0-rc2/toolchain/cmake)
-- Zephyr version: 2.6.0-rc1 (/opt/nordic/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1
-- Found Python3: /opt/nordic/ncs/v1.6.0-rc2/toolchain/bin/python3 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.11.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf9160dk_nrf9160, Revision: 0.7.0
-- Cache files will be written to: /Users/Watt/Library/Caches/zephyr
-- Found dtc: /opt/nordic/ncs/v1.6.0-rc2/toolchain/bin/dtc (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (/opt/nordic/ncs/v1.6.0-rc2/toolchain)
-- Found BOARD.dts: /opt/nordic/ncs/v1.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
-- Found devicetree overlay: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/nrf9160dk_nrf9160.overlay
-- Generated zephyr.dts: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/device_extern.h
Parsing /opt/nordic/ncs/v1.6.1/zephyr/Kconfig
Loaded configuration &amp;#39;/opt/nordic/ncs/v1.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig&amp;#39;
Merged configuration &amp;#39;prj.conf&amp;#39;
Configuration saved to &amp;#39;/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/nordic/ncs/v1.6.0-rc2/toolchain/bin/arm-none-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build
Make Complete

/Users/Watt/Documents/ZEPHYR_Code/nRF9160DK/New_Code/WINC1500/build
[1/307] Preparing syscall dependency handling

[74/307] Building C object zephyr/CMak...ifi/winc1500/driver/source/nmspi.c.obj
/opt/nordic/ncs/v1.6.1/modules/hal/atmel/asf/common/components/wifi/winc1500/driver/source/nmspi.c:746:14: warning: &amp;#39;spi_data_read&amp;#39; defined but not used [-Wunused-function]
  746 | static sint8 spi_data_read(uint8 *b, uint16 sz,uint8 clockless)
      |              ^~~~~~~~~~~~~
[300/307] Linking C executable zephyr/zephyr_prebuilt.elf

[307/307] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      128416 B         1 MB     12.25%
            SRAM:       42624 B        88 KB     47.30%
        IDT_LIST:          0 GB         2 KB      0.00%
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Erasing page at address 0xC000.
Erasing page at address 0xD000.
Erasing page at address 0xE000.
Erasing page at address 0xF000.
Erasing page at address 0x10000.
Erasing page at address 0x11000.
Erasing page at address 0x12000.
Erasing page at address 0x13000.
Erasing page at address 0x14000.
Erasing page at address 0x15000.
Erasing page at address 0x16000.
Erasing page at address 0x17000.
Erasing page at address 0x18000.
Erasing page at address 0x19000.
Erasing page at address 0x1A000.
Erasing page at address 0x1B000.
Erasing page at address 0x1C000.
Erasing page at address 0x1D000.
Erasing page at address 0x1E000.
Erasing page at address 0x1F000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Verifying programming.
Verified OK.
Applying system reset.
Run.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I try to run wifi scan I get an error,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ wifi scan
Scan request failed
[00:00:12.786,285] &amp;lt;err&amp;gt; wifi_winc1500: Failed to request scan
uart:~$ 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/325212?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 04:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1958f1-a7df-4e13-beb7-80245e213844</guid><dc:creator>pirun lee</dc:creator><description>&lt;p&gt;Hi Rod,&lt;/p&gt;
&lt;p&gt;The compile error is caused by lacking of HAL of ATMEL WINC1500.&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t include in nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Please add ATMEL module in nrf/west.yml.&lt;/p&gt;
&lt;p&gt;Then &lt;em&gt;&lt;strong&gt;west update&lt;/strong&gt;&lt;/em&gt; again to pull winc1500 related code.&lt;/p&gt;
&lt;p&gt;Here is sample for you.&lt;/p&gt;
&lt;p&gt;--- a/west.yml&lt;br /&gt;+++ b/west.yml&lt;br /&gt;@@ -102,7 +102,12 @@ manifest:&lt;br /&gt; remote: zephyrproject&lt;br /&gt; path: modules/lib/openthread&lt;br /&gt; revision: f460532d4afa5d49feba241e5dc31c56123d31a8&lt;br /&gt;-&lt;br /&gt;+ - name: hal_atmel&lt;br /&gt;+ remote: zephyrproject&lt;br /&gt;+ path: modules/hal/atmel&lt;br /&gt;+ revision: master&lt;br /&gt;+ groups:&lt;br /&gt;+ - hal&lt;/p&gt;
&lt;p&gt;You can check if there is hal of atmel.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/atmel_5F00_hal_5F00_winc1500.png" /&gt;&lt;/p&gt;
&lt;p&gt;The second error &amp;quot;&amp;nbsp;&amp;lt;err&amp;gt; net_if: There is no network interface to work with!&amp;quot; is caused by commenting out CONFIG_WIFI=y.&lt;br /&gt;Once you have HAL of ATMEL, please add back&amp;nbsp;CONFIG_WIFI=y and&amp;nbsp;CONFIG_WIFI_WINC1500=y.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/324326?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 18:49:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963c855b-0f8a-494a-8944-b99934ab34a4</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;H&amp;aring;kon, no problem, thanks for keeping me&amp;nbsp;posted &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rod&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK and WINC1500 WiFi Module</title><link>https://devzone.nordicsemi.com/thread/324265?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 13:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87ed244e-c175-4ceb-a13e-9476ebe3096a</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Rod, thank you for this request. I am just letting you know I will be looking into this. Several team members are on summer vacation at the moment, so please expect a delayed reply. &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></channel></rss>