2026-05-24 6:56 PM
Hello,
I am currently developing a 1-shunt FOC code using the EVSPIN32G4 evaluation board.
Following the guidelines in UM2850, I modified the board for single-shunt conversion and configured the settings to detect the ADC via OPAMP2. However, the ADC for OPAMP2 is not working.
My goal is to perform ADC sampling twice per PWM cycle in synchronization with TIM1.
Currently, both hadc2->Instance->JDR1 and hadc2->Instance->JDR2 remain at 0.
Could you please give me some advice on the correct ADC and OPAMP2 configuration?
Thank you in advance for your help.