cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4xx COMP inputs in HAL and LL

waclawek.jan
Super User

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:

waclawekjan_1-1779452699896.png

 

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

0 REPLIES 0