Current sense SNA/SPA swapped. Where to adjust the code?
Forums:
I am using the integrated current sense amps in the DRV8301 in addition to a seperate low-side current sense ampin order to measure all 3 phase currents. I accidentally swapped the SNA and SPA traces on the DRV8301. TI had actually swapped the names of these pins for the newer DRV8353 and I made the mistake of assuming it was the same for the older DRV. So now I'm looking to compensate for this in the code. Does anyone know off the top of their head where in the code I can simply change the polarity of the measured current for these phases?
