2025-05-20 3:46 AM
Hi,
While working on the code for an STM32H7B0, I'm having issues with the blanking function of COMP1. Specifically, it works correctly when the comparator is in non-inverting mode, but if I invert the comparator's output (to detect falling thresholds), the blanking stops working. According to the datasheet, the blanking gate should be placed after the output inversion, so it should work whatever is the outpup polarity in the same way. In practice, however, it seems to be positioned before. Does anyone have any ideas?
I'm using dac1_ch1 as in- , analog signal connected to pin inp PB0,and tim1_ch5 as blank
2025-07-04 1:41 AM
Hello @garinus,
Based on the STM32H7B0 reference manual, the blanking function in COMP1 is designed to operate after the output polarity inversion, and it should work the same way regardless of the output polarity setting.
>>In practice, however, it seems to be positioned before
Could you specify more in details on the observations that led you to this conclusion?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.