Posted on October 29, 2015 at 13:30Officially, STM32F030 doesn't have 96-bit unique ID (check the datasheet), so you can't rely on it.
As I understand it (fix me if I'm wrong), sometimes a batch of more feature-rich silicons (for example STM32F031 in this case) may be (for some reason) branded as another microcontroller when they are compatible. The reasons may vary. Maybe they had too many F031 and few F030, so they rebranded some F031s as F030s to not come out of stock. Or maybe there were some F031s which couldn't pass the quality control as F031, but when tested as F030 they passed it, so they were branded as F030.
This occurred to me couple of years ago when I realized that my STM32F101 microcontrollers have 64KB more flash than advertised, and a working USB device functionality (which STM32F101 shouldn't have had).
So check your flash and SRAM sizes too, they may be bigger if you are lucky.