Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

SivakumarG
Level 1
Level 1
5 replies posted 5 questions asked 10 sign-ins

Hello Experts,

I have configured EVADC and DMA. If result register is updated then DMA will be called for buffer update.

Some times i am getting Valid flag as 0 in result register.

Can any one explain, why i am getting VF as 0 ?

SivakumarG_1-1678802689794.png

 

here i am taking entire 32 bit result value to the buffer.

 

 

0 Likes
1 Reply
Aiswarya
Moderator
Moderator
Moderator
50 replies posted 100 sign-ins 10 solutions authored

Hello,


A possible reason for the VF bit to be zero is ADC result updating is done internally by ADC itself. When ADC is updating its result register, and at the same time CPU and/or DMA wants to read it,  then the  old ADC result will be obtained (VF=0) . If CPU and/or DMA reads ADC shortly later (when the ADC result update is already finished), the new result will be obtained (VF=1) .

 

Regards,
Aiswarya.

0 Likes
This widget could not be displayed.