STM32 gotchas
63.Compatibility within the Value Line (0-ending) models

We've written previously, that while mutual compatibility of STM32 is quite reasonable in between the families (at least the older ones, the 'G0/'G4 deliberately breaking this sort of compatibility) and then a bit better within a family, yet it's not perfect even within a single model number. That single model number may consist of variants, seemingly differing only in memory sizes and available packaging options, but in fact being different chips, with minor but sometimes significant deviations, e.g. in availability of a certain peripheral, or functionality of certain pins.

Therefore, one has to be very careful when migrating even between variants of the same model number, for whatever reason.

This problem gets more pronounced with the so called "Value Line" models, which are present almost in each STM32 family, with model number ending with 0 (e.g. STM32F030). These models are in fact "downgraded" models from the same family, which see less production testing, have some features/peripherals unavailable, less memories available, and have reduced operating temperature span. These all contribute to lower manufacturing cost hence lower unit price. While the "unavailable" features may in fact be present, they are not guaranteed to work properly; ST may take steps to disable them; and also, would there be enough demand, ST may in the future create new masksets for given models, genuinely omitting those features to achieve optimized silicon area.

However, what ST likes to do is, that they "gather" several models under one Value Line model number. This means, that under the same model number, several different models can be found as "memory variants". The differences may be relatively minor as in the case of 'F030; dramatic, as in case of 'F730 where the models in smaller packages stem from 'F722 whereas the larger packages originate from 'F723, and these models differ significantly in that the 'F723 (and thus the larger-than-100-pin 'F730) is the only STM32 incorporating USB HS PHY; all the way to surprising, as in case of 'L010, where a model with larger memories have much worse availability of certain peripherals through the GPIO matrix than the "smaller-memory" model, in the same package.

The Value Line parts represent a very useful portion of the STM32 family, as there are many applications where the large temperature range and some of the peripherals are not needed, while the smaler price is a bonus. However, when migrating "within model" for whatever reason (availability, need for larger memory), the newly chosen model has to be carefully compared to the orginal one, to avoid any unpleasant surprise.


In the 'F1 family, while ST designates the 'F100 as Value Line, in fact, 'F100 are not "downgraded" versions of 'F101/102/103; rather, they are different chips. While 'F100 indeed have the lowest rated system clock of all 'F1 (24MHz, vs. 36/38/72MHz), and they share most of the basic peripherals with the rest of 'F1 family, they also have a HDMI-CEC peripheral, which is not present in other members of 'F1 family. OTOH, 'F102 and 'F101 are both "downgraded" versions of 'F103, so in the spirit of this article those can be seen as the "Value Line" of the 'F1 family.