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.

CCS/TMS320F28379D: Normalizing the ADC output values

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hello All,

              This is Sainath. Firstly, I would like to thank you guys because I've been receiving a great help for all of you in resolving different issues in coding. I just need some help in rescaling the ADC output values from the scale of [0 4095] to the range of [-1,1].

            I'm using the sample code adc_soc_epwm from the control suite. I tried to write some logic for normalizing but I was not successful in doing it. Can anybody help me in normalizing the ADC values.

Thank you.

Sincerely,

Sainath Reddy.