The embedded MCUs are slowly coming back, and at a bit lower prices, for SMT at JLC:
Blue pill (STM32F103)
Black pill (STM32F411)
High density Blue Pill clone (GD32F103VGT6):
Raspberry PI
And all the Espressif WiFi MCU modules, those have never been short.
Discrete Half-H Drivers at JLC available for SMT, need external MOSFETS:
NCP81155
DGD05473
ADP3110A
Integrated PWM control Half-H MOSFET
UP9636PQMY
Plenty of discrete MOSFETs available for SMT, those never had any shortage though.
Here is a really tiny one I liked a lot, that could be paired with some of the discrete drivers:
KNG3703A, 50A / 30V, in a 3x3mm package, thatās tiny!
BTW, I already created dev P-O-C boards with all of the above, and ordered them, just to see if they work, I believe I posted them in another thread, so Iām not just blowing smoke here.
Good luck to anyone who does this stuff. If anything, the shortage really forced people to get creative.
Seems like PAC5285 is in stock: integrated ARM controller + driver + FETs + 1 amp for current sensing. Any idea how difficult it would be to run SimpleFOC on it?
Problem is that thereās no Arduino framework support for them, and ARM chips can be significantly different⦠STM32, Teensy (Nexperia) and SAMD are all ARM, but each has its own platform for Arduino framework.
So while I assume the chip will have SWD for programming, and the ARM gcc toolchain can probably produce code for it, I assume all the framework and board description files would be missing.
If you can find an Arduino support for it, it would be a great chip to try. Otherwise, Iād take a look at the STSPING4⦠that one is likely to be runnable with the stm32duino platform without too much pain getting it runningā¦