cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 5, 3 & 1

Anonymous
Not applicable

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.

0 Likes
2 Replies
rola_264706
Honored Contributor II

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

0 Likes
EvPa_264126
Valued Contributor II

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

0 Likes