2026-03-31 3:27 AM
Label: MC Workbench
[PN]: STM32G474RBT6 (Custom Board)
[VERSION]: MCSDK 6.3.2
[TOOL]: MC Workbench
[DETAILS]: I am trying to create a new FOC project for a custom board driving a BLDC motor with Three Isolated Current Sensors (3-ICS). I am constantly getting the following UI error preventing me from creating the project: "It is not possible to create a motor control project with the FOC algorithm using the selected hardware. No proper path for motor control signals was found for the following mandatory features: - Current Sensing"
However, when I check the .st_workbench/connectAlgo.log, the solver successfully finds a valid TripleADC route for my pins without any conflicts: DEBUG - CSConnect: ThreeICSCurrents TripleADCs processing start DEBUG - CSConnect: ThreeICSCurrents TripleADCs route: CURRENT_ICS_U PA0 ADC1_IN1 DEBUG - CSConnect: ThreeICSCurrents TripleADCs route: CURRENT_ICS_W PB12 ADC4_IN3 DEBUG - CSConnect: ThreeICSCurrents TripleADCs route: CURRENT_ICS_V PC4 ADC2_IN5 DEBUG - CSConnect: ThreeICSCurrents TripleADCs processing completed
The PWM pins (TIM1: PA8, PA9, PA10) and Hall Sensor pins (TIM2: PA5, PB3, PB10) are also processed with cost 0 successfully. There seems to be a mismatch/bug between the solver finding the valid TripleADC paths and the Workbench GUI accepting them.
[EXPECTED BEHAVIOR]: MC Workbench should accept the valid TripleADC routing for the Isolated Current Sensors (ADC1, ADC2, ADC4) without throwing the "No proper path" GUI error, allowing the project to be generated.
[HOW TO REPRODUCE]:
Open MC Workbench 6.3.2.
Create a New Project -> Custom Board -> Select STM32G474RBTx.
Select FOC Algorithm -> Three Isolated Current Sensors.
Assign signals in the UI:
Phase U = PA0
Phase V = PC4
Phase W = PB12
Assign Driving High/Low sides to PA8, PA9, PA10 (TIM1).
Assign Hall Sensors to PA5, PB3, PB10 (TIM2).
Notice the persistent red Error popup regarding Current Sensing.
(See attached .stwb6 / JSON file and connectAlgo.log for further details).
Solved! Go to Solution.
2026-03-31 7:31 AM
Hello @TKara.2,
As shown in the Current sampling in isolated current sensor topology chapter of the user manual, available through Workbench tool > About > Documentations > Documentation, the STO-PLL FOC algorithm supports only the two ICS topology (U and V phases, refer to wiki page).
The three ICS topology is available only with the high sensitivity observer (HSO) speed sensorless mode.
2026-03-31 7:31 AM
Hello @TKara.2,
As shown in the Current sampling in isolated current sensor topology chapter of the user manual, available through Workbench tool > About > Documentations > Documentation, the STO-PLL FOC algorithm supports only the two ICS topology (U and V phases, refer to wiki page).
The three ICS topology is available only with the high sensitivity observer (HSO) speed sensorless mode.