<?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>Send the packet from peripheral to central, why see the current pulse about 1000ms later</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118962/send-the-packet-from-peripheral-to-central-why-see-the-current-pulse-about-1000ms-later</link><description>ncs v2.9.0 
 peripheral_uart (nRF52840) modified code 
 central_uart (nRF52832) unmodified code 
 using power monitor for current consumption 
 
 When I send the packet from peripheral to central, except empty PDU packet, I also see the current pulse</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2025 09:52:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118962/send-the-packet-from-peripheral-to-central-why-see-the-current-pulse-about-1000ms-later" /><item><title>RE: Send the packet from peripheral to central, why see the current pulse about 1000ms later</title><link>https://devzone.nordicsemi.com/thread/523211?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 09:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d8eca39-dba3-4994-a03d-95902e67b74d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure I understand how to read the latency from these current measuremetns. Can you elaborate mor on how you test? At which points in the code do you consider the data sent and received, and can you toggle GPIO&amp;#39;s on those and meaure with a logic analyze or similar?&lt;/p&gt;
[quote user="James168"]2) Is there a simpler sample than peripheral_uart and central_uart to just send the packet&amp;nbsp;periodically, I can check if it has unexpected current pulse or not.[/quote]
&lt;p&gt;The central /periphearl UART (NUS) samples are probably the simpest samples for exchagning data in a connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send the packet from peripheral to central, why see the current pulse about 1000ms later</title><link>https://devzone.nordicsemi.com/thread/523208?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 09:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b4bb639-a3b8-477e-b7f6-e38582c7d70f</guid><dc:creator>James168</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) The long connection interval is clear to identify the TX and unknown current pulses, otherwise they may overlay with empty PDU current pulses. Using the shorter connection interval parameters still have unknown current pulse 1000ms later. The settings are as the following,&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PERIPHERAL_PREF_LATENCY&lt;/span&gt;&lt;span&gt;=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_PERIPHERAL_PREF_TIMEOUT&lt;/span&gt;&lt;span&gt;=400&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;2) Is there a simpler sample than peripheral_uart and central_uart to just send the packet&amp;nbsp;periodically, I can check if it has unexpected current pulse or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send the packet from peripheral to central, why see the current pulse about 1000ms later</title><link>https://devzone.nordicsemi.com/thread/523046?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 12:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a69b8fb-cb05-4d38-971b-200a3f69beb6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure exactly how you measure this other than looking at the current draw, but&amp;nbsp;looking at the sniffer trace it seems the connection interval is about 1.8 seconds, so I would seg a high latency is expected here. If you need a short(er) latency, you need to reduce the connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>