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