XMC4400 Gating ADC

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

cross mob
User12339
Level 1
Level 1
Hi

I'm new to the forum and I have searched for this topic and not found the answer I am looking for.

I am using an XMC4400 and Dave version 4.

I am creating a PWM signal using 2 CCU8 slices and controlling one of the slices by using the boundary flag for an out of boundary event when sampled by the ADC.

What I want to do now is gate the ADC so it doesn't sample when the PWM switches the gate at the start of the PWM period. From reading the ADC manual I can do this by adding a CCU4 slice which I have synced to the CCU8 with an external event on the period match of the CCU8.

So far so good. What I want is to have a 1us gating period, how do I do this?

In an ideal world I would feed the CCU4 output pin to the gating input of the ADC and just have a low/high pulse of 1us to gate the ADC. But I'm not sure it works that way.

Your advice please.
0 Likes
1 Reply
User12339
Level 1
Level 1
Hi,

OK found the answer to my question.

I needed to use slice CUU8_3, which I exposed by adding the CCU8_2 slice first.

CCU8_3 slice has the ability to send it's timer_st1 signal to the gating input of the ADC.

Hope this helps.
0 Likes