ST raking in the cash
Not so much a rake as a fleet of JCB bulldozers.
Last 20+ days I've lost hours each day playing hunt the MCU trying to figure out a game plan. Indeed hours looking for simple stuff like electrolytic caps. Last week 2 pole CO PCB mount relays, still not found anything of reasonable provenance in a qty of 1,000+. By the time I've found some, I'll need 2,000.
But the MCU's, that's just madness. ST seem to be 3 times the price, when you can find something, than anything similar to Atmel SAM.
In the UK the main distributors, Farnell & RS, may as well de-list the usual ranges to save us the bother of using their search. RS just adds to the misery by not showing stock levels in the list pages.
However the question I'd really like answered is how we arrived at so many variants. I'm fully aware of yields, but if you have a part that can be 32, 64, 128, 196 or 256KB of flash, that's not yield, that's turning off chunks of the die. And then you multiply that out with the packaging options.
Right now I'd be happy to go with a 256KB flash 64 pin in a small shop friendly format like TQFP (as opposed to any BGA), even if I only need 64KB flash on 32 pins for the actual project. But I have no clue what the strategy is, so anytime I'm looking at KiCAD PCB on screen, I just come out in a cold sweat that I can't find the part / package I'm guessing on a design for.
With the lead times we've ended up with, Gigadevice & Nuvotron ARM look increasingly attractive for a short soak test, their websites sell direct & appear to have stock on hand, ST & Microchip could find them selves with a whole generation of engineers who leave them to their corporate sales pipelines whilst the rest of us move designs over to smaller but more dynamic players.
So if any of the big boys are reading this, how about stop trying to make some of everything, just build lots of the upper end of each range in more common formats and don't ship 100,000 to a customer that you know will only use a third of that in the coming year.