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

PSoC™ 6 Forum Discussions

SaGa_4641021
Level 4
Level 4
100 sign-ins 50 sign-ins 25 replies posted

Hi

What is the data source name for channel0 in the ADC to use in configuring the DMA ?

I found several options in the ADC.h file , but not sure which register or macro to use!

SaGa_4641021_1-1639693642221.png

 

thanks

SaGa_4641021_0-1639693620329.png

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,
Kindly use the following format.

Cy_DMA_Descriptor_SetSrcAddress(cpuss_0_dw0_0_chan_0_Descriptor_0, SAR->CHAN_RESULT);

Best Regards,
Vasanth

View solution in original post

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,
Kindly use the following format.

Cy_DMA_Descriptor_SetSrcAddress(cpuss_0_dw0_0_chan_0_Descriptor_0, SAR->CHAN_RESULT);

Best Regards,
Vasanth

0 Likes