Measuring 2 signals in parallel with XMC1100

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

cross mob
GoKl_4594211
Employee
Employee
In https://www.infineon.com/dgdl/Infineon-IP_VADC_XMC1-TR-v01_01-EN.pdf?fileId=5546d4624ad04ef9014b0781... you write on p 12/24:*
“In many occasions, algorithms request the usage of several analog values that are measured at the same time.
As an example, one could compute the power, for example at a load, by multiplying the current and voltage on it. This calculation would only make sense in case both signals were measured at the exact same point in time.
XMC1000 allows to measure 2 signals in parallel. The master will request a conversion in its groups. This will automatically lead the request of the same channel number in the slave group. The rest of the VADC features can be used such as result handling, event generation, limit check, etc.”


Can Infineon provide SW routines and/or SW configurations which show how to implement measuring 2 signals in parallel?
0 Likes
2 Replies
Andi_H
Employee
Employee
First solution authored First like received
Hello Werner,

i have an example with DAVE Apps for you:
What you have to do is to configure the ADC_MEASUREMENT with:
-2 Inputs
-External Trigger (or you use an SW Trigger, what you want)
-Configure the groups of both Inputs

3034.attach
3035.attach
3036.attach
3037.attach

it is only an little example, not an tested official example.

best regards
Andreas H.
0 Likes
GoKl_4594211
Employee
Employee
Andi_H wrote:
Hello Werner,

i have an example with DAVE Apps for you...


Thank you!
0 Likes