Skip to main content
Visitor II
February 18, 2020
Question

stm32f3xx__ll__comp.h bug

  • February 18, 2020
  • 1 reply
  • 817 views

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.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    February 25, 2020

    Hello @Bence Péceli​ ,

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

    Best Regards,

    Imen