RM0468 Figure 297. Comparator functional block diagram error.
Hi everyone,
While using the comparator interrupt functionality, I discovered an error in the comparator block diagram provided in the Reference Manual for the H723 series(RM0468):
As shown in the image above, the signal that triggers the interrupt does not actually pass through the polarity selection stage; instead, it is routed to the interrupt logic immediately after the comparator output. My evidence is as follows:
First, I observed that a specific output state causes the interrupt to trigger continuously (making it impossible to clear the `CC1IF` flag). Upon checking the block diagram, I saw that `CC1IF = cmp1_out & ITEN`, which implies that setting `cmp1_out` to 0 should resolve the issue. However, in practice, this has no effect—the `CC1IF` flag remains set. The only way to clear `CC1IF` is to adjust the comparator inputs to invert the comparator's output.
These are the results I obtained from testing on an STM32H723ZGT6.
