STM32F0 factory HSICAL values wiped after resetting RDP Level 1
Hi, I have 3 STM32F091 chips that have their factory HSICAL defaulting to 0x0F as opposed to HSICAL = 0x5C/0x60 on working units.
I'm using STM32CubeProgrammer.
I suspect this happened when I had enabled RDP Level 1 / BB, then I needed to update the firmware again; wrote AA the the RDP to unlock it, flashed the new firmware. After power reset, they started clocking wrongly.
MCO pin, with prescale applied, showed 5.88MHz as compared to ~8MHz on the working units.
Plugging in the ST LINK and reading the registers from CubeProgrammer, this is what I got, as mentioned in the beginning;

How do I restore or recalibrate back RCC HSICAL ?