<?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: Common LPC driver API in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1378348#M3447</link>
    <description>&lt;P&gt;Hi Omar,&lt;/P&gt;&lt;P&gt;you are recommending to use the SDK API (e.g.,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;fsl_usart.h&lt;/FONT&gt;) when available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is: why does the "Peripherals" tools generate code using CMSIS based API (e.g.,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;fsl_usart_cmsis.h&lt;/FONT&gt;) instead?&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE/EDIT: Peripherals tools generates different code based on user's choice. If "Peripheral drivers (Universal)" is selected, CMSIS based code is generated. If "Peripheral drivers (Device specific)" is selected, code based on standard SDK driver is generated. However, I did not find any documentation about this.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 06:43:26 GMT</pubDate>
    <dc:creator>danielholala</dc:creator>
    <dc:date>2022-03-28T06:43:26Z</dc:date>
    <item>
      <title>Common LPC driver API</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1257922#M3119</link>
      <description>&lt;P&gt;The &lt;A href="https://arm-software.github.io/CMSIS_5/General/html/index.html" target="_self"&gt;CMSIS website&lt;/A&gt; states that it defines&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"a common approach to interface to peripherals"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;for example it shows a &lt;A href="https://arm-software.github.io/CMSIS_5/Driver/html/group__usart__interface__gr.html" target="_self"&gt;Driver API for an USART&lt;/A&gt;. However, for LPC devices, there is the &lt;A href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples:LPC-OPEN-LIBRARIES" target="_self"&gt;LPCopen library (LPC1100 - 4300 series) or the MCUXpresso SDK (LPC800 and LPC541xx series)&lt;/A&gt; where both do not use this CMSIS USART Driver API, instead they both have their own USART API.&lt;/P&gt;&lt;P&gt;Can I conclude that there is no common USART API for &lt;EM&gt;all&lt;/EM&gt; LPC devices even though CMSIS sort of suggests that this exists?&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/CMSIS-support-in-LPCXpresso-IDE/m-p/469104" target="_self"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/CMSIS-support-in-LPCXpresso-IDE/m-p/469104&lt;/A&gt; and &lt;A href="https://stackoverflow.com/questions/25681041/cmsis-and-peripherals-drivers" target="_self"&gt;https://stackoverflow.com/questions/25681041/cmsis-and-peripherals-drivers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1257922#M3119</guid>
      <dc:creator>j_bos</dc:creator>
      <dc:date>2021-04-07T11:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Common LPC driver API</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1258974#M3120</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;If the SDK is available for the device we suggest using it. When the MCUXpresso SDK is not available we suggest the LPCOpen libraries. &lt;BR /&gt;Here you can consult the recommended software for each device: &lt;A href="https://community.nxp.com/t5/MCUXpresso-General-Knowledge/MCUXpresso-Supported-Devices-Table/ta-p/1101007" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-General-Knowledge/MCUXpresso-Supported-Devices-Table/ta-p/1101007&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let me know if this solves your questions, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 14:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1258974#M3120</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-04-08T14:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Common LPC driver API</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1263277#M3135</link>
      <description>&lt;P&gt;In a MCUXpresso SDK archive there are &lt;EM&gt;two&lt;/EM&gt; sets of drivers;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;CMSIS drivers&amp;nbsp;with&amp;nbsp;prefix fsl_* and the postfix *_cmsis.* in &lt;EM&gt;*\SDK_x.x.x_device\devices\device\cmsis_drivers&lt;/EM&gt;.&lt;/LI&gt;&lt;LI&gt;NXP drivers with the prefix fsl_* in &lt;EM&gt;*\SDK_x.x.x_device\devices\device\drivers&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For the LPC1100 - 4300 series both sets are not available and creating these is currently not planned by NXP, see &lt;A href="https://community.nxp.com/t5/MCUXpresso-General-Knowledge/MCUXpresso-Supported-Devices-Table/ta-p/1101007" target="_self"&gt;Supported Devices Table&lt;/A&gt;. So the answer to the question above is; yes.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1263277#M3135</guid>
      <dc:creator>j_bos</dc:creator>
      <dc:date>2021-04-16T06:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Common LPC driver API</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1378348#M3447</link>
      <description>&lt;P&gt;Hi Omar,&lt;/P&gt;&lt;P&gt;you are recommending to use the SDK API (e.g.,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;fsl_usart.h&lt;/FONT&gt;) when available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is: why does the "Peripherals" tools generate code using CMSIS based API (e.g.,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;fsl_usart_cmsis.h&lt;/FONT&gt;) instead?&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE/EDIT: Peripherals tools generates different code based on user's choice. If "Peripheral drivers (Universal)" is selected, CMSIS based code is generated. If "Peripheral drivers (Device specific)" is selected, code based on standard SDK driver is generated. However, I did not find any documentation about this.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 06:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Common-LPC-driver-API/m-p/1378348#M3447</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2022-03-28T06:43:26Z</dc:date>
    </item>
  </channel>
</rss>

