<?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>Zephyr benchmark in NRF5340DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112850/zephyr-benchmark-in-nrf5340dk</link><description>I&amp;#39;m currently working on a project where I need to assess the power handling capability of my NRF5340-DK board using different scheduling algorithms. For this purpose, I&amp;#39;ve chosen to utilize the Zephyr benchmark scheduler (tests/benchmarks/sched/). 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jul 2024 13:34:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112850/zephyr-benchmark-in-nrf5340dk" /><item><title>RE: Zephyr benchmark in NRF5340DK</title><link>https://devzone.nordicsemi.com/thread/493179?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 13:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:060fefff-fe81-4698-bb77-85701f8c964a</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I looked into the sample, and it looks like the sample is running correctly.&lt;/p&gt;
&lt;p&gt;The issue is that the sample is designed to timestamp how many&amp;nbsp;&lt;em&gt;cycles&lt;/em&gt; there are between scheduling events. &lt;br /&gt;On the nRF5340 (and nRF52s), this cycle count is sourced from RTC1, which runs at 32768Hz.&amp;nbsp;This resolution is not enough to&amp;nbsp;capture meaningful data&amp;nbsp;for something as fast as the scheduler.&lt;/p&gt;
&lt;p&gt;I cannot comment about the other MCU you tested with, and&amp;nbsp;I don&amp;#39;t know your goal for this evaluation. However, I assume you want to have a meaningful comparison. For that&amp;nbsp;you will need to reimplement the&amp;nbsp;application so that&amp;nbsp;the timestamps are based on something more universal, such as microseconds.&lt;/p&gt;
&lt;p&gt;On the nRF5340, you could set up a TIMER peripheral at maximum speed (16MHz)&amp;nbsp;for this purpose. Again, I cannot comment for the other MCU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr benchmark in NRF5340DK</title><link>https://devzone.nordicsemi.com/thread/493039?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 19:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6feb3e8-9faa-47f1-ac39-2b87de94566a</guid><dc:creator>Victor Lima de Souza</dc:creator><description>&lt;p&gt;Ok. Much obliged.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr benchmark in NRF5340DK</title><link>https://devzone.nordicsemi.com/thread/493038?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 19:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a949ec4-c006-4bef-9ffb-afee55b0a1cc</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Victor Lima,&lt;/p&gt;
&lt;p&gt;I will need some time to&amp;nbsp;investigate this. I will follow up with you by the end of this week.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>