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.

Clarke transform use in DRV8312 kit (negation of inputs)



Can anyone explain why inputs to the Clarke transform are negated before being entered?

 

clarke1.As=-(_IQ15toIQ((AdcResult.ADCRESULT1<<3)-cal_offset_A)<<1);

clarke1.Bs=-(_IQ15toIQ((AdcResult.ADCRESULT2<<3)-cal_offset_B)<<1);

The orientation of the op-amp circuits looks similar to other kits, what is special here?