How to DMA without PEx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to DMA without PEx

498 Views
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

Tags (2)
0 Kudos
1 Reply

341 Views
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 Kudos