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