IMXRT1024 LPUART eDMA is Not Work in From Scratch Project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMXRT1024 LPUART eDMA is Not Work in From Scratch Project

跳至解决方案
2,335 次查看
Lukas_Frank
Senior Contributor I

Hi Dear Authorized,

 

I created a project without SDK example. I just want to use LPUART, eDMA, GPT, SPI together. In default SDK example eDMA is working fine. But it is not working in my own project created from scratch. I add to configuration for eDMA from SDK Management panel. What can be the reason for "not working" ? Here are the differences between My Project and SDK Example(lpuart_edma_rb_transfer)

AvailabilityMy ProjectSDK Example
GPTAvailableN/A
assertAvailableN/A
assert liteN/A Available
debug consoleAvailableN/A
debug console liteN/AAvailable
misc utilitiesN/AAvailable
serial managerAvailableN/A
serial manager uartAvailableN/A

 

I thought it can be related with the SDK Management contents. But it seems like not.

 

What can be the root reason for this issue? I am not able to use eDMA with the project from scratch but able to use in default SDK example.

 

Thanks and Regards.

0 项奖励
回复
1 解答
2,324 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Lukas,

I recommend you to compare register configuration in both projects, there should not be any issue with DMA when using LPUART, GPT and SPI in the same project so I assume there is an issue with implementation. Please check also pins and clocks are configured correctly.

An easy way will be to use SDK example as base and then add peripherals one by one making sure everything works before including the next one.

Have a great day,

Felipe

-------------------------------------------------------------------------------

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. 

------------------------------------------------------------------------------ 

在原帖中查看解决方案

1 回复
2,325 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Lukas,

I recommend you to compare register configuration in both projects, there should not be any issue with DMA when using LPUART, GPT and SPI in the same project so I assume there is an issue with implementation. Please check also pins and clocks are configured correctly.

An easy way will be to use SDK example as base and then add peripherals one by one making sure everything works before including the next one.

Have a great day,

Felipe

-------------------------------------------------------------------------------

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. 

------------------------------------------------------------------------------