Oct 26, 2016
12:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2016
12:52 AM
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.
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.
- Tags:
- IFX
1 Reply
Oct 31, 2016
07:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 31, 2016
07:10 AM
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.
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.