they dont, 20KB ram micros sold at $2 are a TOTAL effin RIPOFF, pee zero is sold ~at a cost.
This is why chinese are making stm32 clones and selling them at 1/5 the price still making good profit.
Ah - your reply came in as I was typing the above. OK, so perhaps they are clones, but does that apply to most ST micros from China or just the almost ubiquitous (in all sorts of Chinese products) STM8S103F3P6 and the lower end STM32F103 parts?
http://www.gigadevice.com/product-category/11.htmlyou misunderstood me, chinese clone lowest stm32 part
EDIT: forgot to finish my thought
chinese clone lowest stm32 model, but that doesnt mean all cheap parts are clones, ST is forced to sell cheaply or be replaced by domestic micros - this is why you can get individual original stm32 parts from china at 1/2 farnell full reel discount price.
$2-15 for a piece of silicon with a size that is a FRACTION of 2GBits memory chip, when you can buy DIMM module with 8 of those 2GBit chips at $9 RETAIL should tell you something.
http://www.amazon.com/Crucial-PC3-12800-Unbuffered-240-Pin-CT25664BA160B/dp/B006YG88QCjust let that sink in, ~16 billion transistors / $9 = ~1.7 billion transistors for a dollar, retail
Cortex-M3 has afair ~100K transistors, another 700K for fattest sram/rom option and we end up at ~1mil transistors. 1000 less than what you get in a ram chip at similar price point.
Whole ram/flash price differentiation is a huge scam, the most expensive part of any ARM microcontroller is
packaging Most lower end stm32 parts are same silicon across whole family, just fused differently. Sometimes they dont even bother and you end up with stm32f103c8t6 (theoretical 64KB flash) having 128KB.