<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Baremetal using CMSIS in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559541#M50827</link>
    <description>&lt;P&gt;Have you installed the SDK for your controller? If so, then import an SDK example and have a look at the source code. There are CMSIS driver examples for I2C, SPI and USART interfaces.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 16:00:36 GMT</pubDate>
    <dc:creator>danielholala</dc:creator>
    <dc:date>2022-11-24T16:00:36Z</dc:date>
    <item>
      <title>Baremetal using CMSIS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559497#M50826</link>
      <description>&lt;P&gt;I am a beginner in nxp and need to make a baremetal CMSIS project. I am using&amp;nbsp;&lt;SPAN&gt;LPC55S28JBD100 controller. I don't know how to get started. PLease share some projects and links which help me to learn more on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 14:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559497#M50826</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-24T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal using CMSIS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559541#M50827</link>
      <description>&lt;P&gt;Have you installed the SDK for your controller? If so, then import an SDK example and have a look at the source code. There are CMSIS driver examples for I2C, SPI and USART interfaces.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 16:00:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559541#M50827</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2022-11-24T16:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal using CMSIS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559631#M50831</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208808"&gt;@smishra125&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;First&lt;/STRONG&gt;, download an IDE compatible for creating your project, as &lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE" target="_blank"&gt;MCUXpresso IDE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Second&lt;/STRONG&gt;, in MCUXpresso IDE (as &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;&amp;nbsp;points out) there is a bunch of examples you could try related with CMSIS, but first you need to download the SDK for your microcontroller; there are two ways:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI value="1"&gt;Trough the MCUXpresso IDE&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1669339874074.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201674i7C3EB1777D14A2DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1669339874074.png" alt="RaulRomero_0-1669339874074.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI value="2"&gt;Trough the &lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank"&gt;MCUXpresso SDK Builder&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1669339874084.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201676i98EACC8565A978F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1669339874084.png" alt="RaulRomero_1-1669339874084.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can access the examples in MCUXpresso IDE as follows:&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI value="1"&gt;Click on Import SDK example(s)…&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_2-1669339874089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201675i6E3CD9472E19A7D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_2-1669339874089.png" alt="RaulRomero_2-1669339874089.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI value="2"&gt;Select the micro or board related with the SDK you download it&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_3-1669339874094.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201677i53D417A8AC393600/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_3-1669339874094.png" alt="RaulRomero_3-1669339874094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;OL type="1"&gt;
&lt;LI value="3"&gt;Then search for CMSIS examples&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_4-1669339874099.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201678iD8814451FB8E3EFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_4-1669339874099.png" alt="RaulRomero_4-1669339874099.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Third&lt;/STRONG&gt;, if you are searching for more information, I recommend you take a look to the following links: &lt;A href="https://www.keil.com/pack/doc/cmsis/Driver/html/index.html" target="_blank"&gt;Overview CMSIS&lt;/A&gt;, and &lt;A href="https://www-users.york.ac.uk/~pcc1/MCP/CMSIS_Core.html" target="_blank"&gt;CMSIS: Cortex Microcontroller Software Interface Standard&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Regards, Raul&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 01:32:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559631#M50831</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-11-25T01:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal using CMSIS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559997#M50843</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206649"&gt;@RaRo&lt;/a&gt;&amp;nbsp;I got that and made the project. Also one thing, I want to toggle the LED without GPIO_PORTToggle(). I prepared the code but don't know how to clear the port. I tried to use&amp;nbsp;gpio-&amp;gt;CLR[1] = (1&amp;lt;&amp;lt;LED_RED); but it failed.&lt;/P&gt;&lt;P&gt;Following is the code snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void delay_ms(uint32_t count)&lt;BR /&gt;{&lt;BR /&gt;for(uint32_t i = 0 ; i &amp;lt; count*1000 ; i++);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void) {&lt;BR /&gt;GPIO_Type *gpio = GPIO;&lt;BR /&gt;// TODO: insert code here&lt;BR /&gt;//&lt;BR /&gt;SYSCON_Type *syscon = SYSCON;&lt;/P&gt;&lt;P&gt;syscon-&amp;gt;AHBCLKCTRL.AHBCLKCTRL0 |= (1&amp;lt;&amp;lt;15);//ENABLE GPIO1 CLOCK&lt;BR /&gt;syscon-&amp;gt;AHBCLKCTRL.AHBCLKCTRL0 |= (1&amp;lt;&amp;lt;13);//ENABLE IOCON CLOCK&lt;/P&gt;&lt;P&gt;gpio-&amp;gt;SET[1] = 0xff;//enable gpio 1 for reading/writing&lt;BR /&gt;gpio-&amp;gt;DIR[1] = 0xff;// make gpio as output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Force the counter to be placed into memory&lt;BR /&gt;volatile static int i = 0 ;&lt;BR /&gt;// Enter an infinite loop, just incrementing a counter&lt;BR /&gt;while(1) {&lt;BR /&gt;i++ ;&lt;BR /&gt;gpio-&amp;gt;B[1][LED_RED] = (1&amp;lt;&amp;lt;LED_RED);&lt;BR /&gt;delay_ms(1000);&lt;BR /&gt;gpio-&amp;gt;B[1][LED_GREEN] = (1&amp;lt;&amp;lt;LED_GREEN);&lt;BR /&gt;delay_ms(1000);&lt;BR /&gt;gpio-&amp;gt;B[1][LED_BLUE] = (1&amp;lt;&amp;lt;LED_BLUE);&lt;BR /&gt;delay_ms(1000);&lt;BR /&gt;}&lt;BR /&gt;return 0 ;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 13:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1559997#M50843</guid>
      <dc:creator>smishra125</dc:creator>
      <dc:date>2022-11-25T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Baremetal using CMSIS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1561496#M50873</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208808"&gt;@smishra125&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I've already answered you in your other post: &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Trying-to-build-LED-blinking-project-in-baremetal/m-p/1561076#M50855" target="_blank"&gt;Trying to build LED blinking project in baremetal - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Regards, Raul.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 18:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baremetal-using-CMSIS/m-p/1561496#M50873</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-11-29T18:45:16Z</dc:date>
    </item>
  </channel>
</rss>

