Skip to main content
TKara.2
Associate III
March 31, 2026
Solved

"No proper path for Current Sensing" error despite connectAlgo.log finding TripleADC route on STM32G474

  • March 31, 2026
  • 1 reply
  • 318 views

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]:

  1. Open MC Workbench 6.3.2.

  2. Create a New Project -> Custom Board -> Select STM32G474RBTx.

  3. Select FOC Algorithm -> Three Isolated Current Sensors.

  4. Assign signals in the UI:

    • Phase U = PA0

    • Phase V = PC4

    • Phase W = PB12

  5. Assign Driving High/Low sides to PA8, PA9, PA10 (TIM1).

  6. Assign Hall Sensors to PA5, PB3, PB10 (TIM2).

  7. Notice the persistent red Error popup regarding Current Sensing.

(See attached .stwb6 / JSON file and connectAlgo.log for further details).

Best answer by GMA

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.

 

1 reply

GMA
GMABest answer
Technical Moderator
March 31, 2026

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.

 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA