Part Number: DAC61416
I tried to output a voltage of 0 to 20V with DAC61416. I used MC9S12 microcontroller to communicate with DAC61416 via SPI.When I select the output range is -5 V to +5 V 、 -10 V to +10V、-20 V to +20V or -2.5 V to +2.5 V ,the output voltage is only 1.4V. When I select the output range is 0V to +5V 、 0V to +10V 、0V to +20V or 0V to +40V ,the output voltage is 0v. I am sure there is no problem with SPI communication.
This is the register configuration：
DrvDacWriteReg(DACRANGE2R_ADDR, 0x2222); DrvDacWriteReg(DACRANGE3R_ADDR, 0x2222); DrvDacWriteReg(SPICFGR_ADDR, 0x0A84); DrvDacWriteReg(GENCFGR_ADDR, 0x3F00); DrvDacWriteReg(DACPWDWNR_ADDR, 0x0000); DrvDacWriteReg(BRDCFGR_ADDR, 0xFFFF); DrvDacWriteReg(BRDCASTR_ADDR, 0xFFFF);
Please let me know why this problem occurs or if you can help me directly with this, it would be a great help.
Thanks and Regards,
Hi Chaogang Zhu,
Can you share the schematic for your system?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Paul_Frost:
This is my schematic.
The voltage between VCC and VSS is 24V.
I would like to ask what is the influence of VCC and VSS voltage on the output voltage of DAC?
In reply to chaogang.zhu:
Looks like you haven't enabled the internal reference in the GENCONFIG register. The bit REF-PWDWN should be 0.
Let me know if that resolves the issue.
applications Engineer, Precision DAC
In reply to Uttam Sahu:
My GENCONFIG register value is 0x3F00t,the bit REF-PWDWN is 0.
I have found the cause of my problem.There is something wrong with my hardware design.I measured my VSS pin voltage at -15V.
Later I tried to connect VSS to the ground.I can use the DAC to output the voltage I want.
Thank you for your reply.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.