You are here

DMA not updating vdac | Cypress Semiconductor

DMA not updating vdac

Summary: 2 Replies, Latest post by pavloven on 08 Nov 2016 12:03 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
creative's picture
User
43 posts

hello,

i have attached project . I tried ti read potentiometer by ADC and use DMA to trasfer the adc data to Vdac.Also i have used usrt to print the value of adc. After each conversion of adc DMA should update the vdac but that dint happen. I believe i went wrong in configuring DMA.

Can DMA and UART access the same component at same time?

I Just wanted to know where have i gone wrong in configuring DMA. I used DMA wizard.

 

Thank You.

 

 

user_242978793's picture
User
1029 posts

Try this program I tested it an it works on the 5lp kit.

user_49271930's picture
User
416 posts

It seems incorrect line: 

//CyDmaTdSetConfiguration(dma_TD[0], 1, CY_DMA_DISABLE_TD, 0);   //  no !!!
  CyDmaTdSetConfiguration(dma_TD[0], 1, CY_DMA_INVALID_TD, 0);   //  YES

compare with bobgoar project

Log in to post new comments.