<?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>AtTheCore: Blog #2 - Interfacing LED Bar with ALS</title><link>/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atthecore-blog-2---interfacing-led-bar-with-als</link><description>Table of Contents

 Introduction 
 Running on Cortex M4 Core 
 Code 
 Activating IOs using Device Configurator 
 
 Interfacing LED Bar and Testing 
 Videos 


Introduction
This blog is about interfacing the LED bar with the PSoC CY8CKIT-062S4 board through</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: AtTheCore: Blog #2 - Interfacing LED Bar with ALS</title><link>https://community.element14.com/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atthecore-blog-2---interfacing-led-bar-with-als</link><pubDate>Tue, 02 May 2023 20:45:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d171b5a1-af86-497e-90fd-175d78025540</guid><dc:creator>navadeepganeshu</dc:creator><slash:comments>0</slash:comments><description>&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Continuing over this, there is a very interesting method for doing inter-process communication(IPC). Within the same lock/unlock cage of semaphore, this IPC can be implemented to transfer data between the processes. I am currently trying this feature using&amp;nbsp;&lt;span&gt;Cy_IPC_Drv_SendMsgWord() and&amp;nbsp;Cy_IPC_Drv_ReadMsgWord()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt="image" height="424" src="/resized-image/__size/664x848/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d171b5a1-af86-497e-90fd-175d78025540/pastedimage1683060012353v1.png" width="332" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:b64e0b82-8e4c-44b8-80fa-3eb8366d8d1f:type=c_cpp&amp;text=%0A%2F%2AMotor%20ON%20full%20speed%20if%20ALS%20%3E%2060%25%20using%20IPC%20pipe%2A%2F%0Aif%28light_intensity%20%3E%3D%2060%29%0A%7B%0AmyMsg%20%3D%200x1%3B%20%2F%2A%20MOTOR%20ON%20message%20%2A%2F%0A%0A%20%20%20%20if%20%28CY_IPC_DRV_SUCCESS%20%21%3D%20Cy_IPC_Drv_SendMsgWord%28myIpc%2C%20MY_IPC_INTR_MASK%2C%20myMsg%29%29%0A%20%20%20%20%7B%0A%20%20%20%20%2F%2A%20Insert%20error%20handling%20%2A%2F%0A%20%20%20%20%0A%20%20%20%20%7D%0A%7D]&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="evolution-code-editor theme-clouds"&gt;
&lt;div class=" ace_editor ace-clouds"&gt;
&lt;div class="ace_scroller"&gt;
&lt;div class="ace_content"&gt;
&lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;
&lt;div class="ace_cursor"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25724&amp;AppID=392&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: AtTheCore: Blog #2 - Interfacing LED Bar with ALS</title><link>https://community.element14.com/challenges-projects/design-challenges/at-the-core-design-challenge/b/blog/posts/atthecore-blog-2---interfacing-led-bar-with-als</link><pubDate>Tue, 18 Apr 2023 20:54:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d171b5a1-af86-497e-90fd-175d78025540</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very good blog post! But I had difficulty understanding what CM4 was. I wondered if it was a Pi 4 Compute Module.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I now know you mean Cortex-M4 but the acronym will get confusing if shortened to CM4, I&amp;#39;ve not seen it shortened to that before.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=25724&amp;AppID=392&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>