Can somebody help me to achieve receiving the data which length is variable via uart (perhaps with dma?),thanks a lot
Hello Chengguo,
The LPC824 apart of the LPCOpen has a code bundle. The code bundle does have a example of UART with DMA, also another good point of the code bundle is that the examples doesn't add so much overhead as the ones of the LPCOpen.
If you are working with MCUXpresso IDE you will find the code bundle in the next path:
C:\nxp\MCUXpressoIDE_10.1.1_606\ide\Examples\CodeBundles
In LPCXpresso the path is the following:
C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\Examples\CodeBundles
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------