How to DMA without PEx

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

How to DMA without PEx

521 次查看
wendersonolivei
Contributor IV

Hi all,

 

I was trying to configure the DMA module at low level (without PEx or PDD). But i don't got it, something is missing..

Someone who knows how to configure it can help?

I've attached my project, with PEx bean (working) and the low level code.

 

Thanks

Original Attachment has been moved to: DMA-(FRDM-KL25Z).zip

标记 (2)
0 项奖励
1 回复

364 次查看
mjbcswitzerland
Specialist V

Hi

You can get DMA code for the KL25 at KINETIS Project Code (all available as source code with KL and K compatibility and no need to generate for particular processors).

It includes memory to memory (memcpy() and memset() optimised for maximum performance based on aligned DMA), as well as UART and ADC/DAC DMA.

Furthermore it allows the DMA operation to be simulated so that it can be studied and any errors easily detected ad corrected before final tests on HW.

Regards

Mark

µTasker Kinetis support

0 项奖励