sine wave generation with pwm and tri state buffer

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

cross mob
DrMi_4451781
Level 1
Level 1

hello all,

I am using PWM and Tri state buffer of psoc 5lp to generate sine wave.

I can't understand how to connect Tri state buffer .

as per my logic i am taking timer interrupt for some period for one value and  change PWM duty cycle ,output of PWM is input of tri state buffer(Bufoe) that is in X . In inout pin of buffer i am taking digital output pin but it generate error that  ""Net_225" has invalid terminal connections. Detailed Error reasons are the following: ( An instance inout terminal has to be connected to a schematic inout terminal; ).". how to remove it or what should i have to connect? More over hat about feedback pin Yfb ? how to connect it?

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

DrMi,

Why do you have to use a tri-state buffer? Usually a PWM driving a digital pin is sufficient for that.

Take a look for example on this example:

Re: Voltage Multiplication

and this one

Re: Non linear equation

/odissey1

View solution in original post

0 Likes
4 Replies
DrMi_4451781
Level 1
Level 1

noted

Typing mistake  "    More over "What" about feedback pin Yfb?  "

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

DrMi,

Why do you have to use a tri-state buffer? Usually a PWM driving a digital pin is sufficient for that.

Take a look for example on this example:

Re: Voltage Multiplication

and this one

Re: Non linear equation

/odissey1

0 Likes

Thank you for reply ,  i am using tri state buffer for switching purpose .upper voltage multiplication example helps me to generate sine wave.

0 Likes

DrMi,

I also posted complete PWM Sine generation project in the Community area:

Sine wave generation using WaveGen and PWM

/odissey1

0 Likes