<?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 clock only ticks when a debug cable is connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65937/nrf52840-clock-only-ticks-when-a-debug-cable-is-connected</link><description>I have a Thingy:91 connected to a Garmin LIDAR Lite v4 (built on the nRF52840) via four GPIO cables. The code running on the Garmin reads one GPIO pin to signal a measurement and toggles another one when the measurement is complete. The two devices communicate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Sep 2020 12:19:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65937/nrf52840-clock-only-ticks-when-a-debug-cable-is-connected" /><item><title>RE: nRF52840 clock only ticks when a debug cable is connected</title><link>https://devzone.nordicsemi.com/thread/270838?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 12:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6dc6868-f8e8-4f6e-a7e2-90206390ae0a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume that you&amp;#39;re still supplying the device after you&amp;#39;ve disconnected the J-link?&lt;/p&gt;
[quote user="lindemer"]The problem is that this system works only when the JLink cable is connected to the LIDAR sensor (not the Thingy:91) AND JlinkRTTLogger is running. We can confirm this by measuring the voltage on the GPIOs and seeing that the LIDAR stops toggling the &amp;quot;monitor&amp;quot; GPIO pin when the logger is stopped or the JLink cable is disconnected.[/quote]
&lt;p&gt;I think this depends on the application running on the LIDAR. There is nothing in the nRF52840 HW which makes it dependent on the J-link and RTT logger for it to run an application. As we don&amp;#39;t have any insight on the application running on the LIDAR, I think this question should be directed to Garmin.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 clock only ticks when a debug cable is connected</title><link>https://devzone.nordicsemi.com/thread/270470?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 07:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c57f4c-defd-46b1-9ace-cc033336a8ce</guid><dc:creator>lindemer</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Please excuse the delay. The datasheet you&amp;#39;re referring to is for the previous generation of the device. The new one is available &lt;a href="https://static.garmin.com/pumac/LIDAR-Lite%20LED%20v4%20Instructions_EN-US.pdf"&gt;here&lt;/a&gt;. A 10-pin JLink cable has been connected as shown at the top of page 8, and the four other exposed pins are connected to the SPARE1-SPARE4 pins on the Thingy:91. (The boards are also connected to a shared ground.)&lt;/p&gt;
&lt;p&gt;We are interfacing with the LIDAR sensor with the method described at the top of page 3. (Two GPIOs are used to trigger a measurement and see if one is ready, and the other two are I2C for reading the distance.)&lt;/p&gt;
&lt;p&gt;The problem is that this system works only when the JLink cable is connected to the LIDAR sensor (not the Thingy:91) AND JlinkRTTLogger is running. We can confirm this by measuring the voltage on the GPIOs and seeing that the LIDAR stops toggling the &amp;quot;monitor&amp;quot; GPIO pin when the logger is stopped or the JLink cable is disconnected.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 clock only ticks when a debug cable is connected</title><link>https://devzone.nordicsemi.com/thread/269794?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 08:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c90ecc77-f83f-47bb-a405-931b24106708</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just to make sure this isn&amp;#39;t a matter of how the sensor is supplied:&amp;nbsp;&lt;/p&gt;
[quote user=""] but ONLY when the debug cable is still connected to the Garmin.[/quote]
&lt;p&gt;&lt;span&gt;Could you elaborate a bit more (maybe provide a sketch) on how they are connected?&amp;nbsp;&lt;/span&gt;I&amp;#39;m not sure which debugger interface on the LIDAR sensor that you&amp;#39;re referring to. I see from the &lt;a href="https://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf"&gt;datasheet&lt;/a&gt; that it has a I2C interface along with VCC, GND and Mode control pin. Maybe I&amp;#39;m looking at the wrong datasheet?&lt;/p&gt;
&lt;p&gt;How is the Thingy:91 supplied?Is the LIDAR sensor supplied by the Thingy:91? The debugger interface is connected to the 1V8 supply net of the nRF9160. Is the Thingy:91 running without the debugger connected, if so what do you measure on the supply of the LIDAR then.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 clock only ticks when a debug cable is connected</title><link>https://devzone.nordicsemi.com/thread/269545?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 07:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57162560-f9ab-4bfd-a49b-84e5df0e9b67</guid><dc:creator>lindemer</dc:creator><description>&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; It appears that the device only works when the debug cable is connected &lt;span style="text-decoration:underline;"&gt;and&lt;/span&gt; JLinkRTTLogger is running. This is very strange behavior indeed...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>