using DMA and periodic timer  send data to DAC

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

using DMA and periodic timer  send data to DAC

1,092 次查看
sumy
Contributor I

Hi Friends,

     

     Can anybody help me out....??? I am a fresher..and I have to send data from sdcard to DAC using DMA and TIMER( without using processor expert).If anyone have any code related to this please send me ASAP....

标签 (1)
0 项奖励
回复
2 回复数

785 次查看
Nana
Contributor II

I managed to deal DMA transfer i tried to put receive a buffer data located in ram from UART and then to transmit back on same uart on request all buffer. with DMA support only and interrupts.

First u must configure the timer but don't start it, second configure the dac for DMA requests.

Afther that enable clock surce from SIM for DMA and DMAMUX and set channel source for DMA channel in your case is the timer surce wich will triger the dma.

Afther that you must set address source wichi will be the file start address and destination address wich will be the address of the DAC register, and the corresponding offsets.

THis is my example

https://community.freescale.com/message/105316#105316

0 项奖励
回复

785 次查看
sumy
Contributor I

Hi, I have already maneged an example using DMA transfer the data through UART and its working but when I come to use DAC using DMA,I face difficulty.So please if you hav some more idea abt this then please reply me ASAP.

 

Thanks

Sumy

0 项奖励
回复