2026-05-25 6:11 AM - edited 2026-05-25 6:13 AM
Based on discussion here, conclusion is, that given in 'L45x/'L46x there's no DAC1_CH2, and in 'L41x/'L42x no DAC at all, these are unavailable for inputs selectable for COMP for these sub-families of the low-end 'L4xx family group handled collectively by RM0394.
Description in stm32l4xx_hal_comp.c does not tell these completely, and there are also references to 'L43x/'L44x having some exceptions, which based on RM/DS doesn't appear to be the case:
Also, macros in stm32l4xx_ll_comp.c don't take the missing DAC channels into account, and they should.
Can these be looked at, please.
Thanks,
JW