- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please post your code. So we can check it for issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content