<?xml version="1.0" encoding="UTF-8" ?>
<?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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Forum - Recent Threads</title><link>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Fri, 05 Dec 2025 11:55:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum" /><item><title>Smart Spaces Design Challenge - Winners Announcement</title><link>https://community.element14.com/thread/56496?ContentTypeID=0</link><pubDate>Fri, 05 Dec 2025 11:55:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:807bf771-c00d-4e84-8f58-843b1baa26dc</guid><dc:creator>JoRatcliffe</dc:creator><slash:comments>10</slash:comments><comments>https://community.element14.com/thread/56496?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56496/smart-spaces-design-challenge---winners-announcement/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi everybody, it&amp;rsquo;s time to announce our latest design challenge winners &amp;ndash; our Smart Spaces winners!&lt;br /&gt; &lt;br /&gt; First, let&amp;rsquo;s take a quick look back at the prizes and the competition details.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;The Prizes&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Prizes are subject to change but will be of similar price and style.&lt;/p&gt;
&lt;table class="jiveBorder" style="background-color:#fff;border:1px solid #c6c6c6;" border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #c6c6c6;color:#505050;padding:6px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Prize&lt;/strong&gt;&lt;/th&gt;
&lt;th style="background-color:#f2f2f2;border:1px solid #c6c6c6;color:#505050;padding:6px;text-align:left;" valign="middle"&gt;&lt;strong&gt;Prize Category&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #c6c6c6;padding:6px;text-align:center;vertical-align:top;"&gt;
&lt;p class="xbold"&gt;Grand Prize Winner and&amp;nbsp;&lt;span&gt;Runner Up&lt;/span&gt;&lt;/p&gt;
&lt;span&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/1323.Prize_2D00_01.png" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
&lt;td style="border:1px solid #c6c6c6;padding:6px;vertical-align:top;"&gt;
&lt;p class="xbold"&gt;Approximate Value&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span data-teams="true"&gt;&lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;$1160&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;USD&lt;/span&gt;*&lt;/p&gt;
&lt;p&gt;Nest Home Automation kit,&amp;nbsp;Google Nest CCTV and Doorbell set.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1px solid #c6c6c6;padding:6px;text-align:center;"&gt;
&lt;p class="xbold"&gt;Finisher Prize**&lt;/p&gt;
&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/5556.mpro.png_2D00_500x720.png" /&gt;&lt;br /&gt;
&lt;div class="xbold"&gt;To be a finisher you must complete 5 blogs and show us testing the resilience of their project.&lt;/div&gt;
&lt;/td&gt;
&lt;td style="border:1px solid #c6c6c6;padding:6px;vertical-align:top;"&gt;
&lt;p class="xbold"&gt;Approximate Value $30 USD*&lt;/p&gt;
&lt;p&gt;MultiComp Pro Multimeter Set&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div style="color:#e23d39;"&gt;&lt;/div&gt;
&lt;div style="color:#e23d39;"&gt;&lt;em&gt;*Or local equivalent&lt;/em&gt;&lt;br /&gt;&lt;em&gt;**Grand Prize and Runner Up winners&amp;nbsp;will also earn the finisher prize.&lt;/em&gt;&lt;/div&gt;
&lt;div style="color:#e23d39;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-size:150%;"&gt;&lt;strong&gt;The Challenge&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt; For the chance to win one of the prizes above, Challengers were tasked with using an NXP FRDM MCX A and an N Series (A15X) to create a building automation project. Projects that contained the most creative prototype &amp;ndash; along with posts that were media-rich &amp;ndash; would be viewed more favorably in the judging process.&lt;br /&gt; &lt;br /&gt; Now, it&amp;rsquo;s time to reveal the winners:&lt;br /&gt; &lt;br /&gt; &lt;strong&gt;Grand Prize Winner&lt;br /&gt; &lt;/strong&gt;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/a/projects/PR101/adaptive-environmental-monitoring-and-smart-access-control" data-e14adj="t"&gt;Adaptive Environmental Monitoring and Smart Access Control&lt;br /&gt;&lt;img loading="lazy" alt="image" style="max-height:100px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x200/__key/communityserver-discussions-components-files/441/adaptive-environmental-monitoring.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="https://community.element14.com/members/skruglewicz"&gt;skruglewicz&lt;/a&gt;&amp;nbsp; designed an intelligent building automation solution using a distributed architecture, with the NXP FRDM MCX A153 as the central hub and multiple FRDM MCX N236 boards as edge sensor nodes.&lt;strong&gt;&lt;br /&gt; &lt;br /&gt; Runner Up&lt;br /&gt; &lt;/strong&gt;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/a/projects/PR134/destination-dispatch-elevators---an-attempt" data-e14adj="t"&gt;Destination Dispatch Elevators&lt;br /&gt;&lt;img loading="lazy" alt="image" style="max-height:100px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x200/__key/communityserver-discussions-components-files/441/destination-dispatch-elevators.png" /&gt;&lt;/a&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href="https://community.element14.com/members/balajivan1995"&gt;balajivan1995&lt;/a&gt;&amp;nbsp; created an elevator system for optimizing usage to reduce the inefficiencies and crowding inherent in traditional elevator systems.&lt;strong&gt;&lt;br /&gt; &lt;br /&gt; &lt;/strong&gt;Congratulations to our winners! A big shout-out as well to our design challenge finisher!&lt;strong&gt;&lt;br /&gt; &lt;br /&gt; Finisher&lt;br /&gt; &lt;/strong&gt;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/a/projects/PR135/tinyml-enabled-low-power-exhaust-fans-for-smart-buildings" data-e14adj="t"&gt;TinyML enabled Low Power Exhaust Fans for Smart Buildings&lt;br /&gt;&lt;img loading="lazy" alt="image" style="max-height:100px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x200/__key/communityserver-discussions-components-files/441/tiny-ml-enabled-low-power.png" /&gt;&lt;/a&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href="https://community.element14.com/members/yamanoorsai"&gt;yamanoorsai&lt;/a&gt;&amp;nbsp; made a prototype smart exhaust fan that adjusts its speed based on the building&amp;#39;s air quality for applications such as 3D printer farms and crowded rooms, where air quality can fluctuate.&lt;br /&gt; &lt;br /&gt;&lt;a href="https://community.element14.com/members/e14alice"&gt;E14Alice&lt;/a&gt;&amp;nbsp; will be in touch to arrange the shipment of the prizes&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f381.svg" title="Gift"&gt;&amp;#x1f381;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; A big thanks to everyone who participated, contributed and discussed during the design challenge, and thank you also to NXP for their support.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Finished publishing my project</title><link>https://community.element14.com/thread/56492?ContentTypeID=0</link><pubDate>Tue, 02 Dec 2025 17:24:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2a9a1594-fd76-437a-b9eb-4c818fcd30f8</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56492?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56492/finished-publishing-my-project/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I am a day late but I did finish documenting my work so far. I would like to thank everyone for the opportunity to road test the MCX series development board. It has been a learning experience and documenting your project in any state goes to show what you have accomplished so far and the work left in your project. It has certainly been an eye opener.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DDS Elevator - Measuring up</title><link>https://community.element14.com/thread/56485?ContentTypeID=0</link><pubDate>Mon, 01 Dec 2025 12:50:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:98eae4a3-4992-47a4-97a1-436e6b927a82</guid><dc:creator>balajivan1995</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/56485?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56485/dds-elevator---measuring-up/rss?ContentTypeId=0</wfw:commentRss><description>&lt;div class="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcuue350" data-e14adj="t"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcuul811" data-e14adj="t"&gt;TOF sensor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcuv0hd2" data-e14adj="t"&gt;Interfacing multiple TOF sensor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcuvio33" data-e14adj="t"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcv87ui8" data-e14adj="t"&gt;Using ESP32 for interfacing with i2c&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcuvrbv4" data-e14adj="t"&gt;Failed Communication attempts&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcv00aa5" data-e14adj="t"&gt;SPI interface&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcv05b46" data-e14adj="t"&gt;CAN interfacing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jbcv0b3b7" data-e14adj="t"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="mcetoc_1jbcuue350"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Once the elevator starts moving, we need to know at which point the elevator should land and for that we need to measure the distance of the elevator from a fixed point. Since we will be designing for three elevators that will run side by side, we should aim to reduce the number of wirings as well. In this post, I will cover how we are going to measure the distance and the sensor arrangement.&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcuul811"&gt;TOF sensor&lt;/h1&gt;
&lt;p&gt;Typically, we could use Ultrasonic sensor, but I felt they are slightly bulky for this project and it needs a separate 5v for each node. So, I decided to use ToF sensors. ToF sensors are lot smaller, consumes less power and can be operated over I2C.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1764591978682v1.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;ToF sensors works in a way similar to ultrasonic sensor, except it measures the time it takes for IR/light to strike the target and reflect back.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1764592060586v3.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In this project we will be using a VL530x based ToF sensor which can measure up to 200cm. We just need the sensor to read the distance accurately up to 40cm.&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcuv0hd2"&gt;Interfacing multiple TOF sensor&lt;/h1&gt;
&lt;p&gt;Since we need 3 ToF sensors, we can&amp;rsquo;t interface them all directly we won&amp;rsquo;t have enough FlexComm peripheral for UART. So, I decided to use an I2C multiplexer. Using which we can connect up to 8 I2C devices.&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcuvio33"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1764592095903v4.jpeg" /&gt;&lt;/h1&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/i2c_5F00_mux.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;My initial plan was to interface the I2C multiplexer with A153 board, unfortunately I could not establish the I2C communication between them. I have tried to port different libraries available, but none of them seemed to work.&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcv87ui8"&gt;Using ESP32 for interfacing with i2c&lt;/h1&gt;
&lt;p&gt;Since I have already planned to use ESP32 to transmit lift telemetry, I have decided to expand the scope of ESP32 by interfacing it with ToF sensors and transmit the distances to N236 board using UART.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/sensor_5F00_kit_5F00_2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/assembled.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/tof_5F00_reading.webm"&gt;community.element14.com/.../tof_5F00_reading.webm&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcuvrbv4"&gt;Failed Communication attempts&lt;/h1&gt;
&lt;h2 id="mcetoc_1jbcv00aa5"&gt;SPI interface&lt;/h2&gt;
&lt;p&gt;Even though I know it will take lots of wiring, I decided to give a try for SPI communication between N236 (master) and A153 (slave) boards. Although I could get the communication working between them, there was a lot of workarounds and required master to initiate the conversation always. Which became a bothersome point, I decided to drop A153 altogether. N236 is powerful enough to do the work of A153 board which originally just required monitoring sensors and GPIOs.&lt;/p&gt;
&lt;h2 id="mcetoc_1jbcv05b46"&gt;CAN interfacing&lt;/h2&gt;
&lt;p&gt;N236 board comes with a CAN transceiver. Since ESP32 supports CAN communication, I wanted to interface them together. I was actually surprised to see that I could recreate the &amp;quot;LoopBack example&amp;quot; provided by NXP. Unfortunately, I ran into issue with ESP32 this time. ESP32 has introduced some breaking changes with their latest release and my old which I used as reference started throwing multiple build errors. At the end, I decided to keep the communication simple and decided to go with UART interface.&lt;/p&gt;
&lt;h1 id="mcetoc_1jbcv0b3b7"&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;This is my final forum post. So far, we have seen how the boards work, what are all the issues I have faced, and how to mitigate them. Throughout these trials and errors, I have to make changes in the original architecture I planned and adapt according to the new issues. In the last project article, we will conclude with our final demo model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Writing up my project report</title><link>https://community.element14.com/thread/56484?ContentTypeID=0</link><pubDate>Mon, 01 Dec 2025 08:38:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e0c2133d-dea4-4195-92a8-4a59a4d7061c</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/56484?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56484/writing-up-my-project-report/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I have gotten all the components working and working on writing the project report. I am just returning from the Thanksgiving holiday. To avoid violating the challenge requirement, I am thinking of submitting my draft as-is and continue editing my project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Will this work? I have no illusions that I am going to win the contest. I just want to document my work so far.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces - Using RT-Thread with FRDM- MCXA153</title><link>https://community.element14.com/thread/56476?ContentTypeID=0</link><pubDate>Wed, 26 Nov 2025 01:15:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:77e1ec7a-1c89-49e9-b281-90523f783b6c</guid><dc:creator>fyaocn</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/56476?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56476/smart-spaces---using-rt-thread-with-frdm--mcxa153/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h3 id="mcetoc_1j98s300b0"&gt;1&amp;nbsp;Brief on RT-Thread&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;RT-Thread&lt;/strong&gt;&lt;span&gt;​ (Real-Time Thread) is an open-source, embedded real-time operating system (RTOS). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Its key differentiator is that it&amp;#39;s not just a minimal kernel but a complete platform, offering a wide range of middleware components and a package management system, making it highly scalable for a broad spectrum of IoT applications,&amp;nbsp;&lt;/span&gt;&lt;span&gt;which allows for rapid prototyping and development of feature-rich IoT devices without the need to integrate and maintain numerous third-party libraries. It effectively bridges the gap between a simple RTOS like FreeRTOS and a full-featured OS like Linux.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300b1"&gt;2&amp;nbsp;Develop with SCons and Virtual ENV&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Developing with the RT-Thread&amp;nbsp;&lt;/span&gt;&lt;strong&gt;env&lt;/strong&gt;&lt;span&gt;​ environment and&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SCons&lt;/strong&gt;&lt;span&gt;​ is the standard and recommended way to build RT-Thread projects.&lt;/span&gt;&lt;/p&gt;
&lt;ul class="ybc-ul-component"&gt;
&lt;li class="ybc-li-component ybc-li-component_ul"&gt;&lt;span class="ybc-li-component_content"&gt;&lt;strong&gt;&lt;code class="hyc-common-markdown__code__inline"&gt;env&lt;/code&gt;(RT-Thread env tool):&lt;/strong&gt;​ This is a powerful auxiliary tool provided by RT-Thread. It&amp;#39;s not just a command-line interface; it&amp;#39;s an environment that contains the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;package manager&lt;/strong&gt;​ (&lt;code class="hyc-common-markdown__code__inline"&gt;pkgs&lt;/code&gt;) and a collection of Python-based build and configuration scripts. It&amp;#39;s the primary tool you interact with for project configuration.&lt;/span&gt;&lt;/li&gt;
&lt;li class="ybc-li-component ybc-li-component_ul"&gt;&lt;span class="ybc-li-component__dot-wp"&gt;&lt;/span&gt;&lt;span class="ybc-li-component_content"&gt;&lt;strong&gt;SCons:&lt;/strong&gt;​ This is an open-source build system, written in Python. It is the underlying engine that RT-Thread uses to compile source code, manage dependencies, and generate the final binary (like&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="hyc-common-markdown__code__inline"&gt;rtthread.elf&lt;/code&gt;,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="hyc-common-markdown__code__inline"&gt;rtthread.bin&lt;/code&gt;). You describe the build process in a Python script called&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="hyc-common-markdown__code__inline"&gt;SConstruct&lt;/code&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="ybc-li-component_content"&gt;&lt;/span&gt;&lt;span&gt;Download the rt-thread package from github and start the env&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/1.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;upgrade packages automatically,&lt;/p&gt;
&lt;p&gt;Here is the code main.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;rtdevice.h&amp;gt;
#include &amp;quot;drv_pin.h&amp;quot;

