cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L051K6U6 comp1 can not be used?

tt yy
Associate
Posted on October 10, 2017 at 05:27

I configured comp1 with stm32cubemx, but I can not configure the COMP1 register, using COMP1-> CSR = 0x11; the value of COMP1_CSR is still zero.

WHY?

1 REPLY 1
Pavel Krupets
Associate III

You should enable it's RCC clock before changing the register.