cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor

I want to use STOP input in PWM mode. Datasheet says that STOP should be available in all modes, but it is not visible.

   

How can I make use of this input?

0 Likes
Reply
9 Replies
Esteemed Contributor

In config -

   

 

   

   

 

   

Regards, Dana.

0 Likes
Reply
Honored Contributor II

You need to enable the 'stop' input in the configuration dialog of the PWM component (top right).

0 Likes
Reply
New Contributor

So I should:

   

1. Place component in generic TCPWM mode, and enable STOP input

   

2. Configure component as "PWM with dead-band" at runtime

   

Right?

   

Please pay attention that I need to stop counter, not just kill output.

0 Likes
Reply
Esteemed Contributor

Dead time is not mandatory to get stop mode functionality.

   

 

   

0 Likes
Reply
New Contributor

 As I understand, this configuration will stop timer on kill signal?

   

I need to use dead time for design reasons, and there is no stop signal input if I enable deadtime.

0 Likes
Reply
Esteemed Contributor

From the datasheet -

   

 

   

0 Likes
Reply
New Contributor

 There is some inconsistency in parameter naming, which confused me. Please see picture.

   

So, STOP and KILL is the same signal, right?

0 Likes
Reply
Esteemed Contributor

Yes I believe that to be the case.

   

 

   

From Architecture TRM -

   

 

   

   

 

   

Maybe throw together a quick test bed and check. Thats one of the

   

beauties of PSOC and IDE, quick checks in actual HW easy to do.

   

 

   

I will file a case to get the docs revised.

   

 

   

Regards, Dana.

0 Likes
Reply
Honored Contributor II

As Dana wrote: the STOP signal acts as KILL when PWM is configured. Thats why there is no separate KILL signal available.

0 Likes
Reply