#define LED_PIN        ((3*32)+12)

int main(void)
{
#if defined(__CC_ARM)
    rt_kprintf(&amp;quot;using armcc, version: %d\n&amp;quot;, __ARMCC_VERSION);
#elif defined(__clang__)
    rt_kprintf(&amp;quot;using armclang, version: %d\n&amp;quot;, __ARMCC_VERSION);
#elif defined(__ICCARM__)
    rt_kprintf(&amp;quot;using iccarm, version: %d\n&amp;quot;, __VER__);
#elif defined(__GNUC__)
    rt_kprintf(&amp;quot;using gcc, version: %d.%d\n&amp;quot;, __GNUC__, __GNUC_MINOR__);
#endif

    rt_pin_mode(LED_PIN, PIN_MODE_OUTPUT);  /* Set GPIO as Output */
    rt_kprintf(&amp;quot;MCXA153 HelloWorld\n&amp;quot;);

    while (1)
    {
        rt_pin_write(LED_PIN, PIN_HIGH);    /* Set GPIO output 1 */
        rt_thread_mdelay(1000);               /* Delay 500mS */
        rt_pin_write(LED_PIN, PIN_LOW);     /* Set GPIO output 0 */
        rt_thread_mdelay(500);               /* Delay 500mS */
        rt_kprintf(&amp;quot;MCXA153.\n&amp;quot;);
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Other Key files in the project&lt;/p&gt;
&lt;p&gt;SConstruct: The main SCons build script. It sets up the global environment and includes other scripts.&lt;br /&gt;SConscript: Found in subdirectories (like libraries, packages). They define how to build the files in that specific directory.&lt;br /&gt;rtconfig.h: The C header file generated by menuconfigcontaining all your #defines.&lt;br /&gt;.config: The saved configuration for menuconfig.&lt;br /&gt;rtconfig.py: Contains Python variables for the compiler toolchain (e.g., EXEC_PATHfor the GCC toolchain location).&lt;br /&gt;packages/: The folder where pkgs --updatedownloads all the online software packages.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/4.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c2"&gt;3 Build the project with scons&lt;/h3&gt;
&lt;p&gt;Build the project with scons&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/3.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;output the rtthread.efg&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c3"&gt;4&amp;nbsp;Flash the board&lt;/h3&gt;
&lt;p&gt;Flash the board, use pyocd since the MCU-Link is CMSIS-Dap compatible,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/5.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Now it is ready to restart the board for result.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c4"&gt;5&amp;nbsp;Run with the blinky&lt;/h3&gt;
&lt;p&gt;Here is the result.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/gfx01.gif" /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DDS Elevator - Enabling LPUART in N236 board for Serial communication</title><link>https://community.element14.com/thread/56474?ContentTypeID=0</link><pubDate>Tue, 25 Nov 2025 17:55:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:df94483c-0e8e-4a66-877a-4c5ea6a8278c</guid><dc:creator>balajivan1995</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/56474?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56474/dds-elevator---enabling-lpuart-in-n236-board-for-serial-communication/rss?ContentTypeId=0</wfw:commentRss><description>&lt;div class="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2ah2m0" data-e14adj="t"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2anpp1" data-e14adj="t"&gt;Pin Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2aukn2" data-e14adj="t"&gt;Clock&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2b7403" data-e14adj="t"&gt;Peripheral&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2bdld4" data-e14adj="t"&gt;Transfer Method&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2bkhq5" data-e14adj="t"&gt;Callback&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2brnk6" data-e14adj="t"&gt;Modifying Driver code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2c2q47" data-e14adj="t"&gt;Configuring&amp;nbsp;Read Non-blocking function&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2chl08" data-e14adj="t"&gt;Output&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1jau2cp7n9" data-e14adj="t"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="mcetoc_1jau2ah2m0"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Since configuring UART is slightly complex and there is no proper tutorial on how to configure multiple UART to use and receive in a non-blocking manner, I have decided to write this blog to help others who might be in need of this. For this example, we will enable the default UART and the UART pins connected in the Micro Bus extension.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/MicroBus.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2anpp1"&gt;Pin Configuration&lt;/h1&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Peripheral&lt;/th&gt;
&lt;th&gt;Rx Pins&lt;/th&gt;
&lt;th&gt;Tx Pins&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Default&lt;/td&gt;
&lt;td&gt;P1_8&lt;/td&gt;
&lt;td&gt;P1_9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MicroBus&lt;/td&gt;
&lt;td&gt;P4_2&lt;/td&gt;
&lt;td&gt;P4_3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/default_5F00_uart.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/microuart.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2aukn2"&gt;Clock&lt;/h1&gt;
&lt;p&gt;We will use 12Mhz clock for both FC2 and FC4. From the clock page, activate clocks for both FlexComm peripherals.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/fc2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/fc4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/clock.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2b7403"&gt;Peripheral&lt;/h1&gt;
&lt;p&gt;We are not going to use DMA or RTOS, we will use the basic Device specific driver for this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/driver.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2bdld4"&gt;Transfer Method&lt;/h1&gt;
&lt;p&gt;Instead of polling method, we will use transfer method which is versatile and can be used either in blocking mode or as non-blocking mode.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/transfer.png" /&gt;&lt;/p&gt;
&lt;p&gt;We can capture more bytes at a same time, but it&amp;rsquo;s hard to know the amount of received data. Let&amp;rsquo;s say for example, we want to receive 10 bytes as default, and we receive only 5 bytes, the rx buffer will receive the minimum of both size which is 5 bytes, but we won&amp;rsquo;t know this detail when call back is triggered. So, for this example, we will receive one byte at a time.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/receive_5F00_buffer.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2bkhq5"&gt;Callback&lt;/h1&gt;
&lt;p&gt;Unless we configure the callback, we will have to rely on the return statement of&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;LPUART_TransferReceiveNonBlocking&lt;/pre&gt;&amp;nbsp;function which is not reliable in knowing how many bytes we have in our buffer. Lets enable the callback and give the name as &amp;quot;cb_rx&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/callback.png" /&gt;&lt;/p&gt;
&lt;p&gt;These are the configurations we need to get UART receive in non-blocking mode. Now select &amp;quot;Generate Code&amp;quot;. Once the code is generated, try to build the application. It will throw error as we have not defined what our callback function does.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/cb_5F00_func.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void cb_rx(LPUART_Type *base, lpuart_handle_t *handle, status_t status, void *userData)
{
	if(status == kStatus_LPUART_RxIdle &amp;amp;&amp;amp; base == LP_FLEXCOMM4_PERIPHERAL)
	{
		LPUART_WriteBlocking(LP_FLEXCOMM4_PERIPHERAL, LP_FLEXCOMM2_rxBuffer,1);
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Add this code in main c file. Now the build will succeed. What we are trying to do is, on receiving the callback, we will print the first character stored in our receive buffer using default UART.&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2brnk6"&gt;Modifying Driver code&lt;/h1&gt;
&lt;p&gt;Since we are using&amp;nbsp;I2C pins&amp;nbsp;which can be configured as Rx/Tx pins of FC2, we need to ensure the UART is properly initialized. Unfortunately, the driver code automatically doesn&amp;#39;t take care of this, and we need to make some manual changes in the fsl_lpuart.c in the&amp;nbsp;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;span style="color:#000000;font-weight:bold;"&gt;LPUART_Init&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; function.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    	if(base==(LPUART_Type *) LP_FLEXCOMM2_BASE)
    	{
    		status = LP_FLEXCOMM_Init(LPUART_GetInstance(base), LP_FLEXCOMM_PERIPH_LPI2CAndLPUART);
    	}
    	else
    	{
    		status = LP_FLEXCOMM_Init(LPUART_GetInstance(base), LP_FLEXCOMM_PERIPH_LPUART);
    	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2c2q47"&gt;Configuring&amp;nbsp;Read Non-blocking function&lt;/h1&gt;
&lt;p&gt;For this example, we will connect the Tx of FC2 to Rx of FC2 so we will verify the working by using this loopback setup. We will transmit test data every 1s and check whether we are receiving the same.&lt;/p&gt;
&lt;p&gt;To get the callback the read non-blocking repeatedly.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/testdata.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void testData()
{
	static uint32_t prevCounter = 0;

	if( ms - prevCounter &amp;gt; 1000 )
	{
		prevCounter = ms;
		LPUART_WriteBlocking(LP_FLEXCOMM4_PERIPHERAL,(uint8_t *)&amp;quot;TestData\n&amp;quot;, 9);
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/while.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    while(1)
    {
    	testData();
    	(void)LPUART_TransferReceiveNonBlocking(
    			LP_FLEXCOMM2_PERIPHERAL, 	// MicroE extension uart
				&amp;amp;LP_FLEXCOMM2_handle,		// FC2 Transfer Handle
				&amp;amp;LP_FLEXCOMM2_rxTransfer,	// FC2 Receive buffer details;
				&amp;amp;receivedBytes				// dummy variable. No idea what it actually does
				);
    }&lt;/pre&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2chl08"&gt;Output&lt;/h1&gt;
&lt;p&gt;Now, build and flash the firmware in the N236 board. Open the serial terminal and we will see &amp;quot;TestData&amp;quot; printed every one second.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/output.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1jau2cp7n9"&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;Although this is not in my intended list of forum post, I want to keep this process documented so that it will be useful for anyone who is facing the same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Configuring LPUART on MCXN236 - A frustrating experience</title><link>https://community.element14.com/thread/56463?ContentTypeID=0</link><pubDate>Sat, 22 Nov 2025 07:18:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:227d1afa-d5e0-49c6-a91b-1bd645647ab7</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>9</slash:comments><comments>https://community.element14.com/thread/56463?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56463/configuring-lpuart-on-mcxn236---a-frustrating-experience/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I used the SDK examples to configure LPUART with my MCXN236 project. I think there is a bug in Flexcomm initialization inside LPUART_Init().&amp;nbsp;LPUART_Init() is auto generated by the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was not able to get LPUART working when Flexcomm was initialized as follows inside LPUART_Init():&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;code&gt;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;status = LP_FLEXCOMM_Init(LPUART_GetInstance(base), &lt;/span&gt;&lt;span style="color:#0000c0;font-style:italic;"&gt;LP_FLEXCOMM_PERIPH_LPUART&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;font-family:arial, helvetica, sans-serif;font-size:10pt;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;I was able to get it working when I configured it as follows:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;status = LP_FLEXCOMM_Init(LPUART_GetInstance(base), &lt;span style="color:#0000c0;font-style:italic;"&gt;LP_FLEXCOMM_PERIPH_LPI2CAndLPUART&lt;/span&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;font-family:arial, helvetica, sans-serif;font-size:10pt;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;What might be the reason for this?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;padding:0px 0px 0px 2px;"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;white-space:pre;"&gt;&lt;span style="color:#000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DDS Elevator - Bit of human touch</title><link>https://community.element14.com/thread/56439?ContentTypeID=0</link><pubDate>Mon, 17 Nov 2025 12:55:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7a542645-561d-44d7-9708-8401563bbed5</guid><dc:creator>balajivan1995</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56439?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56439/dds-elevator---bit-of-human-touch/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;In every elevator, there is an option for the user to select which floor they want to travel to. In case of DDS elevators, there will be feedback which immediately shows which elevator was assigned to them. In this blog, we will see how to interface human interaction between our lift model to our microcontroller through the use of HMIs. We will also cover the struggles it took to get the concept working.&lt;/p&gt;
&lt;div class="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii0" data-e14adj="t"&gt;Why HMI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii1" data-e14adj="t"&gt;Struggling with setting up multiple UART&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii2" data-e14adj="t"&gt;Scalability issue&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii3" data-e14adj="t"&gt;Initial idea&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii4" data-e14adj="t"&gt;Daisy chaining&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii5" data-e14adj="t"&gt;Programming the HMIs&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii6" data-e14adj="t"&gt;UI &amp;ndash; Dynamic Floor selection&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii7" data-e14adj="t"&gt;UI &amp;ndash; Getting user input&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii8" data-e14adj="t"&gt;UI &amp;ndash; Feedback response from microcontroller&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1ja8teuii9" data-e14adj="t"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="mcetoc_1ja8teuii0"&gt;Why HMI&lt;/h1&gt;
&lt;p&gt;HMI provides a way for humans to provide their input and receive feedback immediately. While I could simplify the process using buttons for inputs and LEDs for feedback, it will include using lots of GPIOs and way too many wirings.&lt;/p&gt;
&lt;p&gt;Imagine for a single floor, we need 4 buttons to get user input on floors, 1 RGB led with different light configuration for different statuses. That makes each floor requiring 5 GPIOs. Now, for our lift model, we have 4 floors and that makes 16 buttons to get user input and 4 RGB LEDs. We could reduce the number of GPIOs required by 4*4 matrix keyboard and bit addressable RGB LEDs. That still requires up to 9 GPIOs.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383014225v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383027777v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now, HMIs on the other hand, depending on the model can be operated by using just UART alone. That&amp;rsquo;s just 2 GPIOs for one floor, 8 GPIOs for 4 floors. Since it is a touch supported HMI, we could get user input and provide feedback on display.&lt;/p&gt;
&lt;p&gt;For this project we will use a 2.8&amp;rdquo; touch display from Nextion Brand. It is a resistive touch display and cheaper.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383077200v3.jpeg" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1ja8teuii1"&gt;Struggling with setting up multiple UART&lt;/h1&gt;
&lt;p&gt;Initially I wanted to use FRDM MCXA153 to control the HMI but when I tried to enable the second UART, it stopped working. So, I moved to MCXN236 board. Even there I faced similar issues. There is a UART port exposed as a Micro Bus expansion, which didn&amp;rsquo;t work as well. Luckily MCXN236 has multiple UART ports and one of them is exposed in the LCD header. On configuring that particular port, second UART was up and running.&lt;/p&gt;
&lt;h1 id="mcetoc_1ja8teuii2"&gt;Scalability issue&lt;/h1&gt;
&lt;p&gt;Since we have finalized to use 4 HMIs, we need to look for ways to minimize the number of wires. Each HMI comes with 4 pins &amp;ndash; Vcc, Gnd, Rx, Tx. Supply and ground wires can be taken parallelly from a power source. But we still need to route 8 wires for UART.&lt;/p&gt;
&lt;h2 id="mcetoc_1ja8teuii3"&gt;Initial idea&lt;/h2&gt;
&lt;p&gt;My initial horrible plan was to make use of multiple MCUs each reporting back to MCXN236 board. MCXA153 has one extra UART port, ESP32 has 2 extra UART ports, and with one already working UART from MCXN236 combining all these resources we could wire something like this.,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383239926v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;Just looking at the above block diagram made it obvious this is a ridiculous way of connecting multiple HMIs, so I dropped this idea and decided to try an alternative.&lt;/p&gt;
&lt;h2 id="mcetoc_1ja8teuii4"&gt;Daisy chaining&lt;/h2&gt;
&lt;p&gt;Daisy chaining is a simple interface method where we connect multiple nodes in a linked list manner. I got this idea from Ethercat communication which uses two ethernet port, one will act as input and other as output.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383258254v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;The Ethercat master will send a process image, with request to fill the process image with data from slaves or update the slaves from the process image. By slightly modifying this for UART, we can use Tx as output port and Rx as input port.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383291742v6.png" /&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1ja8teuii5"&gt;Programming the HMIs&lt;/h1&gt;
&lt;p&gt;Nextion provides an application called &amp;ldquo;Nextion Editor&amp;rdquo; which can be used to design the UI. It also provides simulation mode to immediately visualize the changes.&lt;/p&gt;
&lt;p&gt;Since steps to cover how to program an HMI display out of topic for this post, I will add few links in reference.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383306529v7.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1ja8teuii6"&gt;UI &amp;ndash; Dynamic Floor selection&lt;/h2&gt;
&lt;p&gt;Instead of programming each HMI display with a different identification number, I have decided to create a configuration page where the floor in which display will be placed can be selected.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383322064v8.png" /&gt;&lt;/p&gt;
&lt;p&gt;Values start with 0 for button 1, 1 for button 2 and so on. For example, on pressing the number 4, the value &amp;ldquo;3&amp;rdquo; will be written to memory ().&lt;/p&gt;
&lt;p&gt;&lt;code&gt;wepo 3,10&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;wepo is the write to EEPROM memory command, 3 is the identification for 4&lt;sup&gt;th&lt;/sup&gt; floor and 10 is the address we are writing to.&lt;/p&gt;
&lt;p&gt;On pressing the home icon, the HMI will restart. On initializing, it will read from memory address 10 and store the floor value in a variable for further use.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;repo liftID.val,10&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;repo is the read from EEPROM memory command to read from the memory address 10 and store into variable called &amp;ldquo;liftID&amp;rdquo;.&lt;/p&gt;
&lt;h2 id="mcetoc_1ja8teuii7"&gt;UI &amp;ndash; Getting user input&lt;/h2&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763383356062v9.png" /&gt;&lt;/p&gt;
&lt;p&gt;The HMI has few a variable initialized to &amp;ldquo;0xff&amp;rdquo; value. When user press a button, HMI will update the internal value like this. There is a timer which monitors the variable, once it detects the value is not &amp;ldquo;0xff&amp;rdquo;, it transmits the current value to next node and reset back to &amp;ldquo;0xff&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Button value = Floor ID * 10 + Selected Floor num.&lt;/p&gt;
&lt;p&gt;Example, if a user press button labelled 2 on 2&lt;sup&gt;nd&lt;/sup&gt; floor, it will be saved as 32. The HMI will transmit the value as &amp;ldquo;but.val=32&amp;rdquo; which will update the variable of next node, and the process will continue until the message reaches the MCU.&lt;/p&gt;
&lt;p&gt;Below is the screen record of the HMI logic in a simulator.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/button_5F00_press.mp4"&gt;community.element14.com/.../button_5F00_press.mp4&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1ja8teuii8"&gt;UI &amp;ndash; Feedback response from microcontroller&lt;/h2&gt;
&lt;p&gt;There are two types of feedback.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Whether the elevator will go up, down, or rejected on pressing the button.&lt;/li&gt;
&lt;li&gt;Which elevator to select.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The message format is similar to getting input from user. There will be a commonly named variable which will be updated and passed on until it reaches the correct end node.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/feedback.mp4"&gt;community.element14.com/.../feedback.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have created a simple code to check whether the logic works when used with MCXN236. Below are the videos I took when I tried to control only one HMI and with two HMIs. I am glad to find after all these ordeals, I got it working.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/single.mp4"&gt;community.element14.com/.../single.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/multi.mp4"&gt;community.element14.com/.../multi.mp4&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="mcetoc_1ja8teuii9"&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;To be honest, neither the HMI UI design nor daisy chaining multiple UART is not the difficult part. I have worked with various HMIs, and I could set it up with MCUs from ST or Espressif without much difficulty. What I didn&amp;rsquo;t expect was how difficult it will be to enable a second UART in MCXN board and make it usable. This is slightly disappointing as I want to use one instance of most of the communication peripheral in that board. Anyways, we will see how to establish communication between MCXA and MCXN board in the upcoming post.&lt;/p&gt;
&lt;h1 id="mcetoc_1ja8u244da"&gt;References&lt;/h1&gt;
&lt;p&gt;1.&amp;nbsp;&lt;a id="" href="https://nextion.tech/instruction-set/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://nextion.tech/instruction-set/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;a href="https://www.youtube.com/playlist?list=PLGOjlGENB8gXVvR9ke2SgF0XTT1dBWmhv" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Nextion Displays - YouTube&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Switched from MCXA153 to MCXN236</title><link>https://community.element14.com/thread/56427?ContentTypeID=0</link><pubDate>Sun, 16 Nov 2025 08:38:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:afe560a4-6b17-463b-99a1-e8b446c2e034</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/56427?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56427/switched-from-mcxa153-to-mcxn236/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I had to move my project from MCXA153 to MCXN236 for two reasons.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The sensor I was using came with a closed-source static library. The library required a 4K memory allocation on the stack that was breaking things. I tried increasing the stack but there was also heap usage from libc for printf operations. I did a delicate dance trying to adjust the stack/heap limits but I just had to give up at the end. While it is a simple sensor, I couldn&amp;#39;t get going with a 32K RAM. I couldn&amp;#39;t get use the sensor without the library.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;I tried using another sensor but I had to give up due to floating point operations. This sensor also came with a closed source static library.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I got away with switching the microcontroller. Onwards to trying to get other components going.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>NO connection to chips debug port on the MCXN236?</title><link>https://community.element14.com/thread/56417?ContentTypeID=0</link><pubDate>Sat, 15 Nov 2025 02:26:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:37a8707f-baa0-46df-a79e-ae10af6f986b</guid><dc:creator>skruglewicz</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/56417?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56417/no-connection-to-chips-debug-port-on-the-mcxn236/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;I&amp;rsquo;m still having problems with the MCXN236 . Can&amp;#39;t find the probe&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;CONSOLE log:&lt;/b&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-size:75%;"&gt;&lt;b&gt;LinkServer RedlinkMulti Driver v25.6 (Jun 26 2025 19:34:05 - crt_emu_cm_redlink build 1017)&lt;br /&gt;Found chip XML file in C:/nxp/workspace/frdmmcxn236_hello_world/Debug\MCXN236.xml&lt;br /&gt;( 5) Remote configuration complete&lt;br /&gt;Reconnected to the existing LinkServer process.&lt;br /&gt;Connecting to probe 2 core 0 (using server started externally) reports:&lt;br /&gt;&amp;#39;Ee(42). Could not connect to core.&amp;#39;&lt;br /&gt;Retrying...&lt;br /&gt;Reconnected to the existing LinkServer process.&lt;br /&gt;Server OK but no connection to probe 2 core 0 (after 3 attempts) - Ee(42). Could not connect to core.&lt;br /&gt;Failed on connect: Ee(42). Could not connect to core.&lt;br /&gt;No connection to chip&amp;#39;s debug port&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:75%;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1763172984669v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m dead in the water with the MCXN236 and can not develop my&amp;nbsp;project without it Does any one know why thus is happening? Is my board defective?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any help here would be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Steve K&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Configuring LPTMR0 on MCXA153</title><link>https://community.element14.com/thread/56368?ContentTypeID=0</link><pubDate>Fri, 07 Nov 2025 17:12:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:79fdebd8-df3e-4f6b-8d69-bc15285e7513</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/56368?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56368/configuring-lptmr0-on-mcxa153/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I am trying to configure LPTMR0 for a 1-second interval. I followed the lptmr example in the SDK examples to configure my timer. The interval at which the interrupt is generated never correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are the steps I followed:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Configure the LPTMR0 clock source to 96MHz with a divider of 16. The clock frequency for LPTMR0 is 6MHz.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;After code generation, I set the timer count to 6,000,000 for 1 second interval.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I confirmed that the timer is a 32 bit timer. The timer does work but the interval duration is not 1 second. It is something else.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did I skip a step in configuring the timer?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces - NXP eIQ Time Series Studio on MCXN236 and There is a fault</title><link>https://community.element14.com/thread/56358?ContentTypeID=0</link><pubDate>Wed, 05 Nov 2025 02:42:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:43648305-ae81-4cad-afa7-884fca71dc5e</guid><dc:creator>fyaocn</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/56358?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56358/smart-spaces---nxp-eiq-time-series-studio-on-mcxn236-and-there-is-a-fault/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h3 id="mcetoc_1j98s300b0"&gt;1 Create Motor fan state project in NXP-Eiq&lt;/h3&gt;
&lt;p&gt;With 3-axis sensor on FRDM-MCXN236, to&amp;nbsp;train and deploy a machine learning model for a predictive fan state application&lt;/p&gt;
&lt;h3 id="mcetoc_1j98tolsd5"&gt;Fan States:&lt;/h3&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;
&lt;p&gt;FAN-Off &amp;mdash; The fan is turned off.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;FAN-On &amp;mdash; The fan is turned on and running in a normal condition.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;FAN-Clogged &amp;mdash; The fan is turned on and the airflow is obstructed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;FAN-Friction &amp;mdash; The fan is turned on and excessive friction or a blade fault is detected.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP01.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300b1"&gt;2 Training&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;Add data in csv file&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;
&lt;p&gt;Each sample window comprises original signals from the three channels (ax, ay, az) of an accelerometer. There are 128 sampling points in each channel, totaling 3 * 128 = 384 float data points. Each sample time window is written as one line.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Data format: x0 y0 z0 x1 y1 z1&amp;hellip;, separated by spaces.&lt;/p&gt;
&lt;p&gt;Then start training&amp;nbsp;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP02.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c2"&gt;3 Emulating&lt;/h3&gt;
&lt;p&gt;The model during training can be emulated to validate it.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP03.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c3"&gt;4 Generate code&lt;/h3&gt;
&lt;p&gt;If the value is OK. Then generate the code.&lt;/p&gt;
&lt;p&gt;This code comes with read-only library file and one header file in .h. This can reduce time to code and it limit the model selection as well.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP04.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j98s300c4"&gt;5 Generate code and download&lt;/h3&gt;
&lt;p&gt;After the process , there is problem. The On-board MCU-Link is missing, and cannot be downloaded to the FRDM -MCXN236 board.&lt;/p&gt;
&lt;p&gt;Try many time, still can not probe and recover the&amp;nbsp; port. Really hard time for this project.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP05.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Before figure out what to do. Try more times for new wayout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Detecting devices on the I2C bus</title><link>https://community.element14.com/thread/56356?ContentTypeID=0</link><pubDate>Tue, 04 Nov 2025 15:24:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:26f26d5e-9029-437b-9ab5-13e1340a44f9</guid><dc:creator>yamanoorsai</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/56356?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56356/detecting-devices-on-the-i2c-bus/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;It has been quite a journey and I am making progress at snail&amp;#39;s pace. While the SDK is shipped with a lot of examples, it is somewhat difficult to find requisite information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I wanted to perform a scan of the I2C bus to detect devices. I got it working but I was not able to get the driver working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The I2C bus scanner didn&amp;#39;t work either. It turns out that the I2C devices needed a reset.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1762269840807v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Onward to integrating the driver again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DDS Elevator - Hello World!!!</title><link>https://community.element14.com/thread/56339?ContentTypeID=0</link><pubDate>Wed, 29 Oct 2025 15:11:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0ec4e2b3-1b08-47b8-b9c5-4c55e3b85d39</guid><dc:creator>balajivan1995</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/56339?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56339/dds-elevator---hello-world/rss?ContentTypeId=0</wfw:commentRss><description>&lt;div class="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j9cff81g0" data-e14adj="t"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo0" data-e14adj="t"&gt;First Impressions&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo1" data-e14adj="t"&gt;FRDM A153 board&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo2" data-e14adj="t"&gt;FRDM N236 board&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo3" data-e14adj="t"&gt;Software and SDK&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo4" data-e14adj="t"&gt;MCUXpresso&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo5" data-e14adj="t"&gt;Creating a new project&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo6" data-e14adj="t"&gt;Note on Arduino support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo7" data-e14adj="t"&gt;Test Projects&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo8" data-e14adj="t"&gt;LED Blink&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllo9" data-e14adj="t"&gt;Hello World&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7blloa" data-e14adj="t"&gt;Timing and Delay&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllob" data-e14adj="t"&gt;Thumbs up for&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7blloc" data-e14adj="t"&gt;Thumbs down for&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7bllod" data-e14adj="t"&gt;Quick links&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1j8o7blloe" data-e14adj="t"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="mcetoc_1j8o7bllo0" class="code-line" data-line-start="0" data-line-end="1"&gt;&lt;a id="First_Impressions_0" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;First Impressions&lt;/h2&gt;
&lt;p class="has-line-data" data-line-start="1" data-line-end="2"&gt;The boards are of really good quality. Offering much processing power, expandable headers, these boards could be used as a drop-in replacement for Arduino Uno boards (We will talk about library support later). Each board comes with its own USB C cable to power up the boards, hopefully we will be able to drive more power using USB C connection.&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7bllo1" class="code-line" data-line-start="2" data-line-end="3"&gt;&lt;a id="FRDM_A153_board_2" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;FRDM A153 board&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="3" data-line-end="4"&gt;A153 board operating at a modest 96mhz is packs more peripheral compared to similar priced microcontrollers. But most of the peripherals are not exposed to keep the Arduino form factor.&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="3" data-line-end="4"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/a153.mp4"&gt;community.element14.com/.../a153.mp4&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7bllo2" class="code-line" data-line-start="5" data-line-end="6"&gt;&lt;a id="FRDM_N236_board_5" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;FRDM N236 board&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="6" data-line-end="7"&gt;N236 board operates at 150mhz, supports CAN transceiver, audio inputs (Audio Jacks are not soldered by default), LCD connector. Among the two boards, this is the bigger one with whole lot of peripherals and a huge add on flash memory.&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="6" data-line-end="7"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/441/n236.mp4"&gt;community.element14.com/.../n236.mp4&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1j8o7bllo3" class="code-line" data-line-start="9" data-line-end="10"&gt;&lt;a id="Software_and_SDK_9" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Software and SDK&lt;/h2&gt;
&lt;h3 id="mcetoc_1j8o7bllo4" class="code-line" data-line-start="10" data-line-end="11"&gt;&lt;a id="MCUXpresso_10" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;MCUXpresso&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="11" data-line-end="12"&gt;MCUXpresso is the dedicated IDE for MCUX series of microcontrollers from NXP. Like every other IDEs this is also a clone of Eclipse IDE. MCUXpresso looks like a rebranded LPCXpresso and comes prepacked with SDK for LPC microcontrollers. To be honest I lost track of all the IDEs NXP has for its broad range of microcontrollers and microprocessors (Kinestis, DS).&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7bllo5" class="code-line" data-line-start="13" data-line-end="14"&gt;&lt;a id="Creating_a_new_project_13" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Creating a new project&lt;/h3&gt;
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="14" data-line-end="15"&gt;We have an opening page where we select which controller or board we want to program.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="15" data-line-end="16"&gt;One thing different compared to other mainstream MCU IDE, we will have to select our library for the peripherals before even selecting the pins.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="16" data-line-end="17"&gt;NXP not only provides SDK, they also provide a HAL layer, device specific adapter, FREERTOS and CMSIS library as well.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="17" data-line-end="18"&gt;The basic template has lots of drivers and libraries enabled by default which might feel a bit bloated, for example GPIO and UART adapter and a debug library are enabled by default.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="18" data-line-end="19"&gt;Give the project a name and select finish to create the project.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="19" data-line-end="20"&gt;Now comes the pin selection. You can select &amp;ldquo;Pins&amp;rdquo; tab and select the required pins or select pins which are grouped to a specific peripheral.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="20" data-line-end="21"&gt;Once the pins are selected, we need to enable the clock for the peripheral. The peripherals are neatly organised and placed one after another. There is also a search option to look for the specific peripheral in case it&amp;rsquo;s hard to locate a peripheral among the lot. Enable the required peripheral.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="21" data-line-end="31"&gt;Switch to &amp;ldquo;Component&amp;rdquo; view. From here we can select the driver for our required peripheral, if we have selected CMSIS from the welcome page, we can see it listed here as well. Select the required one and click generate code.
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="22" data-line-end="28"&gt;
&lt;p class="has-line-data" data-line-start="22" data-line-end="23"&gt;Component page offers a variety of ways to configure a peripheral when device specific component is selected and the SDK components can be modified anytime.&lt;/p&gt;
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="23" data-line-end="24"&gt;Polling &amp;ndash; Standard blocking way of sending/receiving data&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="24" data-line-end="25"&gt;Interrupt &amp;ndash; Standard interrupts set by using interrupt flags.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="25" data-line-end="26"&gt;Transfer &amp;ndash; Provides blocking as well as non blocking API with support for interrupts&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="26" data-line-end="28"&gt;DMA &amp;ndash; for transferring huge amount of data faster, supports interrupts.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="28" data-line-end="31"&gt;
&lt;p class="has-line-data" data-line-start="28" data-line-end="29"&gt;When CMSIS is selected, we see only two options mostly&lt;/p&gt;
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="29" data-line-end="30"&gt;Interrupt&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="30" data-line-end="31"&gt;DMA&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1j8o7bllo6" class="code-line" data-line-start="31" data-line-end="32"&gt;&lt;a id="Note_on_Arduino_support_31" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Note on Arduino support&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="32" data-line-end="34"&gt;Unlike other mainstream controllers which has support for Arduino Core, MCX series doesn&amp;rsquo;t have Arduino support. The board has Arduino form factor headers, and Arduino compatible pins, but libraries available for Arduino needs to be ported.&lt;br /&gt; If you are comfortable working with Zephyr, MCXN has a rich and steady support for Zephyr, I would say like Nordic Semiconductors they are also actively pushing for Zephyr + West build. (&lt;a href="https://www.nxp.com/design/design-center/software/embedded-software/zephyr-os-for-edge-connected-devices:ZEPHYR-OS-EDGE" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;NXP is one of the six founding member of The Zephyr&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/2122.svg" title="Tm"&gt;&amp;#x2122;&lt;/span&gt;&amp;nbsp;Project&lt;/a&gt;). Since setting up Zephyr and west on a windows laptop is a migraine inducing feat that stresses both my laptop&amp;rsquo;s storage and my patience, I decided not to go there unless I am left with no other option.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1j8o7bllo7" class="code-line" data-line-start="36" data-line-end="37"&gt;&lt;a id="Test_Projects_36" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Test Projects&lt;/h2&gt;
&lt;p class="has-line-data" data-line-start="37" data-line-end="38"&gt;Since I am new to MCXA/MCXN NXP family of microcontrollers, I started by exploring the GPIOs and UART first.&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7bllo8" class="code-line" data-line-start="39" data-line-end="40"&gt;&lt;a id="LED_Blink_39" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;LED Blink&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="40" data-line-end="43"&gt;MCXA153 board comes with a RBG LED and 3 push buttons (labelled as switches). We will see how to set/clear a GPIO as well as read input using polling mechanism.&lt;br /&gt; We can see how NXP tried their best not to look like a copy of ST&amp;rsquo;s HAL library as well.&lt;br /&gt; APIs to initialize a GPIO pin, perform set and clear operations on a GPIO Pin for ST range of MCU&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="40" data-line-end="43"&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void HAL_GPIO_Init(GPIO_TypeDef  *GPIOx, GPIO_InitTypeDef *GPIO_Init)
HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)&lt;/pre&gt;&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="40" data-line-end="43"&gt;&lt;code class="has-line-data" data-line-start="44" data-line-end="47"&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="47" data-line-end="48"&gt;APIs to initialize a GPIO pin, perform set and clear operations on a GPIO Pin for NXP MCXN/MCXA&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="47" data-line-end="48"&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void GPIO_PinInit(GPIO_Type *base, uint32_t pin, const gpio_pin_config_t *config)
static inline void GPIO_PinWrite(GPIO_Type *base, uint32_t pin, uint8_t output)&lt;/pre&gt;&lt;code class="has-line-data" data-line-start="49" data-line-end="52"&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="52" data-line-end="53"&gt;Maybe I am used to ST&amp;rsquo;s version, using &amp;ldquo;GPIOx&amp;rdquo; makes more sense than &amp;ldquo;base&amp;rdquo;.&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="52" data-line-end="53"&gt;I have created a brief tutorial on how to use the GPIOs.&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="52" data-line-end="53"&gt;&lt;a href="https://youtu.be/utMRGCzOVdk"&gt;https://youtu.be/utMRGCzOVdk&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7bllo9" class="code-line" data-line-start="54" data-line-end="55"&gt;&lt;a id="Hello_World_54" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Hello World&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="55" data-line-end="56"&gt;In this video I cover how to enable the pins for LPUART0 and how to send/receive message using polling mechanism.&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="55" data-line-end="56"&gt;&lt;a href="https://youtu.be/EShPC0xfuBE"&gt;https://youtu.be/EShPC0xfuBE&lt;/a&gt;&lt;/p&gt;
&lt;p class="has-line-data" data-line-start="57" data-line-end="58"&gt;While we can use the blocking send function to send a message, using blocking receive is practically not at all useful as we won&amp;rsquo;t know exactly when we will receive a message. We will cover non-blocking receive in upcoming posts.&lt;/p&gt;
&lt;h3 id="mcetoc_1j8o7blloa" class="code-line" data-line-start="59" data-line-end="60"&gt;&lt;a id="Timing_and_Delay_59" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Timing and Delay&lt;/h3&gt;
&lt;p class="has-line-data" data-line-start="60" data-line-end="63"&gt;No Embedded project will be complete without using delays, be it either blocking or non blocking. MCX series provides us with Sysclock using which we can trigger an interrupt on nano second level.&lt;br /&gt; Since we won&amp;#39;t need that much accuracy and millisecond level timing is enough for most tasks, we will configure the sysclock to generate an interrupt every milli second.&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-C hljs"&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;SysTick_Config(96000000);&lt;/pre&gt;&lt;br /&gt;&lt;/code&gt;Copy the callback function and place it in main file.&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint32_t ms = 0;
void SysTick_Handler(void)
{
    ms++;
}

uint32_t getMillis()
{
    return ms;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Since we shouldn&amp;rsquo;t hog the interrupt call back function, we will just increment a variable by 1 which will act as our timer, something similar to &lt;code&gt;Millis()&lt;/code&gt; on Arduino or &lt;code&gt;getMillis()&lt;/code&gt; on ST family.&lt;br /&gt;For blocking delay, we will use the below function. You can refer the below code to see how to use the counter as both blocking and non-blocking delay.&lt;/pre&gt;
&lt;p class="has-line-data" data-line-start="65" data-line-end="66"&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void delay( uint32_t delayInMs)
{
    uint32_t currentTimeInMs = ms;
    while( ( ms - currentTimeInMs ) &amp;lt;= delayInMs )
    {
        ;
    }
}

void someFunc()
{
    static uint32_t prevTimer = 0;
    if( ( ms - prevTimer ) &amp;gt; 1000 )
    {
        prevTimer = ms;
        
        // Do something
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class="has-line-data" data-line-start="67" data-line-end="68"&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p class="has-line-data" data-line-start="68" data-line-end="69"&gt;&lt;code class="has-line-data" data-line-start="70" data-line-end="71"&gt;&lt;/code&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1j8o7bllob" class="code-line" data-line-start="72" data-line-end="73"&gt;&lt;a id="Thumps_up_for_72" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Thumbs up for&lt;/h2&gt;
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="73" data-line-end="74"&gt;MCXN236 board provides a lot of power and several 5v/3.3v options. Meaning we can power our sensors, output devices directly from it.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="74" data-line-end="76"&gt;If we select the board option in project create page, we can see the Arduino/MicroE interface showing up as an option to select the pins. Which helps us in narrowing the required pin as we know where it is located.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="76" data-line-end="78"&gt;The Clock configuration is really smooth. Compared to some other Microcontroller IDEs which does some calculation based on user input, and sometimes not at all work properly, leaving new users confused (cough, STM32 cough), MCUXpresso lists preconfigured clocks that works well and selecting it is quite easy.&lt;br /&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761750380664v1.png" /&gt;&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="78" data-line-end="80"&gt;Whether to use a callback when some interrupt happens is entirely up to you. During the peripheral selection, we have the option to enable or not use callback.&lt;br /&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761750453719v2.png" /&gt;&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="80" data-line-end="81"&gt;Let&amp;#39;s say, we need to make some changes in a peripheral, now before generating the code we have an option to compare our existing code with the newly configured code. This is a really good option that allows us to verify whether we are adding some feature unnecessarily or removing a required one.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="80" data-line-end="81"&gt;&lt;/li&gt;
&lt;li&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761750535057v3.png" /&gt;&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="81" data-line-end="83"&gt;Support for CMSIS library is really good as well, especially for some peripherals you just need a high-level library, and interrupts to know the job is done. Which is much better than combing through several implementations for the same peripherals.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1j8o7blloc" class="code-line" data-line-start="83" data-line-end="84"&gt;&lt;a id="Thumps_down_for_83" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Thumbs down for&lt;/h2&gt;
&lt;p class="has-line-data" data-line-start="84" data-line-end="85"&gt;There are some bugs that needs to be fixed in the IDE and mistakes in schematic. Below are the few I encountered.&lt;/p&gt;
&lt;ol&gt;
&lt;li class="has-line-data" data-line-start="85" data-line-end="86"&gt;There is no mild way for putting this nicely, if you select the default template to generate application, it will be bloated. Either you need to include everything from adapter, peripheral, common library to build an application that just blinks for a sec, or you will have to use their single header that has all the register you need to build from scratch. There is no in-between.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="87" data-line-end="88"&gt;Let&amp;rsquo;s say, we are planning to create a new project with new board, if we open the configuration page for the new board while keeping the previous project open, it will throw an error saying &amp;ldquo;Microcontroller Not found&amp;rdquo;. We will have to close every other project and select the configuration page.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="88" data-line-end="89"&gt;If you have previously configured the project to use CMSIS or Freertos, now want to remove or replace that component, after removing the previously selected components from Component page, if you try to build, it will throw error. Because the library files are still present in the components folder and needs to be manually removed.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="89" data-line-end="90"&gt;Even though the peripheral tab should list all the pins that can be used for that particular peripheral, CAN1 TX/RX pins are not showing up here. But if we select the Pins tab and select the pins manually, we can see CAN1 TX/RX showing up there.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="90" data-line-end="91"&gt;If you connect both boards at same time, it doesn&amp;rsquo;t automatically detect which one to flash. It will try to flash the first device it finds in LinkServer application.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="91" data-line-end="92"&gt;There are some times when debugging straight up fails or the values are not getting updated properly.&lt;/li&gt;
&lt;li class="has-line-data" data-line-start="92" data-line-end="94"&gt;These are all not a deal breaker in anyway, but this gets annoying when you have two boards and switching from one project to other or importing example projects to explore the peripherals.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1j8o7bllod" class="code-line" data-line-start="95" data-line-end="96"&gt;&lt;a id="Quick_links_95" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Quick links&lt;/h2&gt;
&lt;table class="table table-striped table-bordered"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;MCXA153&lt;/th&gt;
&lt;th&gt;MCXN236&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Product Page&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/design/design-center/development-boards-and-designs/FRDM-MCXA153" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXA153&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-mcx-n23x-mcus:FRDM-MCXN236" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXN256&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Schematic&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/webapp/Download?colCode=SPF-90829_A1" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXA153&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/webapp/Download?colCode=SPF-90828" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXN256&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Datasheet&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/docs/en/data-sheet/MCXAP64M96FS3.pdf" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXA153&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/docs/en/data-sheet/MCXN23x.pdf" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXN256&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reference Manual&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/webapp/Download?colCode=MCXAP64M96FS3RM" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXA153&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.nxp.com/docs/en/reference-manual/MCXN23xRM.pdf" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXN256&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SDK reference&lt;/td&gt;
&lt;td&gt;&lt;a href="https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/_assets/boards/frdmmcxa153/mcuxsdk-frdmmcxa153.pdf" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXA153&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/_assets/boards/frdmmcxn236/mcuxsdk-frdmmcxn236.pdf" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;MCXN256&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1j8o7blloe" class="code-line" data-line-start="105" data-line-end="106"&gt;&lt;a id="Conclusion_105" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;/a&gt;Conclusion&lt;/h2&gt;
&lt;p class="has-line-data" data-line-start="106" data-line-end="107"&gt;All in all, these boards are really worth for that price point. The MCXA153 is quickly becoming my favourite dev kit and I am excited to start interfacing all the modules together to finish my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>PROBLEMS - Using MCUXpresso IDE with MCXA153 and MCXN236 on the same PC</title><link>https://community.element14.com/thread/56325?ContentTypeID=0</link><pubDate>Thu, 23 Oct 2025 23:00:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:712d7ee4-0896-4746-80f3-d5f935e8cc30</guid><dc:creator>skruglewicz</dc:creator><slash:comments>7</slash:comments><comments>https://community.element14.com/thread/56325?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56325/problems---using-mcuxpresso-ide-with-mcxa153-and-mcxn236-on-the-same-pc/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m currently working to run example code on both the MCXA153 and MCXN236 boards from the same instance of MCUXpresso IDE on a single PC. I wanted to share my experiences here, in case anyone else is attempting this during the challenge, Also, to offer a solution I found for one of the issues I encountered after struggling with the IDE for some time. There&amp;rsquo;s still another issue described at the end of this post that I&amp;rsquo;m having difficulty understanding.&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;I followed the instructions on the MCXA153&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nxp.com/document/guide/getting-started-with-frdm-mcxa153:GS-FRDM-MCXAXX?section=build-and-run_build-and-run-1" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;span style="font-weight:400;"&gt;Build and Run&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style="font-weight:400;"&gt; page. On this page I learned:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;To import an SDK example (like hello world) into MCUXpresso IDE.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;The guide walks you through selecting the FRDM MCX board, expanding the demo_apps category, and choosing hello_world.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;You&amp;rsquo;ll build the demo and set the debug console to UART for serial output.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Steps include connecting the board via USB MCU-LINK port, flashing the application, and selecting the MCU-Link CMSIS-DAP debug probe. NOTE &amp;ndash; Be sure to include the&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Instructions for opening a serial terminal (settings: 115200 baud, 8 data bits, no parity, 1 stop bit) are provided.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Finally, you will run the demo and see terminal output.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&amp;nbsp;I tried the &amp;ldquo;hello world example&amp;rdquo; on both devices to get a feel for developing on two devices from the same IDE on the same PC. I followed the instructions from the &amp;ldquo;Build and Run Page&amp;rdquo; outlined above.&amp;nbsp;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;I was able to get the example to run on the MCXA153 the first time, but unable to successfully run again after getting the following problem, t&lt;/span&gt;&lt;span style="font-weight:400;"&gt;rying to run it on the MCXN236&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Problem:1:&amp;nbsp; &amp;ldquo;no Terminal output&amp;rdquo;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Build&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Debug&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;The following dialog appears to select a probe&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;I selected the MCU-Link CMSIS-DAP debug probe for the MCXN236:&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761259715476v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;I selected the MCU-Link CMSIS-DAP debug probe for the MCXN236: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="height:134px;max-height:134px;max-width:568px;"  height="134" src="https://community.element14.com/resized-image/__size/1136x268/__key/communityserver-discussions-components-files/441/pastedimage1761259573251v3.png" width="567" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;Hint&lt;/strong&gt;: the next time you run the code, this screen does not show. to allow it to show up again , simply delete the file &amp;quot;frdmmcxn236_hello_world LinkServer Debug.launch&amp;quot;, in this case for the MCXN236. Now the dialog should come up on the debug session.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Open up a serial terminal to be able to see the application&amp;#39;s output.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Problem: empty terminal?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761259823367v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;What could be wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Solution : I had the wrong Serial COM port selected. It needs to be the com port that the MCXN236 is connected to . In my case it is COM4.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Select the &amp;ldquo;Terminal&amp;rdquo; window and press the &amp;ldquo;new terminal&amp;rdquo; icon. Choose a &amp;ldquo;Serial Terminal&amp;rdquo; and then set the UART settings to 115200 baudrate, 8 bit data size, no parity and 1 stop bit. Press OK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&amp;nbsp;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761259878322v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Oh now the mcxa153 project is also working . I need to select the correct SDK, debug probe port and set the serial port at the proper COM port, in ny case COM3.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Now the debugger is running but it hangs the code here after pressing a character on the screen?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1761259975310v7.png" /&gt;&lt;/p&gt;
&lt;p&gt;NOW I&amp;rsquo;m stuck and pondering this second Problem:&lt;/p&gt;
&lt;p&gt;Why is it printing 2 lines of &amp;ldquo;Hello World&amp;rdquo;? &lt;br /&gt;Why is it paused at the line ch = GETCHAR();&lt;br /&gt;What is it expecting from the function call GETCHAR()&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I was wondering If any of the challengers have this problem or have an answer? For now I&amp;rsquo;ll be continuing to run other coding examples to keep experimenting with the IDE using 2 devices.&lt;/p&gt;
&lt;p&gt;Happy coding&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces Design Challenge - Deadline Extended by Two Weeks!</title><link>https://community.element14.com/thread/56304?ContentTypeID=0</link><pubDate>Tue, 21 Oct 2025 15:59:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:76ffbd6b-324f-433e-93fb-9a349a76af97</guid><dc:creator>JoRatcliffe</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/56304?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56304/smart-spaces-design-challenge---deadline-extended-by-two-weeks/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;Hey everyone,&amp;nbsp;&lt;/span&gt;&lt;a href="https://community.element14.com/members/e14phil"&gt;e14phil&lt;/a&gt;&amp;nbsp;and myself are extending the due date for the Smart Spaces design challenge.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The new due date is midnight UK time on Monday 1st December. &lt;/strong&gt;Winners will be announced on Friday 5th December.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Hope this helps give you the extra time you need for any extra discussion, project updates and final write-up!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;We will update the dates in the competition group and T&amp;amp;Cs soon to reflect this.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces Design Challenge - Some Quick Guidance on Project Updates &amp; Final Write-Ups</title><link>https://community.element14.com/thread/56271?ContentTypeID=0</link><pubDate>Mon, 13 Oct 2025 15:31:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3ff692de-6c0e-446f-841f-994c9e522764</guid><dc:creator>JoRatcliffe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/56271?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56271/smart-spaces-design-challenge---some-quick-guidance-on-project-updates-final-write-ups/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hey everyone, as we are now well into the build period I&amp;#39;m sure many of us are thinking about our final progress updates and end-of-project write-up, I thought it would be helpful to share some guidance and examples.&lt;br /&gt;&lt;br /&gt;Originality, innovation, and technical merit all factor into the judging criteria for the challenge. Further to this, you can choose how to structure your 5+ forum posts and final write-up, however, content should be clear and follow the evolution of your project through to completion.&lt;br /&gt;&lt;br /&gt;Media-rich posts will be judged more favorably so, where possible, share your work by including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Photos&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Videos&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Code samples&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall - express your creativity, ingenuity, knowledge, and hard work&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp;In line with this, a reminder that it is not acceptable to create Design Challenges entries (or Project14 / RoadTest content) using an LLM or OpenAI&amp;#39;s ChatGPT or similar. This is covered further in&amp;nbsp;&lt;a href="https://community.element14.com/members-area/support/f/site-announcements-and-status/53245/regulation-of-content-created-and-submitted-to-the-site-using-llm-tools-and-chatgpt/" data-e14adj="t"&gt;a post over in the Feedback &amp;amp; Support sub-group&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There have already been a very good number of project updates here in the Smart Spaces forum, but for further inspiration you can always take a look at previous Design Challenges like the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/start-a-movement-challenge/" data-e14adj="t"&gt;Start A Movement competition&lt;/a&gt;. Click here to go straight to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/start-a-movement-challenge/a/projects" data-e14adj="t"&gt;the final project write-ups&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>BAD LINK -- Link to Project page in challenge requirements leads to another challenge.</title><link>https://community.element14.com/thread/56260?ContentTypeID=0</link><pubDate>Fri, 10 Oct 2025 16:32:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b1299a23-a5ba-4373-8bab-0dbdc1e4ad95</guid><dc:creator>skruglewicz</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/56260?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56260/bad-link----link-to-project-page-in-challenge-requirements-leads-to-another-challenge/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi &lt;a href="https://community.element14.com/members/cstanton"&gt;cstanton&lt;/a&gt;&amp;nbsp; and fellow challenges/&lt;/p&gt;
&lt;p&gt;the project link on the challenge requirements page leads to another challenge page?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1760113272291v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Challengers must post their progress and a final&amp;nbsp;&lt;/span&gt;&lt;a id="menur8d" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://community.element14.com/challenges-projects/design-challenges/shift-it-warehouse-automation-design-challenge/a/projects" href="https://community.element14.com/challenges-projects/design-challenges/shift-it-warehouse-automation-design-challenge/a/projects" target="_blank" data-e14adj="t"&gt;project article&lt;/a&gt;&lt;span&gt;,&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="i3" href="https://community.element14.com/challenges-projects/design-challenges/shift-it-warehouse-automation-design-challenge/a/projects" data-e14adj="t"&gt;https://community.element14.com/challenges-projects/design-challenges/shift-it-warehouse-automation-design-challenge/a/projects&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;this goes to the&amp;nbsp;/&amp;quot;shift-it-warehouse-automation-design-challenge/&amp;quot; which has completed?&lt;/p&gt;
&lt;p&gt;I created a draft and posted to this unknowingly&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;At&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/a/projects/PR101/adaptive-environmental-monitoring-and-smart-access-control"&gt;Adaptive Environmental Monitoring and Smart Access Control&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully &lt;a href="https://community.element14.com/members/cstanton"&gt;cstanton&lt;/a&gt;&amp;nbsp;you can move it to this challenge? let me know?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>having trouble  POSTING a new project -- cannot add a category?</title><link>https://community.element14.com/thread/56259?ContentTypeID=0</link><pubDate>Fri, 10 Oct 2025 16:14:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:299ae2d2-253c-4cf7-a2f2-e8b7e4e13012</guid><dc:creator>skruglewicz</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/56259?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56259/having-trouble-posting-a-new-project----cannot-add-a-category/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;hi &lt;a href="https://community.element14.com/members/cstanton"&gt;cstanton&lt;/a&gt;&amp;nbsp;and fellow challengers&lt;/p&gt;
&lt;p&gt;Creating a NEW project in the challenges, I cannot enter in a category? I&amp;#39;m dead in the water here?&lt;/p&gt;
&lt;p&gt;what are valid categories? I received an error as follows&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/pastedimage1760111919057v2.png"  /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m dead in the water here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Forum Post #5: Adaptive Environmental Monitoring and Smart Access Control</title><link>https://community.element14.com/thread/56256?ContentTypeID=0</link><pubDate>Fri, 10 Oct 2025 05:12:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8461c56a-5b84-4e68-bf7e-364f7cc89326</guid><dc:creator>skruglewicz</dc:creator><slash:comments>6</slash:comments><comments>https://community.element14.com/thread/56256?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56256/forum-post-5-adaptive-environmental-monitoring-and-smart-access-control/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h1&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;An Outline -Testing &amp;amp; Running the Smart Spaces Project&lt;/h1&gt;
&lt;div&gt;
&lt;p&gt;This project presents an outline, designed to serve as a practical tool for organizing and documenting my work on adaptive environmental monitoring and smart access control using NXP development kits. The structured workflow supports my process in drafting a comprehensive project document for the challenge, ensuring systematic coverage from hardware setup to final deployment.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;I want to mention that I actively use LLMs (Large Language Models) for my daily activities in both professional and hobbyist settings. Prompt engineering and working with LLMs is something I&amp;rsquo;m greatly interested in&amp;mdash;I&amp;rsquo;m constantly crafting prompts to support my job, technical writing, and brainstorming ideas for projects. For me, LLMs are invaluable tools that help spark creativity and refine ideas as I work through project challenges.&lt;/p&gt;
&lt;p&gt;For this forum discussion, I did some brainstorming with Perplexity one of my LLM tools that I use quite often. after much prompting about what I was thinking we came up with this outline. The outline lays out suggested steps for testing and bringing the distributed building automation system online using the &lt;b&gt;NXP FRDM MCX A153&lt;/b&gt; (hub) and &lt;b&gt;MCX N236&lt;/b&gt; (edge node) development kits.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;1. Hardware Preparation and Safety&lt;/h2&gt;
&lt;p&gt;&lt;b&gt;Check boards &amp;amp; workspace:&lt;/b&gt; Lay out the MCX A and at least one MCX N board on an ESD-safe surface. Inspect for bent pins or loose components.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Review manuals:&lt;/b&gt; Double-check quick start guides for both boards. Confirm required sensor modules are present and supported.&lt;/p&gt;
&lt;h2&gt;2. Initial Power-Up and Verification&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Connect boards to PC:&lt;/b&gt; Use the included USB cables; MCX A to a Type-C port, MCX N to microUSB.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Power LED check:&lt;/b&gt; Make sure each board&amp;#39;s green power LED lights up.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;IDE detection:&lt;/b&gt; Open MCUXpresso IDE. Check &amp;#39;Debug Probe&amp;#39; list for both boards &amp;mdash; confirm CMSIS-DAP/J-Link is recognized.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;3. Flash Test Firmware&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Select demo apps:&lt;/b&gt; In MCUXpresso, locate and build &amp;#39;Hello World&amp;#39; (UART printout) or &amp;#39;LED blink&amp;#39; demo for each board (from NXP SDK).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Flash to boards:&lt;/b&gt; Follow IDE prompts to program the boards via MCU-Link interface.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Confirm execution:&lt;/b&gt; Watch for LED blinking or serial output in MCUXpresso&amp;rsquo;s terminal window.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;4. Sensor Integration and Verification&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Attach sensors:&lt;/b&gt; Plug temperature, humidity, light, and motion sensors into MCX N board&amp;rsquo;s sensor headers as described in the manual.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Sensor demo:&lt;/b&gt; Flash sample code that prints sensor data to serial terminal. Adjust sensors physically (e.g., shine light, apply heat) and verify real-time values update in MCUXpresso.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Troubleshoot:&lt;/b&gt; If sensor values are off, check wiring, supported voltages, and code initialization routines.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;5. System Communication Test&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Wired test:&lt;/b&gt; Connect MCX N node to MCX A hub via UART or SPI, as planned. Flash demo code where sensor data is forwarded from N to A and printed via A&amp;rsquo;s UART.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Node recognition:&lt;/b&gt; Confirm that MCX A parses distinct node IDs and logs received values to terminal or onboard LCD.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Network expansion&lt;/b&gt; (optional): Attach additional MCX N boards to simulate multi-zone coverage. Confirm unique data from each node.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;6. Adaptive Control Logic&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Write simple logic:&lt;/b&gt; Program MCX A to trigger an output (e.g., toggle relay or onboard LED) if a sensor value exceeds threshold (e.g., temperature &amp;gt; 28&amp;deg;C).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Run system:&lt;/b&gt; Verify outputs activate as environmental conditions change. Adjust sensor inputs and watch system response.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Log and document:&lt;/b&gt; Copy terminal logs and take timestamped photos/videos for project documentation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;7. Cloud Connectivity (Advanced)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Attach WiFi module:&lt;/b&gt; Connect ESP32 or similar module per board&amp;rsquo;s documentation.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Flash networking demo:&lt;/b&gt; Use NXP or third-party examples to send sensor data to a test cloud endpoint (e.g., MQTT or HTTP).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Remote monitoring:&lt;/b&gt; View sent data in cloud dashboard or receive via web/mobile app.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;8. Project Documentation &amp;amp; Forum Sharing&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Save code samples:&lt;/b&gt; Archive MCUXpresso projects and demo code.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Capture photos/videos:&lt;/b&gt; Document wiring, boards, and screen outputs.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Prepare rich project posts:&lt;/b&gt; Write up test results in forum entries, including hardware, code, and troubleshooting tips. Ensure at least 5 media-rich posts before the challenge&amp;rsquo;s closing date.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Quick Recap:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Inspect hardware and safely connect.&lt;/li&gt;
&lt;li&gt;Confirm board detection and flash demos.&lt;/li&gt;
&lt;li&gt;Integrate and test sensors, verify system responses.&lt;/li&gt;
&lt;li&gt;Link nodes, develop control logic, and validate outputs.&lt;/li&gt;
&lt;li&gt;Add cloud connectivity for full-scale smart building automation.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Forum Post #4:
Adaptive Environmental Monitoring and Smart Access Control</title><link>https://community.element14.com/thread/56255?ContentTypeID=0</link><pubDate>Fri, 10 Oct 2025 05:07:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:09b40fce-6b00-42fd-aa4f-8e903ad5bd39</guid><dc:creator>skruglewicz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56255?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56255/forum-post-4-adaptive-environmental-monitoring-and-smart-access-control/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h1&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;Implementation Outline:&amp;nbsp; Using NXP FRDM MCX A &amp;amp; MCX N Development Kits&lt;/h1&gt;
&lt;div&gt;
&lt;p&gt;This post outlines the design and implementation of an adaptive environmental monitoring and smart access control system using NXP FRDM MCX A153 (central hub) and MCX N236 (edge node) development kits. The idea stemmed from a need for intelligent building automation&amp;mdash;one that adapts to environmental changes while managing secure access. The goal was to combine &lt;b&gt;adaptive monitoring&lt;/b&gt; and &lt;b&gt;smart access control&lt;/b&gt; in a distributed architecture.&lt;/p&gt;
&lt;p&gt;It is a brief outline to aid myself in what is possible for eventually implementing my idea in a spart spaces project for the challenge. I&amp;nbsp;tried to cover the project&amp;rsquo;s motivation, concept-to-design progression, in-depth comparison of both development boards, development environment, possible sensor selection, and implementation outline from unboxing to integration. I will be using these forum post to construct my final Project. Hope you find this interesting and will review my project when it is submitted.&lt;/p&gt;
&lt;/div&gt;
&lt;h2&gt;Basic Design&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Central Hub:&lt;/b&gt; Select the NXP FRDM MCX A153 board for its processing power and connectivity, serving as the main coordinator.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Edge Nodes:&lt;/b&gt; Deploy NXP FRDM MCX N236 boards in various building zones to interface with environmental sensors.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;System Layout:&lt;/b&gt; Design the network such that edge nodes monitor local conditions and relay data to the central hub, which aggregates and acts on this information.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Connectivity:&lt;/b&gt;&amp;nbsp;UART will be used to connect the two devices.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Sensors &amp;amp; Control:&lt;/b&gt; Choose sensors for temperature, humidity, motion, and air quality; include relays for lighting and HVAC.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Comparison: NXP FRDM MCX A153 vs. NXP FRDM MCX N236 Development Kits&lt;/h1&gt;
&lt;h2&gt;Similarities&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;Feature&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;FRDM MCX A153&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;FRDM MCX N236&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;MCU Architecture&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Arm Cortex-M33&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Arm Cortex-M33&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Debug Capability&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCU-Link onboard debugger&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCU-Link onboard debugger&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Expansion Connectors&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Arduino UNO R3 headers, mikroBUS&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Arduino UNO R3 headers, mikroBUS&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;User Interaction&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Push buttons, RGB/power LEDs&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Push buttons, RGB/power LEDs&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Communication Protocols&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;I2C, SPI, UART&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;I2C, SPI, UART, CAN&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Development Environment&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCUXpresso IDE&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCUXpresso IDE&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Power Supply&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;USB (Type-C or microUSB)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;USB (Type-C or microUSB)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;b&gt;Both kits are designed for rapid prototyping, use the same IDE/software tools, support rich peripheral expansion, and offer plug-and-play sensor integration.&lt;/b&gt;&lt;/p&gt;
&lt;h2&gt;Differences&lt;/h2&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;Feature&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;FRDM MCX A153&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;FRDM MCX N236&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Physical Size&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;More compact&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Larger, with more densely packed features&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;MCU Model&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCX A153VLH&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;MCXN236VDFT (TrustZone security enabled)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Onboard Sensors&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;None built-in&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;3-axis accelerometer, visible light sensor, digital microphone&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Flash Memory&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Internal only&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;+ 64Mbit QSPI flash onboard&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;CAN Bus Support&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Yes, with onboard CAN transceiver (TJA1057)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Multimedia Hardware&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;No direct support&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;LCD (FlexIO), camera interface&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Developed Use Cases&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Low-power industrial, secure IoT hub&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Sensor-rich IoT and AI edge applications&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Connectivity Types&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Standard USB Type-C&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Micro USB Type-A to Type-C&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Sensors&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;FRDM MCX A153:&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt; No built-in sensors; relies on expansion via Arduino sockets, mikroBUS, or Pmod for external sensors (environmental, motion, etc.).&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;FRDM MCX N236:&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;strong&gt;Built-in&lt;/strong&gt; 3-axis FXLS8974CFR3 accelerometer, visible light sensor, digital microphone, and supports sensor add-ons via headers.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Pins &amp;amp; Expansion&lt;/h2&gt;
&lt;p&gt;&lt;b&gt;Both boards offer:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;4x Arduino UNO R3-compatible sockets/headers for shields&lt;/li&gt;
&lt;li&gt;2x mikroBUS sockets/headers for click modules&lt;/li&gt;
&lt;li&gt;1x Pmod header for Digilent Pmod peripherals&lt;/li&gt;
&lt;li&gt;MCX N236 adds:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;FlexIO header for LCD&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Camera header for image applications&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dedicated CAN header&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Development Environment&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;MCUXpresso IDE&lt;/b&gt; is used by both boards for firmware development, debugging, and demo application deployment.&lt;/li&gt;
&lt;li&gt;Both boards are detected via MCU-Link CMSIS-DAP interface.&lt;/li&gt;
&lt;li&gt;SDK examples and board support files are available for each.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Step-by-Step Implementation Guide&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt; Unbox the Kits&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Unpack both MCX A153 (hub) and MCX N236 (edge node) boards.&lt;/li&gt;
&lt;li&gt;Check for all necessary cables (USB Type-C, Micro USB), Quick Start Guides, and accessories.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="2"&gt;
&lt;li&gt;&lt;b&gt; Inspect the Boards&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Carefully look for any bent pins or loose components.&lt;/li&gt;
&lt;li&gt;Identify expansion headers for sensors: Arduino R3, mikroBUS, Pmod on MCX A, sensor connectors on MCX N.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="3"&gt;
&lt;li&gt;&lt;b&gt; Connect to Power&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Plug the provided cables from MCU-Link ports to your PC.&lt;/li&gt;
&lt;li&gt;Ensure the green power LEDs illuminate on both boards.&lt;/li&gt;
&lt;li&gt;Confirm your PC recognizes the debug interfaces (CMSIS-DAP/J-Link).&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="4"&gt;
&lt;li&gt;&lt;b&gt; Install Development Software&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Download MCUXpresso IDE from NXP.&lt;/li&gt;
&lt;li&gt;Install board support packages and required drivers for both boards.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="5"&gt;
&lt;li&gt;&lt;b&gt; Verify Board Communication&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Open MCUXpresso IDE; verify both boards are detected under debug probes.&lt;/li&gt;
&lt;li&gt;Flash a basic &amp;ldquo;Hello World&amp;rdquo; or LED blink demo to confirm setup and firmware flashing.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="6"&gt;
&lt;li&gt;&lt;b&gt; Connect and Test Sensors&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Attach basic sensors (temperature, humidity, light, motion) to MCX N boards per the manual.&lt;/li&gt;
&lt;li&gt;Use NXP&amp;rsquo;s demo applications to read sensor outputs within the IDE.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="7"&gt;
&lt;li&gt;&lt;b&gt; Plan Network Architecture&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Deploy MCX A as the central hub, aggregating sensor data from MCX N nodes.&lt;/li&gt;
&lt;li&gt;Define connections&amp;mdash;UART, SPI, I2C, CAN&amp;mdash;for data movement between hub and edge nodes.&lt;/li&gt;
&lt;li&gt;Integrate cloud connectivity for remote monitoring/control.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="8"&gt;
&lt;li&gt;&lt;b&gt; Begin Full Integration&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Start coding your building automation logic; MCX A manages central control and cloud comms.&lt;/li&gt;
&lt;li&gt;Edge MCX N boards handle local sensor data and respond to events.&lt;/li&gt;
&lt;li&gt;Continually document the process: take hardware photos, save code samples, and post regular updates to the challenge forum.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Tips:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Seek troubleshooting help via NXP&amp;rsquo;s Quick Start Guides and community forums.&lt;/li&gt;
&lt;li&gt;Favor media-rich posts&amp;mdash;photos, videos, and technical documentation&amp;mdash;for higher challenge scores.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Forum Post #3:
Adaptive Environmental Monitoring and Smart Access Control</title><link>https://community.element14.com/thread/56231?ContentTypeID=0</link><pubDate>Fri, 03 Oct 2025 02:49:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ed641143-9924-44d1-8e5f-b122056077e7</guid><dc:creator>skruglewicz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56231?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56231/forum-post-3-adaptive-environmental-monitoring-and-smart-access-control/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Forum Post #3:&lt;br /&gt;Adaptive Environmental Monitoring and Smart Access Control&lt;/p&gt;
&lt;p&gt;Step-by-Step Guide to NXP FRDM MCX A &amp;amp; MCX N Development Kits&lt;/p&gt;
&lt;p&gt;This document is a **step-by-step guide** for unboxing and setting up the NXP FRDM MCX A and MCX N development kits, specifically for a building automation project. It walks you through the entire process&amp;mdash;from hardware inspection and power-up to installing development software, verifying board communication, connecting sensors, planning network architecture, and documenting each step for effective forum sharing. The series provides clear instructions to help users go from unboxing the hardware to integrating all components in a scalable smart automation solution.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Step-by-Step Guide&lt;/b&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;1. Unbox the Kits&lt;/b&gt;&lt;/h1&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Remove both the &lt;/span&gt;&lt;b&gt;NXP FRDM MCX A153&lt;/b&gt;&lt;span style="font-weight:400;"&gt; (central hub) and &lt;/span&gt;&lt;b&gt;NXP FRDM MCX N236&lt;/b&gt;&lt;span style="font-weight:400;"&gt; (edge node) boards from their boxes.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Check the packaging for cables (USB Type-C for MCX A, Micro USB for MCX N), Quick Start Guides, and any additional accessories.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;2. Inspect the Boards&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Carefully examine both boards for bent pins, loose components, or surface damage.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Note each board&amp;#39;s expansion headers: Arduino R3 sockets, mikroBUS, Pmod (on MCX A), sensor connectors, USB ports.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;3. Connect to Power&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Attach the provided USB cable from the &amp;quot;MCU-Link&amp;quot; debug port to your computer for each board.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Verify the power indicators:&lt;/span&gt;&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;MCX A: Green LED should light up.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;MCX N: Green LED should also indicate successful power.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Your computer should auto-detect a CMSIS-DAP or J-Link debug interface (may prompt for drivers).&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;4. Install Development Software&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Download and install &lt;/span&gt;&lt;b&gt;MCUXpresso IDE&lt;/b&gt;&lt;span style="font-weight:400;"&gt; from NXP&amp;rsquo;s official website (as described in the Quick Start Guide).&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Follow the instructions to install board support and necessary drivers for both MCX A and MCX N.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;5. Verify Board Communication&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Open MCUXpresso IDE and verify that both boards appear under connected debug probes.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Try flashing a prebuilt &amp;quot;Hello World&amp;quot; application or blinking LED demo to confirm setup.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;6. Connect and Test Sensors&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;For MCX N boards: connect basic sensors (temperature, humidity, light, motion) to headers as specified in the board manual.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Use provided demo applications to read sensor values in MCUXpresso IDE.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;7. Network Architecture&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Deploy MCX A as the central hub, aggregating sensor data from multiple MCX N nodes deployed in building zones.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Plan connections and communication protocols: use UART, SPI, I2C, or CAN as supported.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;b&gt;8. Begin Project Integration&lt;/b&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start building your distributed building automation solution, following challenge requirements:&lt;/span&gt;&lt;ul&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;MCX A manages control logic and cloud communication.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;MCX N boards act as sensor-rich edge nodes.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Document progress with photos, code snippets, and stories for forum updates.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Tip:&lt;/b&gt;&lt;span style="font-weight:400;"&gt; Reading official Quick Start Guides and checking the NXP community forums for board-specific troubleshooting will speed up setup..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces - NXP eIQ toolkit in AI model and training</title><link>https://community.element14.com/thread/56197?ContentTypeID=0</link><pubDate>Thu, 25 Sep 2025 08:50:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6ec549c5-b760-4380-aa37-3b4946539208</guid><dc:creator>fyaocn</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/56197?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56197/smart-spaces---nxp-eiq-toolkit-in-ai-model-and-training/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h3 id="mcetoc_1j5t8gtb81"&gt;1&amp;nbsp;Install eIQ&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;Download and install eIQ from NXP website&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/3542.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;The plugins and install packages are extracted, installed and configured.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/8322.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Until the installation complete.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/0841.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j5t8gtb81"&gt;2 Start&amp;nbsp;&amp;nbsp;eIQ&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;Start eIQ and enter welcome page for different components,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/6278.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Remote device like USB camera can be added for image capture for dataset&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/2068.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;This is Time series studio for&amp;nbsp; time-series dataset, training with many model available to use.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/4135.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;The create new project can create new project use images,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/0815.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;now, only three model is supported&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/5706.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After model is selected, the UI appears for dataset import and model training&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/5224.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j5t8gtb81"&gt;3 Use time series studio&lt;/h3&gt;
&lt;p&gt;Create new project&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/3652.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;select hardware, now FRDM-MCXN236 and not support&amp;nbsp; for FRDM-MCXA153&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/12.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;then select raw data which is in csv format or txt format, there are three channel created,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/13.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;start training, with memory allocation shown.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/14.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;the train in progress,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/15.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;with training process in active windows&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/21.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;after the training completed, deploy the result , generate files to embedded in the project or direct generate one project.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/22.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This is how the eIQ shall be used in designing and the toolkit is well and easy to be used.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces - Import New Project with NXP Application Code Hub</title><link>https://community.element14.com/thread/56191?ContentTypeID=0</link><pubDate>Wed, 24 Sep 2025 07:08:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6b2f5953-128f-4b74-957f-d692e3669856</guid><dc:creator>fyaocn</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56191?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56191/smart-spaces---import-new-project-with-nxp-application-code-hub/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h3 id="mcetoc_1j5t8gtb81"&gt;1 Import New Project with NXP Application Code Hub&lt;/h3&gt;
&lt;p&gt;Start with&amp;nbsp;&lt;span&gt;the &amp;quot;Motor RPM Grapher in OLED with USB&amp;quot; project from NXP Application Code Hub.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Start from import project&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/01.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Search and select the demo project fit well.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/02.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Now press next,&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/03.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Then press github link to next step&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/04.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;clone the repository into local&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/05.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Press fininsh to complete.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/06.JPG" /&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j5t8ghei0"&gt;2 Build and download&amp;nbsp;&lt;/h3&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;Its core function is to realize real-time motor speed (RPM) acquisition and visualization using the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;FRDM-MCXA153 development board&lt;/strong&gt;: The board connects to the main control panel via USB to receive motor speed data, and displays the speed information in real time in a graphical format through the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Mikroe OledBClick OLED display module&lt;/strong&gt;.&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;Key project tags are summarized in the table below:&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br mdbox-table-root table-container-GhL7Lo" data-scroll-inline-overflow="false" data-scroll-inline-at-start="true" data-scroll-inline-start-overflow="false" data-scroll-inline-at-end="true" data-scroll-inline-end-overflow="false"&gt;
&lt;div class="table-scroll-container-hgHkfW mdbox-table-scroll-container"&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Details&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Core Development Board&lt;/td&gt;
&lt;td&gt;FRDM-MCXA153&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Application Categories&lt;/td&gt;
&lt;td&gt;HMI (Human-Machine Interface), Industrial, Graphics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Peripherals Used&lt;/td&gt;
&lt;td&gt;GPIO (General-Purpose Input/Output), I2C (Inter-Integrated Circuit), USB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported Toolchains&lt;/td&gt;
&lt;td&gt;MCUXpresso IDE, VS Code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Press build to start build&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/07.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;The build process is passed with no error.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/08.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Press debug,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;During first debug, Port Probe to SWO port&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/09.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Then CMSIS-DAP is probed&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/10.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Now, the debug can be stopped since the code is flashed into the MCU&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/11.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j5t8qkbr2"&gt;3 Summary&lt;/h3&gt;
&lt;p&gt;Even import example from SDK is normally more accessible, Application code hub can bring more complex demo project as template for further development.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Smart Spaces - Getting start with FRDM-A153 from  MCUxpresso IDE and Power Up</title><link>https://community.element14.com/thread/56189?ContentTypeID=0</link><pubDate>Tue, 23 Sep 2025 02:06:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bfd3eda8-5c28-4e26-830b-4736d00cd937</guid><dc:creator>fyaocn</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/56189?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/design-challenges/smart-spaces-design-challenge/f/forum/56189/smart-spaces---getting-start-with-frdm-a153-from-mcuxpresso-ide-and-power-up/rss?ContentTypeId=0</wfw:commentRss><description>&lt;h3 id="mcetoc_1j5q47l890" class="header-vfC6AV auto-hide-last-sibling-br"&gt;1. &amp;nbsp;Summary&lt;/h3&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;MCUxpresso IDE&amp;nbsp; shall be normally used for FRDM-MCXA153 development board.&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;strong&gt;Software development environment setup, and example project execution&lt;/strong&gt;&amp;nbsp;start with validating hardware functionality by connecting a Type-C USB cable to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;J15 interface&lt;/strong&gt;; then&amp;nbsp; importing the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDK_2.x_FRDM-MCXA153，&lt;/strong&gt;&amp;nbsp;configuring UART (with parameters like&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;115200 baud rate&lt;/strong&gt;)&amp;nbsp;to&amp;nbsp; get started with this&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Arm Cortex-M33 core&lt;/strong&gt;board. Here is how getting start up shall go.&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/exported_5F00_image.png" /&gt;&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;
&lt;h3 id="mcetoc_1j5q48o111" class="header-vfC6AV auto-hide-last-sibling-br"&gt;&lt;span&gt;2.&amp;nbsp;&lt;/span&gt;Detailed&lt;/h3&gt;
&lt;h4 class="header-vfC6AV auto-hide-last-sibling-br"&gt;I. Hardware Basics &amp;amp; Initial Validation&lt;/h4&gt;
&lt;ol class="auto-hide-last-sibling-br"&gt;
&lt;li&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;strong&gt;Core Board Features&lt;/strong&gt;Based on the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Arm Cortex-M33&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;microcontroller, the board operates at a maximum frequency of&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;96 MHz&lt;/strong&gt;, with high-speed connectivity, serial peripherals, timers, analog functions, and low-power characteristics. It comes pre-loaded with an LED blinky demo for out-of-the-box functionality verification.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;strong&gt;Hardware Connection &amp;amp; Testing&lt;/strong&gt;&lt;/div&gt;
&lt;ul class="auto-hide-last-sibling-br"&gt;
&lt;li&gt;Connection Method: Use a Type-C USB cable to connect the board&amp;rsquo;s&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;J15 interface&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(MCU-Link USB) to a computer or power supply.&lt;/li&gt;
&lt;li&gt;Verification Phenomenon: Upon successful power-up, the RGB LED should blink at a steady rhythm, that is about 1 second interval.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 class="header-vfC6AV auto-hide-last-sibling-br"&gt;II. Software Development Environment Setup&lt;/h4&gt;
&lt;p&gt;Install Mcuxpresso IDE and SDKs&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP_5F00_01.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;After start up, the new version change with new UI&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP_5F00_02.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Then goes to deshboard page&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP_5F00_03.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
Other type of IDE is available as well
&lt;div class="auto-hide-last-sibling-br mdbox-table-root table-container-GhL7Lo" data-scroll-inline-overflow="true" data-scroll-inline-at-start="false" data-scroll-inline-start-overflow="false" data-scroll-inline-at-end="true" data-scroll-inline-end-overflow="false"&gt;
&lt;div class="table-scroll-container-hgHkfW mdbox-table-scroll-container"&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool Type&lt;/th&gt;
&lt;th&gt;Recommended Version/Configuration&lt;/th&gt;
&lt;th&gt;Core Purpose&lt;/th&gt;
&lt;th&gt;Key Settings&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Primary IDE&lt;/td&gt;
&lt;td&gt;MCUXpresso IDE 11.8.0+&lt;/td&gt;
&lt;td&gt;End-to-end project creation, compilation, debugging&lt;/td&gt;
&lt;td&gt;Supports SDK import and CMSIS-DAP probe connection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-Platform IDE&lt;/td&gt;
&lt;td&gt;VS Code + MCUXpresso Extension&lt;/td&gt;
&lt;td&gt;Development on Windows/macOS/Linux&lt;/td&gt;
&lt;td&gt;Requires importing local SDK archive (e.g., SDK_2_14_0_FRDM-MCXA153.zip)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Other IDEs&lt;/td&gt;
&lt;td&gt;IAR Embedded Workbench 9.40.1+&lt;/td&gt;
&lt;td&gt;Development for Cortex-M33 core&lt;/td&gt;
&lt;td&gt;Set debugger to CMSIS-DAP; target device = NXP MCXN947_core0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Other IDEs&lt;/td&gt;
&lt;td&gt;Keil &amp;micro;Vision 5.33+&lt;/td&gt;
&lt;td&gt;Requires CMSIS device pack (MCXNXXX_DFP)&lt;/td&gt;
&lt;td&gt;Select J-LINK in debug options&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 class="header-vfC6AV auto-hide-last-sibling-br"&gt;III. SDK Import &amp;amp; Project Workflow&lt;/h4&gt;
&lt;ol class="auto-hide-last-sibling-br"&gt;
&lt;li&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;strong&gt;SDK Acquisition &amp;amp; Import&lt;/strong&gt;&lt;/div&gt;
&lt;ul class="auto-hide-last-sibling-br"&gt;
&lt;li&gt;SDK Version: Recommended&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDK_2.x_FRDM-MCXA153 &lt;/strong&gt;&amp;nbsp;which must be unzipped in advance.&lt;/li&gt;
&lt;li&gt;Import Path: In the IDE&amp;rsquo;s &amp;quot;Quickstart Panel&amp;quot;, click&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Import SDK example(s)&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and select the FRDM-MCXA153 board and corresponding SDK.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Drap and install the sdk automatically&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP_5F00_04.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Plug in the board, the CMSIS-DAP driver is installed automatically and virtual port is added.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/441/NXP_5F00_05.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1j5q47l890" class="header-vfC6AV auto-hide-last-sibling-br"&gt;3.&amp;nbsp;&amp;nbsp;&lt;strong&gt;MCUXpresso IDE&amp;nbsp; Project Operations&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;
&lt;div class="auto-hide-last-sibling-br mdbox-table-root table-container-GhL7Lo" data-scroll-inline-overflow="false" data-scroll-inline-at-start="true" data-scroll-inline-start-overflow="false" data-scroll-inline-at-end="true" data-scroll-inline-end-overflow="false"&gt;
&lt;div class="table-scroll-container-hgHkfW mdbox-table-scroll-container"&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Details&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Project Selection&lt;/td&gt;
&lt;td&gt;Expand&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;demo_apps&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;hello_world&lt;/code&gt;, or expand&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;driver_examples&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to select&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;ctimer_match_interrupt_example&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Configuration&lt;/td&gt;
&lt;td&gt;Check&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;UART&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;as the SDK Debug Console (replacing default semihosting)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Project Build&lt;/td&gt;
&lt;td&gt;Click the &amp;quot;Build&amp;quot; button; success is indicated by&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;0 errors and 0 warnings&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the console (takes ~15 seconds)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Program Download&lt;/td&gt;
&lt;td&gt;Click the &amp;quot;Debug&amp;quot; button, select the MCU-Link CMSIS-DAP probe, and the program will be automatically downloaded to the board&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Result Verification&lt;/td&gt;
&lt;td&gt;Open the terminal (configured as per the table above) and view output like &amp;quot;Hello World&amp;quot; after running the program&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;The power up of FRDM-MCXN236 is similar with with blink as out-of-factory demo.&lt;/div&gt;
&lt;div class="auto-hide-last-sibling-br paragraph-JOTKXA paragraph-element br-paragraph-space"&gt;It is well and ready to code .&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>