<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>Add a competing ADC Task to the Multi-core FreeRTOS SMP Project with the Raspberry Pi Pico</title><link>/products/raspberry-pi/b/blog/posts/add-a-competing-adc-task-to-the-multi-core-freertos-smp-project-with-the-raspberry-pi-pico</link><description>FreeRTOS Symmetric Multiprocessing (SMP) is a recent version of the RTOS that can schedule tasks across multiple controller cores. It&amp;#39;s currently in test phase, and they have a version for the RP2040. In this blog post, I add a second A...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Add a competing ADC Task to the Multi-core FreeRTOS SMP Project with the Raspberry Pi Pico</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/add-a-competing-adc-task-to-the-multi-core-freertos-smp-project-with-the-raspberry-pi-pico</link><pubDate>Wed, 05 Oct 2022 18:42:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5d8d79ad-e47c-4871-80c9-b2b4f291c7eb</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m parking the subject for a moment. My goal is to learn multi-core RTOS. And the next topic is one I&amp;#39;ll have to read-up for&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1: &amp;quot;what is the impact to an RTOS design, if a low-priority task can run together with a high-priority one?&amp;quot;&lt;/li&gt;
&lt;li&gt;2: &amp;quot;how do I run critical code, that can&amp;#39;t be interrupted?&amp;quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These have never been a scenario in single-core RTOS.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1: Any job running at a given time was always the highest priority one that needed runtime.&lt;/li&gt;
&lt;li&gt;2: nothing (even interrupts) were running when a critical code section was active&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are solutions for both. Raw (block these new possibilities - for backward compatibility) or Nice (deal with the new situations and possibilities).&lt;br /&gt;The Raw option is easier for migrating existing code that assumes those single-core perks. &lt;br /&gt;The Nice option allows for more functionality running at the same time and maximises the multi-core advantages. But at increased complexity and book-keeping.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=24504&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add a competing ADC Task to the Multi-core FreeRTOS SMP Project with the Raspberry Pi Pico</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/add-a-competing-adc-task-to-the-multi-core-freertos-smp-project-with-the-raspberry-pi-pico</link><pubDate>Sun, 02 Oct 2022 17:50:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5d8d79ad-e47c-4871-80c9-b2b4f291c7eb</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=24504&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>