DMA_init() Question

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

cross mob
User20043
Level 1
Level 1
First question asked
hello

I can not English.

so, my write is grammar is wrong.

today use Dave tool.

so, im beginner.

i question.

void dma_init(void)
{
/* DMA Source/Destination Address setup */
pDMA_src_I1 = (uint32_t*)&ADC_MEASUREMENT_ADV_G1_IF1_I_RES;
pDMA_src_Q1 = (uint32_t*)&ADC_MEASUREMENT_ADV_G2_IF1_Q_RES;

pDMA_dst_I1 = (uint32_t*)adc_i1;
pDMA_dst_Q1 = (uint32_t*)adc_q1;
}

xmc4200 chip

IFI.LG or IFI.HG is P14.0 or P14.4

but, ADC_MEASUREMENT_ADV_G1_IF1_I_RES is 0x40004400->RES[15] ?

I understand => 0x40004400->RES[0]

Add to

I can't understand

Dma init

Simply Explanation please.

have nice day .
0 Likes
0 Replies