<?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>Again about Single Edge Nibble Transmission (SENT) protocol realization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39929/again-about-single-edge-nibble-transmission-sent-protocol-realization</link><description>I didn&amp;#39;t recieve answer to my second question in this topic , so I start new one. 
 Is there any way to get usec time measurement with softdevice? 
 I need to analyze SENT protocol. For example here on page 12 is nibble timing. 
 S oftDevice&amp;#39;s timing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2019 14:46:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39929/again-about-single-edge-nibble-transmission-sent-protocol-realization" /><item><title>RE: Again about Single Edge Nibble Transmission (SENT) protocol realization</title><link>https://devzone.nordicsemi.com/thread/175719?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 14:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b2a6731-9584-4451-ad07-801556838e2d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry for the slow response. I forgot to check my verified cases ....&lt;/p&gt;
&lt;p&gt;Did you find a solution to this problem?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again about Single Edge Nibble Transmission (SENT) protocol realization</title><link>https://devzone.nordicsemi.com/thread/155055?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 09:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b882a477-a9ff-4f84-95d3-7d99c7f833be</guid><dc:creator>ArtG89</dc:creator><description>&lt;p&gt;I think SAADC isn&amp;#39;t quick&amp;nbsp;enough. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_1_0_36_11_0#unique_1874651084"&gt;Max sample rate is 200 kHz&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again about Single Edge Nibble Transmission (SENT) protocol realization</title><link>https://devzone.nordicsemi.com/thread/155044?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 09:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97bd91f0-eb0c-473d-b314-b35b8527664d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The easiest way to do this would probably be to run a TIMER module&amp;nbsp;at 1MHz, giving you a timing resolution of 1us. Then you could connect the input pin to the TIMER over PPI, and have a capture register in the timer updated every time there is a transition on the pin.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem with this method is that you need to read out the value of the capture register between each pin change, and if you are in the middle of a SoftDevice interrupt you will not be able to do it in time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another trick is to use the SAADC module to sample the pin continuously. The SAADC has a DMA controller that allows you to pipe data continuously to the RAM even during SoftDevice interrupts, and as such you don&amp;#39;t have to worry about interrupts.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The drawback of this method is that it is quite complex, and will be quite power intensive while running. It will also require some processing to decode the ADC data after read out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>