using DMA and periodic timer  send data to DAC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

using DMA and periodic timer  send data to DAC

1,475件の閲覧回数
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 返答(返信)

1,168件の閲覧回数
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 件の賞賛
返信

1,168件の閲覧回数
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 件の賞賛
返信