<?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>SAADC reading during BLE transmit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61844/saadc-reading-during-ble-transmit</link><description>SDK: 15.2 IDE: Keil SoftDevice: 6.1.1 Board: Custom Hello, I would like to synchronize an SAADC reading during a BLE transmit event. The power source to my board is a CR2032 battery. As you may know, there are voltage dips in this supply during BLE transmit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 May 2020 09:39:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61844/saadc-reading-during-ble-transmit" /><item><title>RE: SAADC reading during BLE transmit</title><link>https://devzone.nordicsemi.com/thread/252119?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 09:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7d7491-9dad-44ff-907f-9ebc7c749a5f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;That depends a bit on what you want to sample. Do you want to sample both during TX and RX? A single sample, or a continuous sample during radio activity?&lt;/p&gt;
&lt;p&gt;If you want a single sample, you may use the RADIO-&amp;gt;EVENTS_ADDRESS event to trigger the SAADC-&amp;gt;TASKS_SAMPLE task directly.&lt;/p&gt;
&lt;p&gt;If you want continuous sampling, you can&amp;nbsp;use the RADIO-&amp;gt;EVENTS_READY and &lt;span&gt;RADIO-&amp;gt;EVENTS_DISABLED&amp;nbsp;&lt;/span&gt;events to start and stop a TIMER. The TIMER should be configured to trigger the SAADC-&amp;gt;TASKS_SAMPLE task at the shortest possible delay given by the configured acquisition time. One potential problem with this approach is that you may not know how many samples have been taken during the radio event. This could possibly be solved by clearing the entire buffer before starting sampling. When you read the buffer and encounter a cleared sample, you know that you have read all valid samples.&lt;/p&gt;
&lt;p&gt;Note that both TIMER and SAADC have high current consumption while running. It may be smart to keep it running only for a short period if possible when running of a coin-cell battery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading during BLE transmit</title><link>https://devzone.nordicsemi.com/thread/252031?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 15:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33403560-94a7-4f42-8d97-21c719599239</guid><dc:creator>BattleDroid</dc:creator><description>&lt;p&gt;Hello Jorgen,&lt;/p&gt;
&lt;p&gt;Thank you for confirming this is possible.&amp;nbsp; My follow up question is how&amp;nbsp;to sync these 2 events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading during BLE transmit</title><link>https://devzone.nordicsemi.com/thread/251981?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d220c6-d065-4448-aac2-9c7002e057e9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can trigger SAADC sampling from a TIMER through PPI, so it is possible to do sampling during BLE transmits. Are you asking about how to synch this, or just if it is possible?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>