cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G4 ADC1/2 Dual Mode Reading

batuhanky
Associate II

Hello community,

I am using STM32G474 for my FOC application and I am a bit confused about the ADC modes.

Since the G4 series has a wide range of ADC modes, which ADC mode is best for 2 or 3 phase current sensing in FOC applications?

Is the "dual injected simultaneous mode only" suitable for this purpose?

I'm using the ADC1_IN2, ADC2_IN1 and ADC3_IN5 channels to sense the current.

If I want to sense all 3 phases current, what should I do? "Independent mode+injected conversion" combination enough for it?

I can use a FOC library or MCSDK, but I need to learn the logic behind this task.

Thanks for any help.

 

Best Regards

1 REPLY 1
GMA
ST Employee

Hello @batuhanky,

Refer to the Current sampling chapter of the MCSDK user manual available through Workbench tool > About > Documentations > Documentation > User manual tab. Three-shunt, two-current sensing, and three-current sensing (HSO) topologies are described.
Refer to the 21 Analog-to-digital converters (ADC) chapter of the STM32G4 Reference Manual for ADC IP description.

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