- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to change the amplitude of the sine signal using the WaveDac8_setvalue API (uint8), this does not work, I tried a solution that I found on the Internet with a strobe record, but it did not work.
How can I change the amplitude of the sine signal generated by the WaveDAC module?
Thank you
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No way.
void WaveDAC8_SetValue (uint8 value) This sets the current value. no more.
DAC generate a signal, using a table of fixed values.
Unfortunately, PSOC had eight-bit DAC PSOC. Even when using the whole range (0-255)the signal has the steps of gradation levels.
It makes no sense to reduce table values.
So you have to use a potentiometer (digital potentiometer) at the output of the DAC.
...Hope I'm not mistaken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are many ways to change signal amplitude. It all depends on required bandwidth, output resolution, gain step size, etc. Please check previous discussion on that (examples are included)
WaveDAC8 Amplitude Control for PSOC5?
To find best approach you must provide more information on the specs..
odissey1