cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f3xx__ll__comp.h bug

Bence Péceli
Associate II

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.

1 REPLY 1
Imen.D
ST Employee

Hello @Bence Péceli​ ,

Thank you for your reported issue and contribution. This is raised internally for fix.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen