I need to generate sine, triangular and ecg signal!!!...someone can help me??...thanks a lot in advance!
The analog peripherals available in PSoC such as DAC (Digital to Analog Converter) can be used to generate waveforms such as triangular or sine.
To generate triangular wave, you can increment the VDAC value till the maximum amplitude required, and then decrease to the minimum linearly. The frequency is determined by the update rate of the VDAC.
To generate a sine wave, you have to generate a Look up table whose values should to be fed to the VDAC. A DMA has to be used to update the VDAC with the look up table values. You can refer to a sample project explained in the application note here.
I didn't understand about the generation of ECG signal. Can you please elaborate about your requirement?
one word,WaveDAC8 !
Attached table ECG signal + noise 50Hz (uint8 ECG Wave ) for WaveDAC8.
This table is the actual signal is used in my project to simulate the signal.
Can you please brief about what is being done in the project?
I shall answer any questions and soon I shall Write the small comment. Only it will demand some time owing to my weak knowledge of language.
attached below a small comment on my project.