Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC53401: how to program DAC53401 as a general DAC?

Part Number: DAC53401

Hi, Dear product line engineer.

  I use DAC53401 to adjust DC/DC output voltage. could I directly configure 0x21h register and ignore all other register? for example, I use internal reference and want DAC53401 output 1V voltage with 3x gain. the DAC data is 0x11A, transfer to 12bit will be 0x468. in my system, address of DAC53401 is 0x48..so my pseudocode as below.

//SYNTAX: WRITE <REGISTER NAME (Hex code)>, <MSB DATA>, <LSB DATA>
//Write DAC code (12-bit aligned)

Write DAC address: 0x90                                        --address is 0x48 + 1(write)=0x90.
Write DAC_DATA(0x21), 0x04, 0x68.                     -- 0x11A transfer 12bit is 0x468

is this work? how to enable 3x gain? according datasheet, I need configure 0xD1h for enable 3x gain. but what ever I write to 0xD1h, the DAC will not output a DC voltage(I just want output a DC=1V). do you have any good idea? could you please show me a pesudocode? thanks.

regards,

Bill

  • Hi Bill, 

    Let's start from the beginning. Have you confirmed that you have been able to read or write to the DAC at all? 

    The R/W bit should be 0 for a write, so that may be one of your issues. 

    In register 0xD1 you also need to power up the DAC output in the DAC_PDN field. 

    Best,

    Katlynne Jones 

  • Hi, Katlynne

    1. 1(write) means 1 bit for write. so address 0x48=100 1000+write(0)-->100 1000 0=1001 0000=0x90.

    2. if I have to write 0xD1 register, seems DAC will output a AC signal. but I want a DC level. refer below figure from datasheet. I have not a EVM on hand.

    any suggestion? thanks.

    regards,

    Bill

     

  • Hi Bill,

    Got it, 0x90 is correct for writing. 

    Write DAC_DATA(0x21), 0x04, 0x68.

    Write GENERAL_CONFIG(0xD1), 0x00, 0x06.

    These should be the only instructions required for setting the output to 1V with 3x gain on the internal reference. Please try this and let me know if you are still having trouble. 

    Best,

    Katlynne Jones