"STM32F103C8T6" looks like a serial number, but it's a sentence: every character after "STM32" is a field from the ordering table in ST's datasheet. If you can read it, you'll catch the BOM mistakes that otherwise only show up when the reel arrives: the wrong flash size, the wrong package, or a part rated for 85 °C going into a 105 °C box.

The fields, using STM32F103C8T6

Characters Field Meaning here
STM32 Family 32-bit Arm Cortex-M MCU from ST
F Product type General-purpose (others: L = low power, G = mainstream, H = high performance, U = ultra-low power, W = wireless)
103 Subfamily / line F1 performance line
C Pin count 48 pins
8 Flash size 64 KB
T Package LQFP
6 Temperature range -40 to 85 °C

Lookup tables for the common codes

Pin count (the letter right after the line number):

Code F G K C R V Z I
Pins 20 28 32 48 64 100 144 176

Flash size (the character after the pin letter):

Code 4 6 8 B C E G I
Flash 16 KB 32 KB 64 KB 128 KB 256 KB 512 KB 1 MB 2 MB

Package (the letter before the last digit): T = LQFP, U = QFN-type (UFQFPN), P = TSSOP, Y = WLCSP, H = BGA.

Temperature (the last digit): 6 = -40 to 85 °C, 7 = -40 to 105 °C, 3 = -40 to 125 °C on families that offer it.

A trailing "TR" means tape and reel. It's packing, not a different chip, but the distributor will treat it as a different orderable part.

Where BOMs go wrong

  • T6 vs T7. Same silicon footprint, different temperature rating. A BOM that says "STM32F103C8" with no suffix lets someone buy whichever is cheaper that week.
  • Flash letter drift. STM32F103C8 (64 KB) and STM32F103CB (128 KB) share a pinout, and the firmware may outgrow the smaller one later. Decide on purpose.
  • Same digits, different package. STM32G030F6P6 is 20 pins in TSSOP. Change the P and you have a different land pattern.
  • "Temperature" isn't always ambient. On most families the digit is an ambient range. Some newer datasheets (the STM32H7P series, for example) state it as junction temperature, so the same digit means something stricter. Read the ordering table of the exact family.
  • Not every combination exists. A code can be "valid" field by field and still not be orderable. The datasheet's ordering table and the product page are the final word.

A small decoder

I put these tables, per family, into a free browser tool. Paste an order code and it splits it into fields, flags any code that family's datasheet doesn't define, and names the ST datasheet and revision it used:

https://www.partvane.com/tools/stm32-part-number-decoder/

What it can't do

It reads full order codes only. The top marking on the chip is a shortened product code plus date and lot codes, so you can't decode it from the chip itself; use the reel label or the BOM. A clean decode also doesn't tell you whether a part is genuine or currently in production.