Wave DAC8 output

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

cross mob
Anonymous
Not applicable

I am newbie for this PSoC 5LP. I have a question. I tried to output 3 phase waveform(each DAC output has 120 degree phase offset), but I only got two outputs.

   

I checked the datasheet of CY8C58LP (CY8C5888LTI-LP097) that  has four 8-bit DACs,. I tried to move WaveDAC8-3 output pin to anywhere, but no use.

   

The codes I input as this:

   

WaveDAC8_1_Start();

   

WaveDAC8_2_Start();

   

WaveDAC8_3_Start();

   

The output pins I assigned are  P00, P01, P155

   

 

   

Thank you in advance

   

Jim

0 Likes
1 Solution
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Please post your code. So we can check it for issues.

View solution in original post

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

Does the 3rd WaveDAC work alone (when you don't start the other ones / remove them from the project)? If no, then something in your pin assignment is wrong.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Please post your code. So we can check it for issues.

0 Likes
Anonymous
Not applicable

user_242978793 ,

Thanks very much for your response. Now I can output three phase signals.

I uploaded all project files and please review attached code.

there are two problems.

1. P0.1 can't output sine wave signal.

2. P3.7 output is clamped.

In another words.

There are four Opamp.Vout,

Opamp[0].Vout:  no output

Opamp[1].Vout: output is good

Opamp[2].Vout: output is good

Opamp[3].Vout: output is clamped

Thanks again and best regards

Jim Yin

0 Likes
Anonymous
Not applicable

user_242978793 ,

Thanks very much for your response. Now I can output three phase signals.

I uploaded all project files and please review attached code.

there are two problems.

1. P0.1 can't output sine wave signal.

2. P3.7 output is clamped.

In another words.

There are four Opamp.Vout,

Opamp[0].Vout:  no output

Opamp[1].Vout: output is good

Opamp[2].Vout: output is good

Opamp[3].Vout: output is clamped

Thanks again and best regards

Jim Yin

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

user_242978793 ,

Thanks please review attached source files.

Thanks advance and best regards

Jim Y

0 Likes