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.
Hello,
I'm working with TMS320F28035. I want to scale my analog inputs with the CLA. To evaluate my Inputs in both directions, positiv and negativ, with one channel I use a opamp-
circuit wich scales negativ inputs from [0-1,5] V and positiv inputs from [1,5-3,3]V.In which 1,5V equals 0.
That means in the CLA I have to evaluate the ADC Result with an if clause to select the rigth calculation . Can anybody help me?
Hi,
Why you want to check that with an if clause?
My first idea was to subtract the adc value of 1.5V from your adc result. Then you have a signed value as you have in the real world :-)
Kind regards
Matt
Because I'm thinking positiv :). But you are right. Thats the way I will do.
Kind regards
Lukas