<?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/"><channel><title>[FRDM-KE02Z - PE - CW] Tutorial: Make it blink RGB</title><link>https://community.element14.com/products/devtools/kinetiskl2freedomboard/w/documents/16959/frdm-ke02z---pe---cw-tutorial-make-it-blink-rgb</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>[FRDM-KE02Z - PE - CW] Tutorial: Make it blink RGB</title><link>https://community.element14.com/products/devtools/kinetiskl2freedomboard/w/documents/16959/frdm-ke02z---pe---cw-tutorial-make-it-blink-rgb</link><pubDate>Thu, 31 Jul 2014 04:21:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2e312c38-3ed8-4c7f-84e1-d0978e702281</guid><dc:creator>bheemarao</dc:creator><comments>https://community.element14.com/products/devtools/kinetiskl2freedomboard/w/documents/16959/frdm-ke02z---pe---cw-tutorial-make-it-blink-rgb#comments</comments><description>Current Revision posted to Documents by bheemarao on 7/31/2014 4:21:18 AM&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;This Project brings you a detailed steps involved in creating and demonstrating a RGB LED peripheral present on KE02 Freedom demo board (&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-oCilcoiu-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;FRDM-KE02Z&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-oCilcoiu-unlinked"&gt;FRDM-KE02Z&lt;/span&gt;&lt;/span&gt;). &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;The Freescale KE02Z Freedom Board is a simple, yet sophisticated design featuring the Kinetis E Series microcontroller &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-0WezVbGI-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2345458&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2345458&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;KE02Z64VQH2&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-0WezVbGI-unlinked"&gt;KE02Z64VQH2&lt;/span&gt;&lt;/span&gt;, the industry’s first 5 V microcontroller built on the ARM&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Cortex&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt;-M0+ core. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;The Kinetis E series is the most scalable portfolio of low-power, high-robustness, mixed signal 32-bit ARM Cortex-M0+ MCUs running up to 20 MHz in the industry. It supports power supply voltage range from 2.7–5.5 V, ambient operating temperature range from –40 °C to 105 °C and includes up to 64 KB flash memory&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;The &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-uqDsuXO2-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;FRDM-KE02Z&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-uqDsuXO2-unlinked"&gt;FRDM-KE02Z&lt;/span&gt;&lt;/span&gt; hardware is a Freescale Freedom Development Platform microcontroller board assembled with the following features&lt;/span&gt;&lt;/p&gt;&lt;ul style="list-style-type:disc;"&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Kinetis E Series KE02 family MCU in an 64 QFP package &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Onboard Serial and Debug Adapter (OpenSDA) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;I/O headers for easy access to MCU I/O pins &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Freescale inertial sensor, &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-JQbEzrhN-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1842359&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=1842359&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;MMA8451Q&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-JQbEzrhN-unlinked"&gt;MMA8451Q&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Capacitive touch slider &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Reset pushbutton &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;RGB LED&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Infrared communication &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;One thermistor &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Motor control function interface for simple BLDC motor control &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp; &lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The block diagram of the board is as shown below:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/502x313/__key/communityserver-wikis-components-files/00-00-00-01-49/5516.contentimage_5F00_34943.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5516.contentimage_34943.jpg-502x313.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Fyi6OEXJLyYq9X%2FtLf5KQIg94XBgfMGfF7LWwfY2ej4%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=FYK9KYszUx8XoWtByj8Grw==" style="max-height: 313px;max-width: 502px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Before we proceed with actual project creation let’s have a bit knowledge on Kinetis GPIO concept.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;The most basic interface of a microcontroller is the General Purpose Input/Outputs (GPIOs). These modules allow the programmer to get input from devices such as switches, and outputting the values to display a status or result, for example, on LEDs.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Figure 1 shows the block diagram of the GPIO modules used in the Kinetis Family of microcontrollers. In general, most microcontrollers separate individual GPIO pins into groups, called ports. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;In the Kinetis microcontrollers, each port has 32 pins [31:0] as shown in the next diagram. Each of these ports are connected to the microcontroller via the peripheral bridge, which is a bus that allows slower components to talk to the microcontroller on &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;a shared bus. This design is very common and helps to save on space within the chip. Since GPIO pins are not a high speed interface, they are normally either multiplexed or connected in a bus. Later on, we will see how each of these ports is organized.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/455x290/__key/communityserver-wikis-components-files/00-00-00-01-49/3463.contentimage_5F00_34944.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3463.contentimage_34944.jpg-455x290.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=GKYZaU90isi7BC0tuR21BkuBG%2F%2FHL0zL9c0gYtIrAcM%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=Mube8Cr7sSM1Y/VMXPwubQ==" style="max-height: 290px;max-width: 455px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;text-align:center;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Figure 1: GPIO Port block diagram from Freescale Kinetis Microcontroller&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;text-align:left;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;In the Kinetis microcontrollers, the GPIO are connected into ports of 32 pins each. Each of these ports have a separate set of registers to control the pins. To control whether the GPIO pin is used as an input or an output, the user can set a bit in the Port Data Direction Register (GPIOx_PDDR) shown below in Figure 2.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/609x86/__key/communityserver-wikis-components-files/00-00-00-01-49/2867.contentimage_5F00_34945.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/2867.contentimage_34945.jpg-609x86.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ioEIag4RTBnDSJJx8gqHewE60TYm2e%2F5cvEIrgt38jI%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=I09P2ztVBkLsMAzJz+5lrw==" style="max-height: 86px;max-width: 609px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="center" style="margin:0;margin-bottom:.0001pt;text-align:center;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Figure 2: GPIO Port Data Direction Register (GPIOx_PDDR)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="center" style="margin:0;padding:0px;margin-bottom:.0001pt;text-align:center;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;If the pin is setup as an output there are four registers that can be modified to set the output value. The Port Data Output Register (GPIOx_PDOR) sets the value of a pin to logic level 0 when a 0 is written, and a logic level 1 when a 1 is written.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The Port Set Output Register (GPIOx_PSOR) allows the user to write a 1 to it in order to set the logic level at 1. The PortClear Output Register (GPIOx_PCOR) allows the user to write a 1 to it in order to clear the pin, thus setting it to logic level 0.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;This may seem like overkill, to have two extra registers, when you can do the same with 1. However, it really makes it easier to always set a bit to change the value of a output pin. The Port Toggle Output Register (GPIOx_PTOR) allows the user to write a 1 to it in order to toggle the current logic state. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;For example, if the current value is 1 then writing a 1 to the register will flip the output logic level to 0. Also, writing a 1 to the register when the current level is 0, flips the output logic level to 1. If the pin is setup as an input, then reading the value in the Port Data Input Register (GPIOx_PDIR) will give the current logic level on the pin. Through the use of these register, the user can read and write data onto the pin with ease.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The Kinetis microcontrollers were designed for very low power operation. One of the ways to reduce the power on a chip is to turn off the clocks to particular areas that are not in use. The default setting for the microcontroller is to have the clock disabled. In order to use a particular peripheral or resource the user needs to enable this clock to each item individually. This is a great feature, and builds upon the latest research in preventing wasted power by reducing the dynamic power required for a chip.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/693x250/__key/communityserver-wikis-components-files/00-00-00-01-49/1362.contentimage_5F00_34946.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/1362.contentimage_34946.jpg-620x224.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=%2BzzddZVglG3v50cGRg7OeymioeDfsogccXw8VdWxmMU%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=BtI5VQT/rFu9XHjGkR7HQw==" style="max-height: 224px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:0.0001pt;text-align:center;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Figure 3: System Clock Gating Control Register 5 (SIM_SCGC5)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Functional Description:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;margin-bottom:.0001pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Each GPIO pin has 6 registers that are used to modify and evaluate the state of the pin. The block diagram for the GPIO pin operations used in the Kinetis microcontrollers is shown below in Figure 4.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/415x271/__key/communityserver-wikis-components-files/00-00-00-01-49/8228.contentimage_5F00_34947.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/8228.contentimage_34947.jpg-415x271.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Dz4u0dlsoNdjI2QH%2FaWFFi7jkV7W7x2S88Jbquhbm3c%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=J8eIE6ZEcjenQxuFdzTXqQ==" style="max-height: 271px;max-width: 415px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:0.0001pt;text-align:center;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Figure 4: A GPIO Pin Block Diagram&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:0.0001pt;text-align:left;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The actual GPIO pin is buffered into and out of the microcontroller so that the voltage levels do not short out the delicate chips circuits. These buffers are actually tri-state &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;buffers since they can be set to a low logic level, a high logic level, and a high impedance value. These buffers are controlled via the data direction register.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;As is shown in the diagram, there is an inverter between this register and the input buffer, so in order to use the pin as an input a ‘0’ must be written to the register. This also would turn off the output buffer so that the user doesn’t accidentally drive the value on the pin and read it at the same time.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The four output registers are multiplexed to the output buffer and this is controlled by logic that enables the register that was written to last. This way the user can write to any register at any time and update the value. The input buffer connects directly to the input register that can then be read by the user to determine the logic level on the pin.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;A Short note on OpenSDA:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp; &lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;OpenSDA is a low-cost debug/programming interface embedded in certain Freescale evaluation boards. It handles debug communications between the PC and target via USB. Evaluation boards that feature OpenSDA are great for the beginning phases of development.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/608x274/__key/communityserver-wikis-components-files/00-00-00-01-49/2451.contentimage_5F00_34948.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/2451.contentimage_34948.jpg-608x274.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=GLV%2BMy6jBaFhklNBfhd9KGzRQNTrZfIBfdpreHBzYW8%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=dlK6dGqjZiTX9kbBPbVooQ==" style="max-height: 274px;max-width: 608px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;OpenSDA is managed by a Kinetis K20 MCU built on the ARM&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Cortex&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;-M4 core. The Kinetis K20 includes an integrated USB controller that can operate at clock rates up to 50MHz. The OpenSDA circuit includes, at a minimum, a status LED and a pushbutton. The pushbutton asserts the Reset signal to the target processor, which could be a microcontroller, digital signal controller, or a microprocessor. It can also be used to place the OpenSDA circuit into Bootloader mode. The OpenSDA circuit receives power when plugged into a USB Host.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;OpenSDA software includes a flash-resident USB MSD Bootloader and a collection of OpenSDA Applications. The MSD Bootloader is consistent across all implementations of OpenSDA, but the available OpenSDA Applications may vary from one hardware system to another. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The OpenSDA MSD Bootloader provides a simple interface for loading an OpenSDA Application into the OpenSDA processor’s non-volatile memory. Only one OpenSDA Application may be resident at a time, and this application will be automatically run at startup unless Bootloader mode is selected by holding down the Reset button while plugging in a USB cable. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The P&amp;amp;E Debug Application is an OpenSDA Application that provides debugging and a virtual serial port all in one application. It provides a run-control debug interface that controls the JTAG or SWD debug interface to the target processor. It also provides a USB communications device class (CDC) interface that bridges serial communications between the USB Host and a UART serial interface on the target processor. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;The P&amp;amp;E Debug Application is designed to debug the resident target processor in the OpenSDA system with limited support for off-board devices within the same processor family as the resident target processor.&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;Steps to be followed to load OpenSDA Debug file:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Before we start we need to download KE02 board quick start package from below link: ‘&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-XvYH2Yy1-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2341582&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;FRDM-KE02Z&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-XvYH2Yy1-unlinked"&gt;FRDM-KE02Z&lt;/span&gt;&lt;/span&gt;’ Quick Start Package containing Quick Start Guide, precompiled examples and OpenSDA Applications.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12pt;font-family:Arial, sans-serif;color:#0000ff;"&gt;&lt;a class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KE02Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" rel="nofollow ugc noopener" target="_blank"&gt;&lt;span style="text-decoration:underline;color:#0000ff;"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KE02Z&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab#&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Plug in a USB cable from a USB host to the OpenSDA mini-B USB connector. The FRDM-KE02Z will be powered by this USB connection.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;It comes with the mass-storage device (MSD) Flash Programmer OpenSDA Application preinstalled. It will appear as a removable storage drive with a volume label of &lt;span style="color:#000000;text-decoration:underline;"&gt;&amp;#39;FRDM-KE02Z&lt;/span&gt;&amp;#39;.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now the board has to be in P&amp;amp;E Debug mode before we create a project in Processor Expert so that we can “Run” and “Debug” our example project, &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;background:white;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;P&amp;amp;E Debug Application&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;background:white;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#333333;background:white;"&gt;The P&amp;amp;E Debug Application is a run-control debug interface that controls the JTAG or SWD debug interface to the target controller/processor. It also provides a virtual serial port bridging a USB CDC device to a UART serial interface on the target device. Thus, it provides debugging and a serial port all in one application. Host drivers for this application are provided with several IDE toolchains such as CodeWarrior for Microcontrollers, IAR Embedded Workbench, and Keil MDK. Drivers are also available for download from P&amp;amp;E Microcomputer Systems at &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;text-decoration:underline;"&gt;&lt;a class="jive-link-external-small" href="http://www.pemicro.com/opensda" rel="nofollow ugc noopener" target="_blank"&gt;&lt;span style="color:#3366ff;background:white;text-decoration:underline;"&gt;http://www.pemicro.com/opensda&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#333333;background:white;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-size:12.0pt;background:white;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;text-decoration:underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-size:12.0pt;background:white;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;text-decoration:underline;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/307x236/__key/communityserver-wikis-components-files/00-00-00-01-49/2055.contentimage_5F00_34949.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/2055.contentimage_34949.jpg-307x236.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=%2BKnUGTZgkqy48uK1A8vE%2B9vL4HtjKpdU%2BLOBzlLyrCA%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=h04frE+lmMP6AsR4UhclNA==" style="max-height: 236px;max-width: 307px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;To do so the board should be in OpenSDA Bootloader mode so that the file “DEBUG-APP_Pemicro_v106.SDA” can be loaded.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;To Enter into OpenSDA Bootloader Mode follow the below steps:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;1. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Unplug the USB cable if attached.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;2. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Press and hold the Reset button (SW1).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;3. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Plug in a USB cable between a USB host and the OpenSDA USB connector (labeled ―&lt;em&gt;OPENSDA&lt;/em&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding-left:30px;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;4. &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Release the Reset button.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;A removable drive should now be visible in the host file system with a volume label of “BOOTLOADER” as shown below; you are now in OpenSDA Bootloader mode.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/492x385/__key/communityserver-wikis-components-files/00-00-00-01-49/5187.contentimage_5F00_34950.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5187.contentimage_34950.jpg-492x385.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mz6QobkeFWFz20a30QoOyu8mJePWCQiNDbR%2BydTWj8Y%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=GWIHxkI0EHTJ5DKcsrhhFA==" style="max-height: 385px;max-width: 492px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now Locate the OpenSDA Applications folder in the FRDM-KE02Z Quick Start Package as shown here:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Inside the folder&amp;nbsp; &lt;span style="background:yellow;text-decoration:underline;"&gt;\FRDM-KE02Z_QSP\OpenSDA Applications&lt;/span&gt; you can find three files as shown below:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/571x96/__key/communityserver-wikis-components-files/00-00-00-01-49/8540.contentimage_5F00_34951.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/8540.contentimage_34951.jpg-571x96.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=BLBBZ73CGmONufl6WUfjwcYuZMevAvdy%2BM4KFrqoJKc%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=oRTEaGkx4zqMfHRkEpBnMg==" style="max-height: 96px;max-width: 571px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style="list-style-type:disc;"&gt;&lt;li&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;CMSIS-DAP interface&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt; new ARM standard for embedded debug interface &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;P&amp;amp;E Debug interface&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt; &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;provides run-control debugging and compatibility with IDE tools&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Mass storage device &lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;flash programming interface (default) – no tool installation required to evaluate demo apps &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Copy &amp;amp; paste or drag &amp;amp; drop the MSD Flash Programmer Application “DEBUG-APP_Pemicro_v106.SDA“to the BOOTLOADER drive.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Unplug the USB cable and plug it in again. The new OpenSDA Application (Debug Mode) should now be ready.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now that our board is loaded in Debug Let’s start on creating a Processor expert project to demonstrate RGB LED interfaced to GPIO on KE02 board.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;(Refer to my earlier blog for creating PE project:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt; &lt;a class="jive-link-external-small" href="/products/devtools/kinetiskl2freedomboard/w/documents/16961/frdm-ke02z---pe-tutorial-create-your-first-project" target="_blank"&gt;http://www.element14.com/community/docs/DOC-67175/l/creating-processor-expert-project-for-ke02-kinetis-freedom-board-frdm-ke02z&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Open Codewarrior and select the workspace as shown below:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/578x262/__key/communityserver-wikis-components-files/00-00-00-01-49/1768.contentimage_5F00_34952.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/1768.contentimage_34952.jpg-578x262.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ubKD%2FPHIrjQaWcoC9CoNPFoxImbMjVCINu8gIxJfmYw%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=rkRsjr69mGnvRSlsW487HQ==" style="max-height: 262px;max-width: 578px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Click on &lt;span style="background:yellow;"&gt;File -&amp;gt; New -&amp;gt; Bareboard Project&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;as shown below:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/952x506/__key/communityserver-wikis-components-files/00-00-00-01-49/8625.contentimage_5F00_34953.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/8625.contentimage_34953.jpg-620x330.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mkpVmPGj74fqzMOQEYi4VFgupeaxrOyelemR5nzQ44s%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=VxecPKgvCk0G+TZysigNJw==" style="max-height: 330px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Provide Project Name,&lt;/span&gt; &lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;here in my case i have given project name as “RGB Demo-KE02” as shown below:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/907x527/__key/communityserver-wikis-components-files/00-00-00-01-49/3857.contentimage_5F00_34954.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3857.contentimage_34954.jpg-620x360.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Cdrb9ZO3qXJHEdiWkxoCS4NO9Bbo8CLBNi1UHVLzWLs%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=3BZewLHKa9yzAlJ5LHLoUQ==" style="max-height: 360px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Next select &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Kinetis-E series and KE02Z (20MHz) device &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-MIr8QoBa-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2345458&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2345458&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;MKE02Z64&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-MIr8QoBa-unlinked"&gt;MKE02Z64&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/907x527/__key/communityserver-wikis-components-files/00-00-00-01-49/0714.contentimage_5F00_34955.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/0714.contentimage_34955.jpg-620x360.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=MI4nnbKDKdRlS%2BWzZ7pW6XZ46MVqGp245NllasL5P%2Fk%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=8FSa0l7+lgmysqGIaqRgVw==" style="max-height: 360px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Select OpenSDA as connection to target board to be used for this project&lt;/span&gt; &lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;as shown below&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/962x575/__key/communityserver-wikis-components-files/00-00-00-01-49/7651.contentimage_5F00_34956.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7651.contentimage_34956.jpg-620x371.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=uxz1eY0B%2Boy0aC%2BilKIdyOsT2lWRkurHCqStqAlN1P4%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=e8e7BS3lTt4w6tIWMeMd7g==" style="max-height: 371px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Select Default Language and build tools option as shown&lt;/span&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/962x575/__key/communityserver-wikis-components-files/00-00-00-01-49/1423.contentimage_5F00_34957.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/1423.contentimage_34957.jpg-620x371.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=k4Z4SWIBue814Ap7f5E4ZIaSqUjZrLW8O1e3Xg9KZOo%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ENE10+Ui8OZHWT0XfP9hRw==" style="max-height: 371px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Next, Select ‘Processor Expert’ check box option for Rapid Application Development&lt;/span&gt; &lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;as shown below:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/962x575/__key/communityserver-wikis-components-files/00-00-00-01-49/3542.contentimage_5F00_34958.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3542.contentimage_34958.jpg-620x371.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=7YfaflvJukYgaikURHmRWu99O%2BYPoaplxftOcvurAKI%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=yCoDcwwtMd4rDnDSdvEJkQ==" style="max-height: 371px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;we can see the project wizard is gathering and creating project for given settings&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/962x575/__key/communityserver-wikis-components-files/00-00-00-01-49/3146.contentimage_5F00_34959.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3146.contentimage_34959.jpg-620x371.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mwBnmSUvvKyH09rks5mqfp9e6guUlnhnJ9wdX5OwYr8%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=mPbdvR9+PTkRuA5lQELv2Q==" style="max-height: 371px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;After creating project we can see the above project window ready for next step as shown below:&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/962x575/__key/communityserver-wikis-components-files/00-00-00-01-49/0003.contentimage_5F00_34960.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/0003.contentimage_34960.jpg-620x371.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=FaKsMdJwyKi4MNQ6JEgr0koBCcwjjXayuB0aNS8VLyI%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=mWqu+tbAYImj+8xZN/sIiQ==" style="max-height: 371px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now, &lt;/span&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Select the component ‘BitIO’ from component library and add to project, we need three &amp;#39;BitIO&amp;#39; for connecting three LED’s RGB&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/945x543/__key/communityserver-wikis-components-files/00-00-00-01-49/7840.contentimage_5F00_34961.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7840.contentimage_34961.jpg-620x356.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=7FS75wnR6tGMvbID1XND6y1pt9WBcE%2BUR8i3y7tVkiA%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=iVzkHA1v7/H1dINbH8lxyw==" style="max-height: 356px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;We need three ‘BitIO’ for connecting three LED’s RGB, so add three components as shown here&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/963x543/__key/communityserver-wikis-components-files/00-00-00-01-49/5706.contentimage_5F00_34962.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5706.contentimage_34962.jpg-620x350.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=p4XnBhjCWv2IXpb1y%2FiTwDlWzmCcvbX0gFfEpMjG98c%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=4fOerhyxzAGUth4oEd/OTQ==" style="max-height: 350px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Rename the 3 components as ‘Red’, ‘Green’ and ‘Blue’ for our ease of recognize and readability convention as shown here:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/395x285/__key/communityserver-wikis-components-files/00-00-00-01-49/3652.contentimage_5F00_34963.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3652.contentimage_34963.jpg-395x285.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=wUlwRSnqFw%2FE%2B3AVET2sFja1PTwf08%2BJr6ABfya62bE%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=cp0yZ2MBtVqc0q2hCPK9Qg==" style="max-height: 285px;max-width: 395px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Next refer to the schematic of the board as shown in order to identify the port pin connected to RGB LED (you will get this from “&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;FRDM-KE02Z User’s Manual“)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span lang="EN-US" style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/798x364/__key/communityserver-wikis-components-files/00-00-00-01-49/7652.contentimage_5F00_34964.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7652.contentimage_34964.jpg-620x283.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=SJPRmsEhPPSaFczn8XIr7YfIW6R7SpaBFZ3bBms1RZc%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=WuiKm2lUAfzFjfn9bMxZSA==" style="max-height: 283px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;As we can see the LED’s are having ‘common Anode’ connection which is connected to 3.3V and we need to send ‘0’ signal to port pin to glow the LED and send ‘1’ signal to port pin to switch off the LED.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;Now we need to assign to the particular port pin number as shown here &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;LED &lt;span style="text-decoration:underline;"&gt;Red&lt;/span&gt; is connected to&lt;span style="text-decoration:underline;"&gt; PTH1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;font-size:12pt;"&gt;LED &lt;span style="text-decoration:underline;"&gt;Green&lt;/span&gt; is connected to &lt;span style="text-decoration:underline;"&gt;PTH2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;"&gt;LED &lt;span style="text-decoration:underline;"&gt;Blue&lt;/span&gt; is connected to &lt;/span&gt;&lt;span style="color:black;font-family:Arial, sans-serif;text-decoration:underline;"&gt;PTE7 &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12pt;text-decoration:underline;font-family:Arial, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12pt;text-decoration:underline;font-family:Arial, sans-serif;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/954x545/__key/communityserver-wikis-components-files/00-00-00-01-49/5518.contentimage_5F00_34965.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5518.contentimage_34965.jpg-620x354.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=m4Uocc63mCtGaA90t%2By00irqUmJ8inhCsf7yVEBJlM0%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=Z35wBsPa7vHKKJaN2bYNtg==" style="max-height: 354px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Select direction as ‘output’ and initial value as ‘1’ so that the LED will be ‘switched off’ initially.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/954x545/__key/communityserver-wikis-components-files/00-00-00-01-49/2465.contentimage_5F00_34966.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/2465.contentimage_34966.jpg-620x354.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Zp9K37X4qLFvRjFe2p7oDi1eT9AEN3yNXQRUoCullrM%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=WJ7mMPLOBSkEkXKYnm6nqg==" style="max-height: 354px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span lang="EN-US" style="font-family:Arial, sans-serif;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Perform the same settings to other two LED’s as shown below&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/657x646/__key/communityserver-wikis-components-files/00-00-00-01-49/0312.contentimage_5F00_34967.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/0312.contentimage_34967.jpg-620x610.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=rRhQA9f0dAvhypDgwmuS4e2ddMZoMBhGAIBENKziz3Q%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=5bPJqJbAtouhHXh37So/Ng==" style="max-height: 610px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Next click on ‘Generate Processor Expert’ Code button as shown here to generate all its library contents to be used in our project&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/927x544/__key/communityserver-wikis-components-files/00-00-00-01-49/7268.contentimage_5F00_34968.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7268.contentimage_34968.jpg-620x364.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mwvfw9dzhBD3VPB2R9%2FNtBpImh7SQYQGlMqvPo9bfgU%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=W4tIoPITdG3SwyCE0cCoyg==" style="max-height: 364px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;After clicking Generate code you can see progress of generating files, it can be seen even at right hand below side of CW which is running at background&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/946x553/__key/communityserver-wikis-components-files/00-00-00-01-49/6663.contentimage_5F00_34969.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/6663.contentimage_34969.jpg-620x362.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=PMvJcvkSMyOHpvC85py8I0%2Ftd8hAzo1XK1Si9gN1x40%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=gwCx1IsCze281sa/tDIhCw==" style="max-height: 362px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;After generating the code you can see ‘ProcessorExpert.c’ file is generated under ‘Source’ folder with the entire required header files linked and generated, we need to add our code in this file as shown here.&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/946x553/__key/communityserver-wikis-components-files/00-00-00-01-49/4520.contentimage_5F00_34970.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/4520.contentimage_34970.jpg-620x362.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=QFN4HdNiRg%2F20ZNGlEKM5duTfiIdka3Km6xbMpoVS%2FQ%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=fB5fwuuvnl8Ay3VXe/jwmQ==" style="max-height: 362px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;As shown here we have written piece of code to glow all the three LED sequentially one after the other by giving some delay&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/946x553/__key/communityserver-wikis-components-files/00-00-00-01-49/5280.contentimage_5F00_34971.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5280.contentimage_34971.jpg-620x362.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=efROKJVcU5Oeyu1vm0SlhFrDiS9Gk0NIgmmf5Qq%2F8p0%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=JRQsHk4F6qTSxmX+w5CUiw==" style="max-height: 362px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;unsigned&lt;/strong&gt;&lt;/span&gt; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;int&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt; i;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(;;){&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blue_ClrVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;0&amp;#39; to Blue LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++); &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blue_SetVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;1&amp;#39; to Blue LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++); &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green_ClrVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;0&amp;#39; to Green LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++); &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green_SetVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;1&amp;#39; to Green LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Red_ClrVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;0&amp;#39; to Red LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++);&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Red_SetVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;// passing &amp;#39;1&amp;#39; to Red LED port&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#7f0055;background:yellow;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;strong&gt;for&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;(i=0;i&amp;lt;=1000000;i++);&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#3f7f5f;background:yellow;"&gt;//software delay&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;background:yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Next we need to ‘Clean’ and ‘Build’ the project as shown here&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/920x554/__key/communityserver-wikis-components-files/00-00-00-01-49/3146.contentimage_5F00_34972.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3146.contentimage_34972.jpg-620x373.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=gVYrNVJQfFDdkLsp5qDas0%2Fe0wtCmNI7T5T443%2FT6%2Bw%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=8KaLs9VKJSmG70x/aUF5GA==" style="max-height: 373px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;You can see the build process progress, and the steps involved can be seen in ‘console’ sub-window as shown here and if any error exists it prompts here.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now build process is completed.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;It is ready for ‘debugging’ or ‘Run’ the project.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/890x554/__key/communityserver-wikis-components-files/00-00-00-01-49/0003.contentimage_5F00_34973.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/0003.contentimage_34973.jpg-620x386.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=3fl9DQxnQd2xD64%2FVCg6I%2FVNGjD%2BNzSycqKauxjNxpI%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=lKbbAidwXX1ngyJH2gjFHg==" style="max-height: 386px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now connect KE02 board to computer through USB cable to openSDA port as shown below&lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt; below&lt;/span&gt;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/771x407/__key/communityserver-wikis-components-files/00-00-00-01-49/7840.contentimage_5F00_34974.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7840.contentimage_34974.jpg-620x327.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=IDuj6IdwETrlzRX%2B6vCiIoyor3ilW7WOqd34hMsLLUY%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=z8tUp/bjbbmJLX+sO1XtmQ==" style="max-height: 327px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;To Run the project right click on project folder ‘RGB Demo-KE02’ -&amp;gt; Run As -&amp;gt; and click&lt;/span&gt; &lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Codewarrior option as shown here:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/949x540/__key/communityserver-wikis-components-files/00-00-00-01-49/5706.contentimage_5F00_34975.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5706.contentimage_34975.jpg-620x353.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=8sgqPa6Y57QNXerPkMq5WEPmJu89ePYxP8Bvr7A7W6g%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=IhwWn580dLDtDFvQNd7saw==" style="max-height: 353px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Click on ‘open Perspective’ then select ‘Debug’ then click on ‘ok’ button&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/924x530/__key/communityserver-wikis-components-files/00-00-00-01-49/3652.contentimage_5F00_34976.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3652.contentimage_34976.jpg-620x356.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=bwR2xRnmerRZmMMMTg892Ek5reZ5UZkJvJ6xoSGpqAQ%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=CLREelyJqyfaUrz1LlhdGA==" style="max-height: 356px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now click on “Run” menu then select ‘Run’ &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/964x543/__key/communityserver-wikis-components-files/00-00-00-01-49/6114.contentimage_5F00_34977.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/6114.contentimage_34977.jpg-620x349.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=t5zTfOb8vVZB%2FtE4yRJXU9NzIRFQ2m3Gujgtjzp2p5Q%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zFlmf+aCxXjEOef2Aoj/Mw==" style="max-height: 349px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span lang="EN-US" style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Here you can see the progress happening in the console window, after everything is finished it displays “Target has been RESET and is active”&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/964x578/__key/communityserver-wikis-components-files/00-00-00-01-49/3051.contentimage_5F00_34978.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3051.contentimage_34978.jpg-620x372.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=NGBM80XpgWznshMZ33Za2A281D8zk%2BcHjY01mNw4ZrA%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=eLkCv3ETKw5SWWh7NO8Egw==" style="max-height: 372px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Now the board starts working i.e you can see all the three LED blinks sequentially for some interval (software delay).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;(Note: you can watch this execution in video attached)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/319x214/__key/communityserver-wikis-components-files/00-00-00-01-49/6170.contentimage_5F00_34979.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/6170.contentimage_34979.jpg-319x214.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=UbEEkWjBezy%2B3M6ftkfq1R8qZWiS49%2FvukQ1LRy3y1s%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=Y7nYvL0VoPFz2r5gssVlGQ==" style="max-height: 214px;max-width: 319px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:.0001pt;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blue LED blinking&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;text-decoration:underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/325x231/__key/communityserver-wikis-components-files/00-00-00-01-49/0312.contentimage_5F00_34980.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/0312.contentimage_34980.jpg-325x231.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=it1r0wC5mFPq5bCtc8fc%2BOMuB1Nz6xBbTudlb36%2BuKY%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=fmkFP7p6JKP9/ogc1Ja+Sg==" style="max-height: 231px;max-width: 325px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Green LED blinking&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/331x249/__key/communityserver-wikis-components-files/00-00-00-01-49/7268.contentimage_5F00_34981.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/7268.contentimage_34981.jpg-331x249.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=dNLXEcopb58pllZqovFomwEiLdDELd3y3S00%2Fn%2FyqOY%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=gpUNAbHVsx3m2EVlSWj9zg==" style="max-height: 249px;max-width: 331px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Red LED blinking&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Here is a video output of RGB LED execution:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span id="7a160a53_c261_48d0_9940_683bd0a3ccb1"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=3583566466001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now we will execute this program in “Debug” mode which is explained here:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/964x520/__key/communityserver-wikis-components-files/00-00-00-01-49/6663.contentimage_5F00_34983.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/6663.contentimage_34983.jpg-620x334.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=0KmeSr2EzSgji7E4n%2B08fRpdUGdDzWlNe%2Bu5fNjwer4%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=izBVb18H1u8MMgxfRY3ubA==" style="max-height: 334px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Next proceed by clicking “Run”-&amp;gt;”Debug”, you can see the debugging progress bar at below right side of the CW window.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/931x554/__key/communityserver-wikis-components-files/00-00-00-01-49/2061.contentimage_5F00_34984.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/2061.contentimage_34984.jpg-620x369.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Z2JiK8312%2Frt7GpKMDjtQ%2B2HvVqkEAqGRr%2Bz3T4%2Bmjc%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ftkquN5RpGg91IW6D2b2wA==" style="max-height: 369px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now Debug window is ready for debug process, you can see all associated resources available like Breakpoints, Memory menu, Register menu, Disassembly menu, and ProcessorExpert.c program menu for debugging. This is show below.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/953x562/__key/communityserver-wikis-components-files/00-00-00-01-49/5280.contentimage_5F00_34985.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/5280.contentimage_34985.jpg-620x366.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=8JV%2BtQCOI%2B2CtJxwUjubNAQaZCmDdkO4V5KEMbr2TF4%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=LbpfPJ1HlZj/qCbrMNMb/w==" style="max-height: 366px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Now click on ‘step over’ icon as shown below, CW runs our program in single stepping mode and you can see corresponding registers value changes and while single stepping you can see output LED glowing accordingly.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/927x557/__key/communityserver-wikis-components-files/00-00-00-01-49/3146.contentimage_5F00_34986.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3146.contentimage_34986.jpg-620x373.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=PfQ1qYBySlf%2FF%2BPqvUQ9wFxoCVCXtkyiURMlKaMS05U%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=k8nhAyPVhxG9O8Y+5lZdeQ==" style="max-height: 373px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:black;"&gt;Happy Glowing and Debugging RGB on KE-02 board &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-wikis-components-files/00-00-00-01-49/3364.contentimage_5F00_1.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/3364.contentimage_1.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=o5Mw%2F74Kv50kz9hB9WKZ4GnSc2ftVkLPgcEAwctNnY0%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=zGEM7pHL10Vt71gae75OdA==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/16x16/__key/communityserver-wikis-components-files/00-00-00-01-49/1220.contentimage_5F00_938.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/49/1220.contentimage_938.png-16x16.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=clQr7twKcK89y9dtri%2Bu96ERpRkgpKfseW4k6fG0dWw%3D&amp;amp;se=2026-05-28T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=/gMpxEBFOrSQf8R73bMqwQ==" style="max-height: 16px;max-width: 16px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:black;font-size:12.0pt;font-family:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;text-decoration:underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/136370"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-49/RGB-Demo_2D00_KE02.rar"&gt;community.element14.com/.../RGB-Demo_2D00_KE02.rar&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/136371"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-49/VID_5F00_20140516_5F00_121857.mp4"&gt;community.element14.com/.../VID_5F00_20140516_5F00_121857.mp4&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: cortex-m0+, freescale, kinetis, freedom&lt;/div&gt;
</description></item></channel></rss>