The WaveDAC is a very good example of combining the elements of a PSoC to form something new.
It is made of:
A table of pre-defined 8-bit values in memory,
And a DAC.
The DMA-Channel is configured to continuosly transfer the table to the DAC without any CPU. That's all
So the only point to modify would be the table in memory, where you may dynamically set / alter some of the values.
Hope that helps
As Bob has already mentioned, you can use the WaveDAC component according to your requirement.
There is an application note which explains Amplitude Modulation and Demodulation the "PSoC Way" using Mixer component as peak detector unit.
This application note is available at http://www.cypress.com/?rID=44407
Thanks info and usefull example.
The DAC has an 8 bit trim register that can be used to create a multiplying DAC,
however my understanding is it only trims +/- 25%, so, for example, AM modulation
would not be able to achieve 100% modulation.
This might help - http://www.cypress.com/?app=forum&id=2232&rID=56222
You can look at http://hendriklipka.de/misc/dds.cywrk.Archive02.zip , which implements a VCO based on the WaveDAC idea on the PSoC5 (-050 board). I'm currently working on extending it by implementing a numerically controlled oscilator to achieve higher precision.
AM is basically modifiy sine/cos/complex waveform table with a multiplication applied to its retrieved entries.
Phase modulation is modifiy the index into the table.
FM modulation is alter the table retrieval rate.
Very thanks info about it.
What is the maximun signal frecuency that can be achieved using waveDAC component?
Hardware wise its limited by settling time of the DACs.
In the case of IDAC thats 100 nS, VDAC 1 uS. Thats per sample,
multiply that times # samples in waveform table.
Keep in mind, if table size real small, like 2 samples, you might
have a thruput limitation in writing values to the DAC, in turn that
would limit frequency.