- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. I wanted to be able to adjust the frequency of the WaveDAC8 with a resolution of 1Hz best case scenario via software while running. I know there are a lot of parameters like WaveDAC resolution, max waveform bandwidth etc, that can vary results, but for now I am happy with just approval of the following method in general.
Attached is a picture to adjust the frequency using a timer. It compiles and seems good so far. Is this a good method to achieve basic adjustment of the WaveDAC via software while running or is there a better method?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may consider DDS component instead of timer for fine tuning. Check App note and examples here
DDS24: 24-bit DDS arbitrary frequency generator component
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is the frequency range would you like to get? You may use Clock Component, use API to change its clkDivider and fracDivider.
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your replies. I was hoping for a max freq of 60Khz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn’t know about that DDS component. I will try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may consider DDS component instead of timer for fine tuning. Check App note and examples here
DDS24: 24-bit DDS arbitrary frequency generator component
/odissey1