<?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>timer seems to stop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37936/timer-seems-to-stop</link><description>The hardware is a custom board with a Rigado BMD300 module (which uses the nRF52832). I am using Softdevice S132. 
 My code base started as the ble_app_uart peripheral example. To this I am trying to add SPI code to communicate with multiple SPI-to-UART</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Aug 2018 20:09:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37936/timer-seems-to-stop" /><item><title>RE: timer seems to stop</title><link>https://devzone.nordicsemi.com/thread/146378?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 20:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aad1ff8d-5bb8-470f-a246-549f5bad999c</guid><dc:creator>Steven Grunza</dc:creator><description>&lt;p&gt;The answer turns out to be careful about cut-n-paste errors in the SPI controller management code.&amp;nbsp; The SPI controller dedicated to the right side port had left-over references to the SPI controller dedicated to the left side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer seems to stop</title><link>https://devzone.nordicsemi.com/thread/146349?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 14:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9993ada9-9e4f-45a1-b2b0-a21c133a376f</guid><dc:creator>Steven Grunza</dc:creator><description>&lt;p&gt;The timestamp variable is global.&amp;nbsp; Making it volatile did not change the assembly code that was generated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think these are the relevant files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0118.main.c"&gt;devzone.nordicsemi.com/.../0118.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spi.c"&gt;devzone.nordicsemi.com/.../spi.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/84487.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../84487.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3683.main.h"&gt;devzone.nordicsemi.com/.../3683.main.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: timer seems to stop</title><link>https://devzone.nordicsemi.com/thread/146210?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 06:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9676232-3e17-4bab-bd69-0d02ee419153</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you share more of your code? Is the&amp;nbsp;&lt;code&gt;timestamp&lt;/code&gt; variable &lt;code&gt;volatile&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>