2026-05-22 12:17 AM - last edited on 2026-05-22 2:32 AM by Andrew Neil
Subject: MC Workbench 6.4.2 — Custom Power Board JSON: 'No algorithm available' and missing connection paths error
Dear ST Motor Control Support Team,
I am writing to request help with creating a custom power board JSON template for MC Workbench 6.4.2.
I have a custom BLDC motor control board using the TI DRV8316CT 3-phase integrated FET driver connected to a NUCLEO-G431RB (STM32G431RB). I have created a custom power board JSON file and placed it in the boards/power/ folder, but when I select it in MC Workbench I get the following errors:
1. "Mandatory Phase Voltage Generation feature is not defined or there are not connection paths between hardware signals and relative MCU resources for the feature."
2. "Mandatory Current Sensing Feature for FOC/HSO algorithm is not defined or there are not connection paths between hardware signals and relative MCU resources for the feature."
3. "No algorithm is available for this hardware configuration."
My hardware configuration:
- Control board: NUCLEO-G431RB (STM32G431RBTx, 170 MHz)
- Power board: Custom board with TI DRV8316CT (hardware pin config variant, no SPI)
- PWM: INHA=PA10 (TIM1_CH1), INHB=PA9 (TIM1_CH2), INHC=PA8 (TIM1_CH3)
- Current sensing: Integrated CSA, SOA=PA0, SOB=PA1, SOC=PA2 (0.15 V/A gain)
- nSLEEP=PC6, nFAULT=PA3
- PWM mode: 3x PWM (DrivingHighSidesAndThreeEnables)
- MC Workbench version: 6.4.2
I have used X-NUCLEO-IHM07M1.json as a reference template and matched the descVersion (4), contentVersion (1.2), feature types, hwVariant type strings, and Morpho connector pin labels from the NUCLEO-G431RB.json file. The board card appears correctly in the Select Power list with the right ratings, but the algorithm connection fails.
Could you please advise:
1. What is the correct JSON structure for a custom power board with a simple 3-PWM driver (no SPI bus interface) in MC Workbench 6.4.2?
2. Are there any required fields or constraints I may be missing for PhaseVoltageGeneration and CurrentSensing features?
3. Is there any official documentation or example for creating custom power board JSON files for version 6.4.2?
I am happy to share my current JSON file if that would help diagnose the issue.
Thank you for your time and assistance.
Best regards
2026-05-22 2:10 AM
Hello @prathmeshpatil06,
Using the attached JSON file with MCSDK 6.4.2 and the NUCLEO-G431RB board, Hall and encoder warnings appear.
"Conflict detected for pin(s): PC0" which is shared between W current sensing and temperature sensing. The conflict is resolved by disabling the temperature measurement feature.
Project generation for FOC and STO-PLL speed sensing is possible.
2026-05-22 2:32 AM