cancel
Showing results for 
Search instead for 
Did you mean: 

EVSPIN32G4 current sensing with 3-shunt

kaiman
Associate

Hello.

I am creating a motor control project for the EVSPIN32G4 using MotorControl Workbench 6.4.1.
The EVSPIN32G4 board definition provides configurations for "ThreeShunt_RawCurrents_SingleEnded_ExternalGain" and "ThreeShunt_RawCurrents_SingleEnded_InternalGain," but the current sensing section in the circuit diagram of this board appears to match the "ThreeShunt_RawCurrents_Differential_ExternalGain" configuration.

However, adding this configuration causes MotorControl Workbench to fail with an error. This is likely because the definition for "ThreeShunt_RawCurrents_Differential_ExternalGain" does not exist for the STSPIN32G4 in "MC_SDK_6.4.1\Utilities\PC_Software\STMCWB\assets\ConnectionParameters.json".

1. Why is it that the EVSPIN32G4 schematic shows a differential configuration, but the board definition only provides a single-ended option?

2. Is it possible to edit "ConnectionParameters.json" and add the "ThreeShunt_RawCurrents_Differential_ExternalGain" definition to use this configuration in MotorControl Workbench?

Thanks in advance and best regards.

0 REPLIES 0