How to used waveform generator in UDB in Psoc6

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

cross mob
vama_4687281
Level 1
Level 1

Hi,

   I want to configure the sine waveform generator using universal digital block in Psoc 6 family.

Kindly suggest how to configure it and what are the step needed to be done in program to get the sine waveform generator at the output?

     If possible then kindly send the video tutorial on it so that i can configure it easily.

I also want to know that in Psoc 4 family with Ble waveform generator can be configured?

Regards,

Vaibhav

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Vaibhav,

If you are trying to generate sine waveform using PSoC 6, using Continuous time DAC is the best option for you.

Continuous time DAC (CTDAC) generates direct analog waveform on the pin without the need for external sample and hold circuit.

Please refer page number 473 in the PSoC 6 Architecture TRM given in the link below:

https://www.cypress.com/file/385621/download

You can also look at readily available code example CE220924-PSoC 6 MCU VDAC sinewave generator using DMA.

https://www.cypress.com/documentation/code-examples/ce220924-psoc-6-mcu-vdac-sine-wave-generator-usi...

If you are aware of the above method and still want to generate sine wave using UDB, please tell us the reason for it.

Could you please elaborate more on BLE waveform generator? What is your application requirement?

Thanks

Ganesh

View solution in original post

0 Likes
2 Replies
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Vaibhav,

If you are trying to generate sine waveform using PSoC 6, using Continuous time DAC is the best option for you.

Continuous time DAC (CTDAC) generates direct analog waveform on the pin without the need for external sample and hold circuit.

Please refer page number 473 in the PSoC 6 Architecture TRM given in the link below:

https://www.cypress.com/file/385621/download

You can also look at readily available code example CE220924-PSoC 6 MCU VDAC sinewave generator using DMA.

https://www.cypress.com/documentation/code-examples/ce220924-psoc-6-mcu-vdac-sine-wave-generator-usi...

If you are aware of the above method and still want to generate sine wave using UDB, please tell us the reason for it.

Could you please elaborate more on BLE waveform generator? What is your application requirement?

Thanks

Ganesh

0 Likes

Hi,

Above issue has been solved.

Regards,

Vaibhav

0 Likes