VDAC PSOC 63

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

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

View solution in original post

0 Likes
2 Replies
lock attach
Attachments are accessible only for community members.
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

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

0 Likes
Anonymous
Not applicable

Hi Meenakshi,

Thank you, that was the trick:)