Question
STM32F0 Comparator Output issue
Posted on September 02, 2016 at 19:53
I am unable to get any output from the COMP1 comparator on an STM32F072RB on any pin other than PA0. The datasheet ''STM32F072x8 STM32F072xB'' states on pg 41 that COMP1_OUT should be available on pins PA0 PA6 and PA11 through the alternate function channels.
I have tried developing my own code writing directly to the registers with CMSIS, and also modifying the low level examples (Examples_LL) from the STM32CubeF0 for the STM32F072RB-Nucleo. Specifically the ''COMP_CompareGpioVsVrefInt_OutputGpio'' example. Has anyone ran into this issue or does anyone know a fix?