<?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 in sequential execution of SAADC and SPI.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41458/problem-in-sequential-execution-of-saadc-and-spi</link><description>Hello All, 
 I am trying to interface an analog sensor with nrf52832, whose analog values have to be converted using SAADC and has to be sent over SPI to another chip. But, Nordic is not allowing me to access the SAADC functionality before SPI rather</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Dec 2018 12:50:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41458/problem-in-sequential-execution-of-saadc-and-spi" /><item><title>RE: Problem in sequential execution of SAADC and SPI.</title><link>https://devzone.nordicsemi.com/thread/162076?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 12:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b00181-5b23-4706-96e7-0dba26248b37</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;But, Nordic is not allowing me to access the SAADC functionality before SPI rather the SPI takes priority and runs before SAADC.&amp;quot;&lt;br /&gt;&lt;br /&gt;-We need specifics because we have no idea what you&amp;#39;re doing or what you want to do.&lt;br /&gt;&lt;br /&gt;&amp;quot;I tried to change the sequence by changing the priority in configuration file nothing seems to work.&amp;quot;&lt;br /&gt;&lt;br /&gt;-Modifying the interrupt priority is probably not what you need to do to achieve your goal.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The only difference that you need to do to the application in this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40859/problem-when-integrated-saadc-and-spi"&gt;Link&lt;/a&gt;&amp;nbsp;is to add the write FIFO opcode of 0x0E to the SPIM buffer. &lt;br /&gt;Since this opcode is static after you&amp;#39;ve configured the device you can just declare a buffer with the opcode (0x0E) as the first element and have the SAADC buffer point to the second element of the SPIM buffer.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in sequential execution of SAADC and SPI.</title><link>https://devzone.nordicsemi.com/thread/161806?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 08:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e741cb59-f7f7-4ab7-8a10-b68958f384f5</guid><dc:creator>Tony Stark</dc:creator><description>&lt;p&gt;The chip here i mean the HI 3585 IC. The digital values have to be sent to the IC via SPI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in sequential execution of SAADC and SPI.</title><link>https://devzone.nordicsemi.com/thread/161804?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 07:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a25397f-e3ca-451c-a47f-850f96456742</guid><dc:creator>Tony Stark</dc:creator><description>&lt;p&gt;All i want to do is fetch analog data from sensor, convert the values using SAADC and pass the converted values using SPI communication to another chip. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in sequential execution of SAADC and SPI.</title><link>https://devzone.nordicsemi.com/thread/161163?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 10:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa22c228-acd2-4347-aec6-8626431a9f44</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;What exactly do you&amp;nbsp;want to do? We need details or we can&amp;#39;t help you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>