Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 5, 3 & 1 Forum Discussions

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
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

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