cancel
Showing results for 
Search instead for 
Did you mean: 

Some confusion about MCSDK 6.2.0

gtop.1
Associate III

[VERSION]: 6.2.0

[TOOL]: ST Motor Pilot/ MotorControl Workbench 6.2.0

[DETAILS]:

1.The speed ki ‘s numerical values ​​do not correspond.It is different from 5.Y.4.

企业微信截图_16968470027075.png

2. About the Board Maneger. I want to add my own board but no documentation guidance.

3. About the Phases Current Sensing. I want to change it to Isolated Current Sensors, but the same reason.

I'm expecting a reply.

 
1 ACCEPTED SOLUTION

Accepted Solutions
Zied b.
ST Employee

Hello @gtop.1 
For your first question, this is an error that I reported to be corrected for the next version. In the meantime you can resolve this error locally by following these steps:
1.Go to the directory where the Mcsdk is installed, then open the folder: MC_SDK_6.2.0\Utilities\PC_Software\STMotorPilot\RegisterList
2. Open the RegListSTMV2.json file with a text editor
3. Find the "SPEED_KI" register and delete the "Scale": "CURRENT_SCALE" line, which is associated with this register.
4. Save, then restart the Motor Pilot, normally you will have the correct value.

For your other questions, the documentation for the board manager is currently being validated and should arrive soon. 
Regards

If you agree with my answer, please accept it by clicking on "Accept as solution".

View solution in original post

4 REPLIES 4
Zied b.
ST Employee

Hello @gtop.1 
For your first question, this is an error that I reported to be corrected for the next version. In the meantime you can resolve this error locally by following these steps:
1.Go to the directory where the Mcsdk is installed, then open the folder: MC_SDK_6.2.0\Utilities\PC_Software\STMotorPilot\RegisterList
2. Open the RegListSTMV2.json file with a text editor
3. Find the "SPEED_KI" register and delete the "Scale": "CURRENT_SCALE" line, which is associated with this register.
4. Save, then restart the Motor Pilot, normally you will have the correct value.

For your other questions, the documentation for the board manager is currently being validated and should arrive soon. 
Regards

If you agree with my answer, please accept it by clicking on "Accept as solution".

Thanks.

Hello @gtop.1 ,

If you need Isolated Current Sensors, then I advise you to look at the description of the board 

STEVAL-CTM009V1 . It makes use of the Hardware Variant.  "type": "TwoICSCurrents".
This Hardware variant is available for now only on STM32G4 and requires 2 ADCs. It is possible to enable it on STM32F3 but it has not been tested yet, but once again only with 2 ADCs. It means that STM32F302 is not an option (as it has only 1 ADC  ), but STM32F303 could be a candidate.
 
To enable it on STM32F3, update the connectionParameters.json file in the asset folder of STMCWB.
(MC_SDK_6.2.0\Utilities\PC_Software\STMCWB\assets)
 
In the section STM32F3 / CurrentSensing add the section TwoICSCurrents (copy/paste from the stm32G4 section):
  "TwoICSCurrents": {
     "ADCSignals":[ [ "CURRENT_ICS_U", "CURRENT_ICS_V"],["(ADC[0-9]*)_IN(?!N)"] ],
              "swVariant": {
                  "DualADCsNoSharedPhase" :{
                  "ips": ["All"]
                  }   
              }
    }
 
Regards
Cedric

 

soga:grinning_face: