<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52840 Dongle with SX1276, Blink example doesn&amp;#39;t Blink</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99824/nrf52840-dongle-with-sx1276-blink-example-doesn-t-blink</link><description>I successfully installed a SX1276 with a nRF5340 and transmitted some lorawan packets to Helium Network. 
 After I concluded I could do the same using the nRF52840. So I installed another one module solded on dongle&amp;#39;s pin. 
 In order to start this project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jun 2023 12:22:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99824/nrf52840-dongle-with-sx1276-blink-example-doesn-t-blink" /><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/429988?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 12:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4239bf43-b711-4f37-8f11-f80e5a951841</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again Flavio&lt;/p&gt;
&lt;p&gt;Yes, that makes sense. I got mixed up since it was pins 13 and 15 used on both ports. As for why the nRF52840 Dongle doesn&amp;#39;t run correctly, I&amp;#39;m afraid further debugging will be required. On the backside of the nRF52840 Dongle there is a 10 pin header footprint (P1) that you can solder a 10 pin debug header to and use to debug the device. Alternatively use the SWDIO and SWCLK pins near the USB header for debugging:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686226813162v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Most likely I assume it crashes somewhere in the LORA driver initialization and that&amp;#39;s why you don&amp;#39;t see it blink at all.&amp;nbsp;If you&amp;#39;re able to find an error code from a function or some debugging information at all we might be able to narrow it down.&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: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/429637?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 16:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e498491-167b-4cbf-8fa7-b0d377d33a43</guid><dc:creator>FlavioPiracicaba</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The spi is working well. I can send and receive spi commands.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; The lines gpio0-13 and gpio0015 are used to connect the DIO of chip SX1276. These lines are not SPI. They are not mixed. If I compile the blink without these instructions on .prj the led blink because this I can conclude there isn&amp;#39;t any problem with these wires.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; These Lora Drivers are working very well on NRF53 with the same configurations. In fact I only took the blink example because is very basic. I only activated the the configs on prj. I am not calling any function.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Should blink, but is not blinking.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Flavio.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/429548?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 12:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e1e0faf-2342-4bfc-b71d-aa0b119c404c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As the LORA drivers are experimental I&amp;#39;m afraid we haven&amp;#39;t done thorough testing and can guarantee that it will work on all of our products. I assume that you have double checked that all the pins are connected correctly to the Dongle in your project, and that none of the pins used for SPI is used for something else in your project causing conflicts?&lt;/p&gt;
&lt;p&gt;Taking another look at your .overlay file it seems like you&amp;#39;re mixing up the GPIOs P1.13 and P1.15. You&amp;#39;ve configured them to use Port 0 (P0.13 and P0.15) below, but to Port 1 further down and in your comments.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;                 &amp;lt;&amp;amp;gpio0 15 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)&amp;gt;, //DIO-0
                 &amp;lt;&amp;amp;gpio0 13 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)&amp;gt;; //DIO-1&lt;/pre&gt;&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: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/429229?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 09:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40069cfe-823c-4aa4-afa0-882e8cb9646c</guid><dc:creator>FlavioPiracicaba</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used the original blink project and compiled for nRF52&amp;#39;s dongle. I didn&amp;#39;t change anything.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I compiled and flashed worked. Led1 blinked.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I added these lines on .prj without any extra code on main, compiled and flashed, didn&amp;#39;t blink.:&lt;/p&gt;
&lt;p&gt;CONFIG_SPI=y&lt;br /&gt;&lt;br /&gt;CONFIG_LORA=y&lt;br /&gt;&lt;br /&gt;CONFIG_LORA_SX12XX=y&lt;br /&gt;CONFIG_LORA_SX127X=y&lt;br /&gt;CONFIG_LORAWAN=y&lt;br /&gt;CONFIG_LORAMAC_REGION_EU868=y&lt;br /&gt;CONFIG_LORA_LOG_LEVEL_DBG=y&lt;br /&gt;CONFIG_HAS_SEMTECH_RADIO_DRIVERS=y&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2023_2D00_06_2D00_05-at-11.52.21.jpeg" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2023_2D00_06_2D00_05-at-11.51.56.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Att,&lt;/p&gt;
&lt;p&gt;Flavio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/429213?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 09:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5611255e-1dba-4102-95ff-ac5b674b8ce5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Abhijith is out of office this week, so I&amp;#39;ll handle this case for now. Sorry about the delays here, but there have been multiple public holidays in Norway the last few weeks. Thank you for your patience!&lt;/p&gt;
&lt;p&gt;Just to make sure, the LED1 you refer to is the onboard LD1 on the Dongle, correct? This one is by default hardwired to GPIO P0.06, so have you configured this as a LED in your board/overlay file of your project? I can&amp;#39;t see it anywhere in your uploaded files, so that might be why. This is how LEDs are configured in our &lt;strong&gt;nRF52840dongle_nrf52840.dts&lt;/strong&gt; file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0_green: led_0 {
			gpios = &amp;lt;&amp;amp;gpio0 6 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1_red: led_1 {
			gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Red LED 1&amp;quot;;
		};
		led1_green: led_2 {
			gpios = &amp;lt;&amp;amp;gpio1 9 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led1_blue: led_3 {
			gpios = &amp;lt;&amp;amp;gpio0 12 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Blue LED 1&amp;quot;;
		};
	};&lt;/pre&gt;&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: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/428434?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 11:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a9a1dc-35ff-45fd-9bf1-2be93b506eae</guid><dc:creator>FlavioPiracicaba</dc:creator><description>&lt;p&gt;Hello Abhihith,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Any news?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Flavio&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/427851?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 14:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a506f92f-0ee9-49ce-805d-fb17950c88c2</guid><dc:creator>FlavioPiracicaba</dc:creator><description>&lt;p&gt;Hello Abhijith,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; In this case I couldn&amp;#39;t have a UART log because It&amp;#39;s a dongle. I just save the .prj e the led didn&amp;#39;t blink.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/427831?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 13:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:769486b1-6b72-4324-bd23-d0ac23b95af0</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Sorry this case slipped out of my queue after last Friday, due to the large inflow of cases as we were short staffed. I really appreciate that you responded which put your case back into my queue. I have started looking into this now. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Can you please share the UART log file to get a better insight of this issue?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Kind Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Abhijith&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/427654?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 06:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8975bd-7586-4d44-8d2c-d78dfae5462f</guid><dc:creator>FlavioPiracicaba</dc:creator><description>&lt;p&gt;Ok. I am waiting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle with SX1276, Blink example doesn't Blink</title><link>https://devzone.nordicsemi.com/thread/426235?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 11:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46fc8752-d296-4144-a04d-cf6ae0ca6c5a</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I am sorry, but we are short staffed this week due to Public Holidays in Norway. We will be back on Monday 22nd and hope to be able to answer all incoming requests within a couple of days, depending on the backlog. I am sorry for the inconvenience.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>