Problem with COMP1 and COMP2 as TIM1 break function sources.
Hi,
I am using STM32L476. COMP1 and COMP2 are configured in window mode, and that is working great. I am also using TIM1 break function. Below is a summary of the problem that I am encountering:
- If I use COMP1, and only COMP1, as a source for BREAK or BREAK2, the break function works fine.
- If I use COMP2, and only COMP2, as a source for BREAK or BREAK2, the break function works fine.
- If I use COMP1 or COMP2 as an ADDITIONAL source for a BREAK or BREAK2 configuration which was previously working, the break function stops working.
I don't know if that's because there is a problem with the break function not accepting multiple sources (that should not be the case, as the manual clearly says that multiple sources are possible and they are ORed), or if there is a problem when using COMP1 / COMP2 as a break source (maybe that's related to the window mode configuration).
Therefore, I just wanted to know if anybody already managed to use COMP1 AND COMP2 as sources for BREAK or BREAK2.
Thanks a lot for your feedback.
Michel