Need help regarding implementation of 2 PWM blocks using PSOC 5LP

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

cross mob
Anonymous
Not applicable

Hello

   

 

   

I had some questions regarding the implementation of two PWM blocks in parallel.. It’s a simple implementation.This my first time with PSOC 5LP.

   

I know how to enable a PWM block using “PWM_1_Start();” in the “main.h” file but when I’m using the second PWM block then its giving an error with the “PWM_2_Start();” command. I read somewhere that I have to enable a control register somewhere but cant figure out where to do it.

   

 

   

I just need to enable two PWM block synchronously at a fixed frequency and 50% duty cycle.

   

 

   

Regards,

   

Sid

0 Likes
1 Reply