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.

TMS320F280025C: How to use DAC

Part Number: TMS320F280025C

Hello, 

I am trying to implement DAC using this chip to output a desire analog voltage on simulink. I know it has to program through CMPSS block, but the output of this block only gives me 1 and 0. How can I use this block as DAC that I can get a desire analog voltage? Can you guild me through? 

Here is what I have on my simulink. 

I use the help button to get more information about this block, but after reading it I am still confused on how can this work. Aslo It says that that second input pin (which is the negative input) can be the DAC module but it is not working as expected. 

Best Regards, 

Yun Liu