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

cross mob
Andrew7
Level 3
Level 3
25 sign-ins 10 questions asked 10 replies posted

Generate
1. Sawtooth Waveform.
2. Triangle Waveform
with Amplitude varying from (0 – 4 V) and frequency from 50 Hz to 500 Hz.

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

Normally component start function is sufficient. For each of the component there is a component datasheet which you can refer. (right click on the component -> Datasheet). That should give you a better picture. Check the API section in the document. Additionally go to file -> Code examples and you can see code examples using different peripherals. You can check those examples too.

Best Regards,
Vasanth

View solution in original post

0 Likes
4 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Anshuman,

Kindly check the wavedac component available in PSoC Creator.

https://www.infineon.com/cms/en/design-support/tools/sdk/psoc-software/psoc-3-5-components/8-bit-wav...

The WaveDAC8 component provides a simple and fast solution for automatic periodic waveform generation. A high-level interface allows you to select a predefined waveform or a custom arbitrary waveform. Two separate waveforms can be defined then selected with an external pin to create a modulated output. The input clock can also be used to change the sample rate or modulate the output.

 

Best Regards,
Vasanth

0 Likes

What to write on the main.c ?

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

Normally component start function is sufficient. For each of the component there is a component datasheet which you can refer. (right click on the component -> Datasheet). That should give you a better picture. Check the API section in the document. Additionally go to file -> Code examples and you can see code examples using different peripherals. You can check those examples too.

Best Regards,
Vasanth

0 Likes

Thankyou!

0 Likes