Posted on March 09, 2015 at 12:27Ok, I found out. Even if COMP_CSR3 register is not defined as 052 family microprocessor port, the register must be set to enable Vrefouten. This line do the trick:*((uint8_t *) (uint16_t)0x5442) |= 1;
Posted on March 09, 2015 at 11:37Hi,could you please explain me which step you took in order to route the Vref output to a pin?I'm using the same STM8L052 you are using, and I tried setting bit CH7E of RI_IOSR1 register in order to route Vref out of...