Attachments are accessible only for community members.
Anonymous
Not applicable
Dec 25, 2018
09:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 25, 2018
09:40 AM
Hello together
I can't get any further with VDAC from PSOC 63. With the "Update Mode = Buffered write" everything works, but with the "Direct write" mode I have no output voltage. For the buffered mode I use "VDAC_SetValueBuffered(4095);", for the direct mode "VDAC_SetValue(4095);".
I adapted the VDAC component according to the instructions.
Where do I make the error?
Greetings Franz
Solved! Go to Solution.
1 Solution
Attachments are accessible only for community members.
Dec 25, 2018
09:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 25, 2018
09:01 PM
Hello Franz,
Looks like the SetValue() API requires some delay before you can call it again (ideally 1 or 2 Peri clock cycles to update the value to the CTDAC). I tried with a CyDelayUs(1) and it worked (attached project).
Regards,
Meenakshi Sundaram R
2 Replies
Attachments are accessible only for community members.
Dec 25, 2018
09:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 25, 2018
09:01 PM
Dec 26, 2018
04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 26, 2018
04:26 AM
Hi Meenakshi,
Thank you, that was the trick:)