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?