cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor

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
Reply
1 Solution
Honored Contributor II

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
Reply
4 Replies
New Contributor

noted

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

0 Likes
Reply
Honored Contributor II

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
Reply
New Contributor

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
Reply
Honored Contributor II

DrMi,

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

Sine wave generation using WaveGen and PWM

/odissey1

0 Likes
Reply