Apr 27, 2017
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 27, 2017
08:52 AM
Hi,
I'm using the app CCU8 to generate a PWM signal and when I stop my application in a breakpoint
also the generated PWM signal stops.
Is possible to debug the application unless stops the PWM signal?
Regards,
Matteo
I'm using the app CCU8 to generate a PWM signal and when I stop my application in a breakpoint
also the generated PWM signal stops.
Is possible to debug the application unless stops the PWM signal?
Regards,
Matteo
- Tags:
- IFX
5 Replies
Apr 27, 2017
09:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 27, 2017
09:19 AM
Hi,
I was not able to reproduce your issue.
Could you share your project?
Could you check the value of GCTRL.SUSCFG bitfield when you stop your application? It should read 0.
Regards,
Jesus
I was not able to reproduce your issue.
Could you share your project?
Could you check the value of GCTRL.SUSCFG bitfield when you stop your application? It should read 0.
Regards,
Jesus
Apr 28, 2017
06:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 28, 2017
06:32 AM
Hi Jesus,
you are right.
GCTRL.SUSCFG bitfield is 0 and PWM continue when debugging.
We have wrong, because in field, the motor goes in an anomaly condition and pull a lot of current, so we can't watch the signal.
Knowing the problem I want to try a different solution.
I like to stop the motor and put the output in a know state.
In GCTRL.SUSCFG bitfield, I see that there's the 0x10 mode that stops the block immediatly and clamps all the output to PASSIVE state....
but I don't understand howo to set the passive state in a way that put the output signal low.
How can I do that?
you are right.
GCTRL.SUSCFG bitfield is 0 and PWM continue when debugging.
We have wrong, because in field, the motor goes in an anomaly condition and pull a lot of current, so we can't watch the signal.
Knowing the problem I want to try a different solution.
I like to stop the motor and put the output in a know state.
In GCTRL.SUSCFG bitfield, I see that there's the 0x10 mode that stops the block immediatly and clamps all the output to PASSIVE state....
but I don't understand howo to set the passive state in a way that put the output signal low.
How can I do that?
Oct 11, 2017
03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 11, 2017
03:09 AM
Hi!
I also have the same problem. I need to bring the PWM outputs into a safe condition.
Read the GCTRL.SUSCFG documentation below
Suspend Mode Configuration
This field controls the entry in suspend mode for all the CCU8 slices.
00B Suspend request ignored. The module neverenters in suspend
01B Stops all the running slices immediately. Safe stop is not applied.
10B Stops the block immediately and clamps all the outputs to PASSIVE state. Safe stop is applied.
11B Waits for the roll over of each slice to stop and clamp the slices outputs. Safe stop is applied.
Setting 10B or 11B can not get the desired result.
Are there other settings to do?
If you have any idea of that
Thanks in advance
regards
Stefano
I also have the same problem. I need to bring the PWM outputs into a safe condition.
Read the GCTRL.SUSCFG documentation below
Suspend Mode Configuration
This field controls the entry in suspend mode for all the CCU8 slices.
00B Suspend request ignored. The module neverenters in suspend
01B Stops all the running slices immediately. Safe stop is not applied.
10B Stops the block immediately and clamps all the outputs to PASSIVE state. Safe stop is applied.
11B Waits for the roll over of each slice to stop and clamp the slices outputs. Safe stop is applied.
Setting 10B or 11B can not get the desired result.
Are there other settings to do?
If you have any idea of that
Thanks in advance
regards
Stefano
Oct 12, 2018
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2018
03:08 AM
I know this is an old thread, but maybe someone can answer my question.
In the Suspend Mode Configuration the expression "Safe stop" is used, but this expression is not explained anywhere in the reference manual.
What is "Safe stop"?
In the Suspend Mode Configuration the expression "Safe stop" is used, but this expression is not explained anywhere in the reference manual.
What is "Safe stop"?
Oct 18, 2018
04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 18, 2018
04:25 AM
Hi,
"safe stop" means that no glitches are produced when the suspend is enforced: the CCU8,CCU4 waits until the timer reaches its period/rollover, to avoid any abrupt chopping of a PWM signal, that could i.e. generate shorts outside
Regards,
Jesus
"safe stop" means that no glitches are produced when the suspend is enforced: the CCU8,CCU4 waits until the timer reaches its period/rollover, to avoid any abrupt chopping of a PWM signal, that could i.e. generate shorts outside
Regards,
Jesus