use USART for application and USB CDC for debug console in LPC54018 module +AWS

cancel
Showing results for 
Search instead for 
Did you mean: 

use USART for application and USB CDC for debug console in LPC54018 module +AWS

155 Views
Contributor I

Hi,

I am using the LPC54018 IOT wifi module + base board with the AWS  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.

Are there any guideline to instruct me the correct marco configurations?

I am able to use USB_CDC as the debug console. 

However, when I  tried to copy 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.  It seems that the library version in AWS and the version in SDK are not the same.

For example, I don't see any RTE_Device.h in the AWS demo code.  

Please help!

My LPC54018 SDK  version 2.5.0, CMSIS: V5.1 ,  fsl_usart version V2.0.3

AWS demo CMSIS versiom : V5.0 , fsl_usart version V2.0.1

Thanks in advance,

Nick

Labels (4)
0 Kudos
1 Reply

19 Views
NXP TechSupport
NXP TechSupport

Hi Nick,

Regarding to your question, these versions are not same:

>>My LPC54018 SDK  version 2.5.0, CMSIS: V5.1 ,  fsl_usart version V2.0.3

>>AWS demo CMSIS versiom : V5.0 , fsl_usart version V2.0.1

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.

RTE_Device.h is real time environment file for CMSIS. It's only for CMSIS demo code.

To add other module to a certain project, I suggest you use "manage SDK component " feature.

pastedImage_2.png

But please note, adding/removing components could potentially break your project. You need be very carefully.


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos