<?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>LPC Microcontrollersのトピックuse USART for application and USB CDC for debug console in LPC54018 module +AWS</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-USART-for-application-and-USB-CDC-for-debug-console-in/m-p/858759#M34188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the LPC54018 IOT wifi module + base board&amp;nbsp;with the AWS&amp;nbsp; demo. My target is to use the USB CDC as the debug console and use USART0 ( via jumper P4 on the base board) with DMA for other application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any guideline to instruct me the correct marco configurations?&lt;/P&gt;&lt;P&gt;I am able to use USB_CDC as the debug console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I&amp;nbsp; tried to&amp;nbsp;copy&amp;nbsp;the code in the example ,cmsis_usart_dma , from the MCUXpresso LPC54018 SDK to do the implementation of the USART0 for other application. But without luck.&amp;nbsp; It seems that the library version in AWS and the version in SDK are not the same.&lt;/P&gt;&lt;P&gt;For example, I don't see any RTE_Device.h in the AWS demo code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My LPC54018 SDK&amp;nbsp; version 2.5.0, CMSIS: V5.1 ,&amp;nbsp; fsl_usart version V2.0.3&lt;/P&gt;&lt;P&gt;AWS demo CMSIS versiom : V5.0 , fsl_usart version V2.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 03:16:34 GMT</pubDate>
    <dc:creator>nick_ng</dc:creator>
    <dc:date>2019-03-01T03:16:34Z</dc:date>
    <item>
      <title>use USART for application and USB CDC for debug console in LPC54018 module +AWS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-USART-for-application-and-USB-CDC-for-debug-console-in/m-p/858759#M34188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the LPC54018 IOT wifi module + base board&amp;nbsp;with the AWS&amp;nbsp; demo. My target is to use the USB CDC as the debug console and use USART0 ( via jumper P4 on the base board) with DMA for other application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any guideline to instruct me the correct marco configurations?&lt;/P&gt;&lt;P&gt;I am able to use USB_CDC as the debug console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I&amp;nbsp; tried to&amp;nbsp;copy&amp;nbsp;the code in the example ,cmsis_usart_dma , from the MCUXpresso LPC54018 SDK to do the implementation of the USART0 for other application. But without luck.&amp;nbsp; It seems that the library version in AWS and the version in SDK are not the same.&lt;/P&gt;&lt;P&gt;For example, I don't see any RTE_Device.h in the AWS demo code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My LPC54018 SDK&amp;nbsp; version 2.5.0, CMSIS: V5.1 ,&amp;nbsp; fsl_usart version V2.0.3&lt;/P&gt;&lt;P&gt;AWS demo CMSIS versiom : V5.0 , fsl_usart version V2.0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 03:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/use-USART-for-application-and-USB-CDC-for-debug-console-in/m-p/858759#M34188</guid>
      <dc:creator>nick_ng</dc:creator>
      <dc:date>2019-03-01T03:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: use USART for application and USB CDC for debug console in LPC54018 module +AWS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-USART-for-application-and-USB-CDC-for-debug-console-in/m-p/858760#M34189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;Regarding to your question, these versions are not same:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;My LPC54018 SDK&amp;nbsp; version 2.5.0, CMSIS: V5.1 ,&amp;nbsp; fsl_usart version V2.0.3&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;AWS demo CMSIS versiom : V5.0 , fsl_usart version V2.0.1&lt;/P&gt;&lt;P&gt;These version numbers are for each module. they are not same. it's normal. As long as they are all included under same version of SDK 2.5.0, they are compatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTE_Device.h is real time environment file for CMSIS. It's only for CMSIS demo code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add other module to a certain project, I suggest you use "manage SDK component " feature.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79281i103B96D1C8B27B52/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But please note, adding/removing components could potentially break your project. You need be very carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/use-USART-for-application-and-USB-CDC-for-debug-console-in/m-p/858760#M34189</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-03-06T04:00:48Z</dc:date>
    </item>
  </channel>
</rss>

