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.

DAC63204EVM: NVM not working as expected

Part Number: DAC63204EVM
Other Parts Discussed in Thread: LP-MSPM0G3507, MSPM0G3507

Tool/software:

Hi,

I am using three different methods to program the DAC: 

1) Using TI's SMART DAC GUI I2C

2) Using Aadvark I2C

3) Using microcontroller LP-MSPM0G3507 with I2C 

I have successfully programmed DAC0-OUT with all three methods. However, when setting NVM bit to program its memory and retain the DAC settings, only the GUI and Aadvark methods work. 

I have set the write command to 0x20, 0x00, 0x03 ( COMMON-TRIGGER register). 

When using the microcontroller, the DAC does not seem to trigger this NVM bit. Am I missing something? I have included the code I am using. This code was extracted from example SDK folder of LP-MSPM0G3507

i2c_controller_rw_multibyte_fifo_interrupts_LP_MSPM0G3507_nortos_ticlang.zip

Regards, 
Syasya

  • Hi Syasya,

    You should be writing 0x0002 to the register, not 0x0003. You are sending a command to write to the NVM, and reload the existing values at the same time. If this change doesn't work, try implementing a delay after the NVM write to ensure the device has enough time to actually write to the NVM before executing any other commands. 

    Best,

    Katlynne Jones