PSoC4 TCPWM no STOP input in PWM mode

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

cross mob
yakhc_286061
Level 1
Level 1

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
9 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

In config -

   

 

   

   

 

   

Regards, Dana.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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

0 Likes
yakhc_286061
Level 1
Level 1

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
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Dead time is not mandatory to get stop mode functionality.

   

 

   

0 Likes
lock attach
Attachments are accessible only for community members.
yakhc_286061
Level 1
Level 1

 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
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

From the datasheet -

   

 

   

0 Likes
lock attach
Attachments are accessible only for community members.
yakhc_286061
Level 1
Level 1

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

   

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

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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

0 Likes