2020-02-18 10:28 AM
Hello,
This line in the mentioned library is faulty.
#define LL_COMP_OUTPUT_TIM3_IC1_COMP2 (COMP_CSR_COMPxOUTSEL_3 | COMP_CSR_COMPxOUTSEL_1 | COMP_CSR_COMPxOUTSEL_0) /*!< COMP output connected to TIM3 input capture 1 (specific to COMP instance: COMP2) */
According to RM0316 the necessary setting for TIM3_IC1 output is 1010 on the relevant bits.
Indeed, in the MCU this configuration works, the one provided by LL does not.
2020-02-25 01:53 AM
Hello @Bence Péceli ,
Thank you for your reported issue and contribution. This is raised internally for fix.
Best Regards,
Imen