Switching IDAC Polarity

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

cross mob
vegan_electron
Level 2
Level 2
10 replies posted 10 questions asked 10 sign-ins

Hello,

i would kindly ask if it's possible to switch the IDAC's polarity? The configuration in the IDE is fixed? We would control the configuration by software API as needed.

So is this possible?

Thank you and kind regards,

Daniel

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi DaRi_1526611

To change the IDAC polarity during run-time, you will have to perform the register writes manually. Attaching a sample project where the IDAC configuration is switched from Sink to source based on a button press.

Thanks,
Hari

View solution in original post

0 Likes
3 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Daniel,

It's simple.  There is a Polarity configuration setting.  

When you set to Negative polarity make sure the load is connected to allow the current to flow from a voltage source (in the example below: from Vdd).

When you set to Positive polarity make sure the load is connected to allow the current to flow to GND (in the example below: to GND).  In this case, the Voltage source is VDDA.  This may be a limiting factor in your design.

pastedImage_0.png

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
lock attach
Attachments are accessible only for community members.
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi DaRi_1526611

To change the IDAC polarity during run-time, you will have to perform the register writes manually. Attaching a sample project where the IDAC configuration is switched from Sink to source based on a button press.

Thanks,
Hari

0 Likes

Thank you a lot guys! This information helps me a lot.

Thank you very much, stay safe,

Daniel

0 Likes