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/TMS320F28377S: How to avoid division by zero in CCS.

Part Number: TMS320F28377S


Tool/software: Code Composer Studio

HI,

I am doing an experiment with TMS320F28377S DSP. The control algorithm requires dividing the error input to the controller with a variable. I would like to know how to avoid division by zero. It works well if the division is avoided. 

Thanks.