<?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>Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40859/problem-when-integrated-saadc-and-spi</link><description>Hi all, 
 I am trying to interface HI-3585 with nrf52832 through SPI which works fine. Now i have merged the code with saadc program so as to transmit adc values through HI-3585 (SPI) .here is the data sheet Hi-3585 data sheet . I am trying this in debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Dec 2018 10:28:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40859/problem-when-integrated-saadc-and-spi" /><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/161161?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 10:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83054a3e-626c-45e9-be58-f2236600728f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Read&amp;nbsp;&lt;a class="activated" href="https://www.nordicsemi.com/en/DocLib/Content/Product_Spec/nRF52840/latest/ppi?479#concept_sxf_21l_1s"&gt;PPI &amp;mdash; Programmable peripheral interconnect&lt;/a&gt;&amp;nbsp;HW spec, check out the&amp;nbsp;&lt;a class="activated" href="https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ppi_example"&gt;PPI Example&lt;/a&gt;,&amp;nbsp;&lt;a href="https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__nrfx__ppi"&gt;PPI allocator&lt;/a&gt;&amp;nbsp;driver API.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/160496?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 05:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ceddd7e-ed5d-468c-b9f6-bd9ece9bd1d7</guid><dc:creator>SKV</dc:creator><description>&lt;p&gt;Thanks much for the help. Its working as expected. Could you please brief me on how to use PPI. A supportive document on know how would be great. I shall get back for further clarifications if any.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/160216?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 13:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21d01baa-a1ef-4dfc-aa15-ceed90a92476</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I&amp;#39;ve modified your code to trigger an SPIM transfer whenever the SAADC buffer has been filled:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-619c623e02c94beeb463feefb2072210/saadc-_2D00_-SKV.rar"&gt;devzone.nordicsemi.com/.../saadc-_2D00_-SKV.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-619c623e02c94beeb463feefb2072210/SAADC_2D00_SKV_2D00_1.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As you can see the MOSI line transfers 0x0D, 0x00.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-619c623e02c94beeb463feefb2072210/SAADC_2D00_SKV_2D00_2.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Each transfer happens with a 2 second interval when the SAADC sample interval is 400ms (400ms * 5 samples in buffer)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/160107?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 04:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61e07837-4bf6-4972-b94f-483de31bf7aa</guid><dc:creator>SKV</dc:creator><description>&lt;p&gt;Please find the attached here with. We are using SDK 15.2 with pca10040.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/saadc_5F00_spi.zip"&gt;Code&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/160020?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 15:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e0f804-c53f-4db2-b005-88f7567a6135</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;Now the issue here is SPI codes runs first and then comes the SAADC.&amp;quot;&lt;br /&gt;We need more information, please share your code.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/159653?ContentTypeID=1</link><pubDate>Fri, 30 Nov 2018 06:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cf2d087-6943-4419-8c4f-00ca9a97b4cc</guid><dc:creator>SKV</dc:creator><description>&lt;p&gt;Thanks for suggesting higher SDK version, and it worked out as expected.&lt;/p&gt;
&lt;p&gt;Now the issue here is SPI codes runs first and then comes the SAADC. Here we need it to work the other way where SAADC has to happen first and then SPI. I also tried changing the interrupt priority levels, but was not useful.&lt;/p&gt;
&lt;p&gt;Alternately i tried switching the sequence of function call in the main, but nothing worked. Is there any work around to address this issue?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/159026?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 13:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a32049e-0477-454c-9b66-b9e2ec2f3b39</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;First you need to use a newer SDK, either 14.2 or 15.2. They include workarounds for Erratas and other issues, as well as being way more mature.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Second, &amp;quot;&lt;span&gt;&amp;nbsp;the problem here is when i try to perform a read/write operation, it is not happening on one go rather takes multiple executions.&amp;quot;, we need more information. What exactly are you trying to do, what do expect to happen, and what actually happens?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem when integrated SAADC and SPI</title><link>https://devzone.nordicsemi.com/thread/158903?ContentTypeID=1</link><pubDate>Sat, 24 Nov 2018 07:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dca353a-1d33-44de-90b1-656e10251b77</guid><dc:creator>SKV</dc:creator><description>&lt;p&gt;The attachment is uploaded properly please find the attachment here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hi_2D00_3585_5F00_v_2D00_rev_2D00_o.pdf"&gt;Hi-3585 data sheet&lt;/a&gt;&amp;nbsp; and the project file&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/saadc.rar"&gt;saadc_spi&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>