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.

TMS320F28069: F28069 Analog IO

Part Number: TMS320F28069

Hello,

I am using F28069 to run an algorithm developed by me. So as part of our algorithm I need variable voltage  signals as output. The requirement is that I have four probable output( denoted as 1 ,2 3,and 4) and based on the number I will get the voltage equal to number*0.5V( ie, for output 1 , I need output voltage as 0.5V , for output2 , voltage output should be 1V and so on.)

Now I am using embedded coder block in Simulink to run the hardware in external mode and used analog IO Output to get the desired output. But I observed that the output voltage is either 0V or 3.3V( and I are using a signal conditioning block before Analog IO block to get the required voltage).

Any suggestions as to how can I get the desired output and which block should I use?

  • Hi,

    This device does not offer a way to output an analog signal directly. 

    For your application, I would recommend using a PWM/HRPWM + a low-pass filter as described in the following Application Note:
    http://www.ti.com/lit/spraa88

    This document isn't specifically for your device, but the technique is certainly applicable.  The filter values and PWM period values can be edited based on your ripple & accuracy/precision requirements.

    Hopefully this helps!


    Thank you,
    Brett