<?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>Using SAADC Advanced mode with high sampling rate together with Zephyr ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117409/using-saadc-advanced-mode-with-high-sampling-rate-together-with-zephyr-adc</link><description>Hello, 
 
 I have an application where I want to read the voltage of a battery every 5 minutes for this I&amp;#39;m using the Zephyr ADC library. But now I also want to read the ADC value of a sensor with a high sampling rate of ~2 kHz or higher. I also want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2025 14:51:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117409/using-saadc-advanced-mode-with-high-sampling-rate-together-with-zephyr-adc" /><item><title>RE: Using SAADC Advanced mode with high sampling rate together with Zephyr ADC</title><link>https://devzone.nordicsemi.com/thread/517038?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:51:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f03b6b19-9531-436d-bd47-f66b1a73ead3</guid><dc:creator>_jonas_</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Vidar,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sorry for the late response! I implemented the switching by reconfiguring the driver as you suggested and it works fine.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jonas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SAADC Advanced mode with high sampling rate together with Zephyr ADC</title><link>https://devzone.nordicsemi.com/thread/515770?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 14:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:264504d4-9d6a-46ae-b41f-f35f06e06afa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jonas,&lt;/p&gt;
&lt;p&gt;You are right, it is not possible to use both the zephyr and nrfx to interface the SAADC,&amp;nbsp;so it is necessary&amp;nbsp;to choose one (nrfx in this case). Also, when using the nrfx driver, you can&amp;#39;t use different modes concurrently. That said, given how infrequent the battery measurements are, I don&amp;#39;t see a problem with reconfiguring the driver before taking the battery sample, then reconfigure it back to sampling the sensor&amp;nbsp;output provided you don&amp;#39;t need to sample&amp;nbsp;continuously at 2k.&lt;/p&gt;
&lt;p&gt;I would expect the current consumption to be around 1.2-2 mA while sampling (depends on supply voltage on whether you are using the LDO or DCDC regulator).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>