- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i making a aplication when i need to generate 3 independients wave forms, and controlate the type of this waves, the problem is that the unic mode that i find to change the wave type is in the wizzard but after i can´t modificate this. I hope that some body can say me if is this posible and how can i do it, becuase i searched in many archives .h and .c i can´t find it.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Wavedac is a pretty simple component, a LUT and DMA, w/o resorting to a custom
component you could easily create your own 3 waveform generator solution. The prime
issues you might have is synchronicity, if you want all 3 waveforms updated simultaneously.
That would be the case if they are all same period or a multiple thereof, integer harmonmically
related.
You are limited to 4 waveforms, if analog, because of the # IDACs/VDACs allowed.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe you should read the AppNote concerning the WaveDAC8: http://www.cypress.com/?rID=54728
It always uses DMA internally. The DMA just transfers the bytes from the table containing the wave form definition to the DAC. So when you change this table, the component still uses the DMA.
So if you want to have 3 different waves at the same time, you can use 3 WaveDAC8 components. And then you can set each of them to a different waveform, whenever you want. You can also attach an interrupt to the wc1 output, to change the waveform exactly after one period of the waveform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To be clear, do you want -
1) 3 simultanmeous waveforms, different envelopes ?
2) One waveform, with cholce of multiiples envelopes ?
3) If 1) do they have to be synchronous, because independant DMA processes are
NOT sychronous.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted again becuse spelling was so poor in prior post, ech....
To be clear, do you want -
1) 3 simultaneous waveforms, different envelopes ?
2) One waveform, with choice of multiple envelopes ?
3) If 1) do they have to be synchronous, because independent DMA processes are
NOT synchronous.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One can use a single DMA request signal for trigger the DMA transfers. That way they don't run off from each other, but there will still be light skew between the different channels (look at the PSoC5 TRM for an exact explanation how multiple concurrent DMA transfers are scheduled).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content