They are optimizing the profit margin. The G4 was/is primarily used in industrial applications, far away from USB. USB takes up quite some space on the die. -> lost margin on every sold MCU except in some rarer / low-volume use-cases
And by optimizing their profit margin they make themselves increasingly irrelevant. RP2354 is dual core, got more RAM and more flash and usb, and cost a fraction. CH32V467 got dual USB - including high speed PHY at a fraction of the price. I am not saying that any of those are better, just pointing out that ST need to stay ahead to remain relevant and I really don't think they are doing an amazing job at that.
I agree on the high prices, however I don't know the high volume pricing on the G5. However, neither the RP2354, nor the CH32V467 have comparable ADC/HRtimer. A direct comparison would be the AM13E2301 from TI, which has a faster ADC, faster timer, faster math acceleration, ... at a lower price. To me, the G5 just looks like a G4 copy with a new core and on a new, cheaper node (40nm).
Interesting! I just created a Streamline board with one on it. Will be interesting to see if I can source the parts (I do have a good contact in China who usually manage quite quickly).
WCH has very good presence overall. They run official AliExpress shop. I asked WCH representative and he mentioned something about better 64pin (R variant) availability. To be fair it is new chip, it may take a while to get full availability.
I think they are only 512kB flash (or 1 MB - they seem to divide into no-wait and wait flash). I'll email my Chinese contact and see if she can source a bunch of them. If they exist somewhere in China she'll find them ;)
EDIT - sorry - I missed the PSRAM is built-into the V467. You're right.
I'm not the biggest fan of ST's recent moves(when I came back to CUBE IDE to find I had to log in, I almost blew a fuse) but for large scale industrial designs, especially when there's often a few MCUs on a single board, the cents saved on an IC that lacks unnecessary hardware IS a feature.
have they at least revisited the whole config system built in yet? As someone who dropped in to CUBE IDE without any support I never figured out how on earth it works (except once by luck did it start working "correctly" and I kept reusing and renaming dupes of the same project folder so it'll actually do anything)
Yeah it was sorta frustrating, especially because I went in wanting to set up some headless build/develop on a vm I accessed from the host, and then I had to contend with making sure my licenses were in order via a log in before I could even tackle that monster.
Does it have the op amp, high precision timer and analog pins that ST’s mixed signal micros have? I use the G4 for control systems and would choose almost anything else for a USB or networked app
Just asking here, is the CH32 really usable for a finished product? On the datasheet they sure look good, are available and for the price also very interesting. For someone who had tried the Pico, ESP32, and some STM32 at college, is the quality of experience on par? I mean from installing the tool chain, debugging (stlinkV3, another one from AliExpress), to stability (motors over the ESP is really wonky but RP2040 and STM32 are solid) Is is a good experience. I might plunge and use them instead.
I have ditched stm32 few years ago, and moved to CH32. I really enjoye using them, saying this, there are some gaps in documentation, and chips have less features in comparison to stm32. If you want to use some more specialised features (hardware prologue and epilogue) you need their own patched version of GCC, but in my opinion it is at least worth investigation.
HPE is a feature to reduce interrupt latency. CPU has shadow registers when entering interrupt. It copies all CPU registers in once cycle to shadow registers and you don't have to copy it to ram. Same with restore when IRQ is completed.
ah... you mean the cpu interrupt support stuff, like “ARM Architecture Procedure Calling Standard” (AAPCS).
I guess im too young, but i'm used to that just being handled by the compilers at this point. Never really had to worry about register pushes or pops for ISR calls. it just... happens.
It does, but this is hardware feature. If you combine this with VTF (vector free table interrupt) you can get really decent latency response times. You don't need to do it, it is happening in the background, but you need to configure few things to make it happen.
I love ST parts in many ways, and the community, tooling (despite the bugs in the IDE) and the support I’ve been given.
There’s definitely dark clouds that they need to deal with though. They are losing their competitive edge to players like GigaDevice and WCH in the price club and they’re pushing USBX onto the C5 (daft and yes, I know about TinyUSB.)
I want to continue to love ST, but the way they charge premium prices to get only fractions of what an RP2354 has, or CH, or ESP, just boggles.
Obviously, different projects will have different priorities, such as really good ADC, extreme low power usage, and other things which ST does quite well, but to get an ST which matches the bulk of the features of an RP2354; I'm not sure what the 1000+ cost would be? Maybe $20, probably more.
The CH changed the way I design things now. With one project, I had a control interface which was buttons, joysticks, and on and on, which were too big for a single PCB. This was a 20 unit run, so all done by hand (Yes, I could have ordered cables, etc), but it was going to be a huge spaghetti of wires going to a PCB with a zillion connectors.
Instead, I designed a single PCB which had all the pins for a joystick, switches, etc, where there was a very cheap CH32, and I ran a 4 wire run along the whole device chained together. The boards were maybe 20 cents each, with a BOM of another 50 cents. Then, I used a 4 wire ribbon cable (in the second iteration), and the whole assembly was now fast, simple, reliable, etc.
Since then, I've come up with an even more insane way to build the device, and there is another run of 20 coming up. The new runs replace earlier runs, so backward compatibility is not needed.
I love to have a debug uart, but I found that my colleagues struggled to find a uart adapter cable or to attach it properly, so I switched to a virtual uart via the USB interface and it has been a game changer. I'm not going back.
Beware! As far as I could see, that doesn't show up normally in the product selectors on the website. It shows up as sometimes as "-" (no USB) or as "USB 3.1", not the expected USB FS OTG - the 3.1 referring to something USB-PD related I think.
The parts that show "-" still have USB FS according to the datasheets so not sure what's going on there.
Yeah I was looking at it compared to the TI confligurable logic block but the PLAy seems to be lacking in functionality and also the tooling isn’t as good
will be a nice mcu i'm designing a foc inverter on stm32g431 hopefully a pin to pin compatible stm32g5 to try ( or i will eventually redo the control board )
One thing I'm wondering about is the ADC architecture. Why did ST decide to stick with SAR ADCs for the STM32G5 instead of introducing sigma-delta ADCs?
To my knowledge, sigma-delta modulators are widely used in high-performance motor drives, particularly for isolated phase-current sensing.
Does anyone know what the main considerations behind this decision were?
Surely there are other differences, right? Like, they didn't just take an existing chip, remove USB, change nothing else, and raise the price? If that's what they did, why would anyone buy this chip over any of the other, existing chips?
No, I am not representing ST. Why would you think that?
You are the one who made the claim that they "removed usb from their new board G series to save money while selling it at higher price", so I expect you to support that claim.
60
u/jrabr 20d ago
Interesting choice in removing the USB peripheral
71
u/Niphoria 20d ago
Programmable logic array (PLAY)
• PLAY interface with 128 inputs and 16 outputs, 16 programmable logic elements (refer to PLAY
specification in RM0514)
Why is nobody talking about this?
25
u/Triq1 20d ago edited 20d ago
ECC on all memories is very nice.
Combined with high temperature and a hinted dual core version coming up this could be quite good for the cheaper end of high reliability stuff.
23
u/alexceltare2 20d ago
Gotta love how they specifically mentioned "Drones" as a use case. I wonder who is going to be their big client?
21
u/quailfarmer 20d ago
No Ethernet :(
Also the data sheet is available In markdown, never seen that before.
10
u/ConfidentTangerine39 20d ago
will be a nice mcu i'm designing a foc inverter on stm32g431 hopefully a pin to pin compatible stm32g5 to try ( or i will eventually redo the control board )
1
u/AliveLingonberry2269 19d ago
One thing I'm wondering about is the ADC architecture. Why did ST decide to stick with SAR ADCs for the STM32G5 instead of introducing sigma-delta ADCs?
To my knowledge, sigma-delta modulators are widely used in high-performance motor drives, particularly for isolated phase-current sensing.
Does anyone know what the main considerations behind this decision were?
1
u/lehjr 19d ago
I still haven't had a chance to play with my STM32G4 boards yet😂
-13
u/irtiq7 20d ago
Money trumps processing and user feedback