2025-04-10 2:23 AM - edited 2025-04-10 6:17 AM
Hello,
I am new with STM32. We would like to do a current control exactly like on this document :
https://www.st.com/resource/en/product_training/STM32G0-Analog-Comparators-COMP.pdf
page 13
But we would like to use COMP1 for ZCD and COMP2 for overcurrent.
However, it is not clear if it is possible and how to configure the MCU.
Anyone can help ?
Best regards,
Marc
2025-04-10 2:34 AM
@Marc38 wrote:I'm new with STM32. We would like to do a current control exactly like on this document
Welcome to the forum.
Do you have experience with any other microcontroller(s) ?
On Getting Started with STM32:
2025-04-10 2:37 AM
Thanks.
I have experience with TMS320F28XXX (Texas Instrument) and PIC (Microchip).
2025-05-22 1:01 AM
Do you know if it is possible to have support from ST ?
For example, I don't understand that on the picture above, COMP2 is connected to CH1, while it is impossible in the MCU, only COMP1 can be connected to CH1 input, and COMP2 to CH2 input ...
Also, I would expect ZCD to start the timer, and Overcurrent to stop it. So why ZCD would be an "external reset" ?
All that is very confusing.
2025-05-22 1:09 AM
@Marc38 wrote:Do you know if it is possible to have support from ST ?
In much the same way you'd get support from Microchip or TI:
2025-05-22 1:30 AM
Thanks, I will do that.
(On TI E2E, TI engineers help directly.)
2025-05-22 1:40 AM
There are also ST staff on this forum - but, if you want direct support, you need to go via the support system, or FAEs