Announcements

Equip yourself to optimize PSoc4 MCUs for Evs at the EV Webinar. Click here to register.

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

PSoC™ 4 Forum Discussions

Giannis
Level 1
Level 1
10 sign-ins First question asked First reply posted

Hi friends,
I use CY8CKIT-059 PSoC kit for my projects.  I need more code information about how to handle with the WaveDAC8 component.

I need to understand better the functions of this component in order to re-configure the DAC under a progrtam loop.

My application is to generate a periodic sinus waveform from 3kHz to 5kHz... The examples I found have only

WaveDAC8_Start() as example. 

Kind regards /Leonidas

Selefkos
0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Leonidas,

One way to vary sine frequency is to adjust WaveDAC sampling clock using DDS generator. You can find examples of using DDS24 AND DDS32 components here:

DDS24: 24-bit DDS arbitrary frequency generator component

/odissey1

P.S. Wrong forum.You can get better response by using PSoC 5 forum

DDS24_WaveDAC_1a.png

View solution in original post

2 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Leonidas,

One way to vary sine frequency is to adjust WaveDAC sampling clock using DDS generator. You can find examples of using DDS24 AND DDS32 components here:

DDS24: 24-bit DDS arbitrary frequency generator component

/odissey1

P.S. Wrong forum.You can get better response by using PSoC 5 forum

DDS24_WaveDAC_1a.png

Thanks friend. It was helpful.  Br/Leonidas

Selefkos
0 Likes