Comment by Neywiny

Comment by Neywiny 21 hours ago

32 replies

As an almost exclusively microcontroller user of Arm's products, a big meh from me. v8 is still slowly rolling out. M33 is making headway but I was really hoping for M55 to be the bigger driver.

jauntywundrkind 20 hours ago

That folks are still making new Cortex-A7 (2011) designs is wild. A-35 doesn't seem to be very popular or better.

Cortex-M33 (2016) derives–as you allude to–from ARMv8 (2015). But yeah it barely seems only barely popular, even now.

Having witnessed some of the 9p's & aughts computing, I never in a million years would have guessed microcontrollers & power efficient small chips would see so little change across a decade of time!!

  • conradev 19 hours ago

    Isn’t there some dynamic at play where STM will put one of these on a board, that board becomes a “standard” and then it’s cloned by other manufacturers, lowering cost? (legality aside)

    STM32H5 in 2023 (M33): https://newsroom.st.com/media-center/press-item.html/p4519.h...

    GD32F5 in 2024: https://www.gigadevice.com/about/news-and-event/news/gigadev...

    STM32N6 in 2025 (M55): https://blog.st.com/stm32n6/

    i.e. it takes some time for new chips to hit cost targets, and most applications don’t need the latest chips?

    I don’t know a lot about the market, though, and interested to learn more

    • jauntywundrkind 8 hours ago

      Some chips that have come out in the past 3 years with Cortex A7:

      Microchip SAMA7D65 and SAMA7G54. Allwinner V853 and T113-S3.

      It's not like a massive stream of A7's. But even pretty big players don't really seem to have any competitive options to try. The A-35 has some adoption. There is an A34 and A32 that I don't see much of, don't know what they'd bring above the A7. All over a decade old now and barely seen.

      To be fair, just this year ARM announced Cortex-A320 which I don't know much about, but might perhaps be a viable new low power chip.

  • duskwuff 19 hours ago

    You can get a lot of mileage out of a Cortex-M7. NXP has some which run up to 1 GHz - that's a ridiculous amount of power for a "microcontroller". It'd easily outperform an early-to-mid-2000s desktop PC.

    • adrian_b 14 hours ago

      There are no similarities between Cortex-M7 and Cortex-A7 from the POV of obsolescence.

      Cortex-M7 belongs to the biggest-size class of ARM-based microcontrollers. There is one newer replacement for it, Cortex-M85, but for now Cortex-M7 is not completely obsolete, because it is available in various configurations from much more vendors and at lower prices than Cortex-M85.

      Cortex-M7 and its successor Cortex-M85 have similar die sizes and instructions-per-clock performance with the Cortex-R8x and Cortex-A5xx cores (Cortex-M5x, Cortex-R5x and Cortex-A3x are smaller and slower cores), but while the Cortex-M8x and Cortex-R8x cores have short instruction pipelines, suitable for maximum clock frequencies around 1 GHz, the Cortex-A5xx cores have longer instruction pipelines, suitable for maximum clock frequencies around 2 GHz (allowing greater throughput, but also greater worst-case latency).

      Unlike Cortex-M7, Cortex-A7 is really completely obsolete. It has been succeeded by Cortex-A53, then by Cortex-A55, then by Cortex-A510, then by Cortex-A520.

      For now, Cortex-A55 is the most frequently used among this class of cores and both Cortex-A7 and Cortex-A53 are truly completely obsolete.

      Even Cortex-A55 should have been obsolete by now, but the inertia in embedded computers is great, so it will remain for some time the choice for cheap embedded computers where the price of the complete computer must be well under $50 (above that price Cortex-A7x or Intel Atom cores become preferable).

      • kvemkon 10 hours ago

        In embedded old Cortex-A53 (and A72) are the most "new" cores used compared to A9 (and A15). E.g. TI AMxxxx [1] and Xilinx UltraScale+ vs Zynq.

        [1] https://www.ti.com/microcontrollers-mcus-processors/arm-base...

        • adrian_b 8 hours ago

          For cores included in FPGAs, sadly there are none better than Cortex-A53 and Cortex-A72, because there have been no significant upgrades to the families of bigger FPGAs for many years. However in that case you buy the chip mainly for the FPGA and you have to be content with whatever CPU core happens to be included.

          On the other hand, for the CPUs intended for cheap embedded computers there are a very large number of companies that offer products with Cortex-A55, or with Cortex-A76 or Cortex-A78, so there is no reason to accept anything older than that.

          Texas Instruments is not really representative for embedded microcontrollers or computers, because everything that it offers is based on exceedingly obsolete cores.

          Even if we ignore the Chinese companies, which usually have more up-to-date products, there are other companies, like Renesas and NXP, or for smaller microcontrollers Infineon and ST, all of which offer much less ancient chips than TI.

          Unfortunately, the US-based companies that are active in the embedded ARM-based computer segment have clearly the most obsolete lines of products, with the exception of NVIDIA and Qualcomm, which however target only the higher end of the automotive and embedded markets, by having expensive products. If you want something made or at least designed in USA, embedded computers with Intel Atom CPUs are likely to be a better choice than something with an archaic ARM core.

          For the Intel Atom cores, Gracemont has similar performance to Cortex-A78, Tremont to Cortex-A76 and Goldmont Plus to Cortex-A75; moreover, unlike the CPUs based on Cortex-A78, which are either scarce or expensive (like Qualcomm QCM6490 or NVIDIA Orin), the CPUs based on Gracemont, i.e. Amston Lake (Atom x7000 series) or Twin Lake (N?50 series), are both cheap and ubiquitous.

          The latest Cortex-A7xx cores that implement the Armv9-A ISA are better than any Intel Atom core, but for now they are available only in smartphones from 2022 or more recent or in some servers, not in embedded computers (with the exception of a product with Cortex-A720 offered by some obscure Chinese company).

      • crest 9 hours ago

        Does anyone but Renesas even offer a Cortex M85 based MCU? Afaik the all the other high performance ARM based microcontrollers still use a Cortex M7 except for a few M55 based chips.

  • Neywiny 5 hours ago

    At a trade show I saw a chip coming out with DDR3L. Imagine a 2025 chip with RAM from 15? years ago. They said it's all that they needed. Probably have a perpetual license or something.

  • bsder 19 hours ago

    > I never in a million years would have guessed microcontrollers & power efficient small chips would see so little change across a decade of time

    It's because the software ecosystem around them is so incredibly lousy and painful.

    Once you get something embedded to work, you never want to touch it again if you can avoid it.

    I was really, really, really hoping that the RISC-V folks were going to do better. Alas, the RISC-V ecosystem seems doomed to be repeating the same levels of idiocy.

    • 01100011 18 hours ago

      Switching microcontrollers means you have a lot of work to do to redo the HW design, re-run all of your pre-production testing, update mfg/QA with new processes and tests, possibly rewrite some of your application.. and you need to price in a new part to your BOM, figure out a secure supply for some number of years... And that just assumes you don't want to do even more work to take advantage of the new chip's capabilities by rewriting even more of your code. All while your original CPU probably still does fine because this is embedded we're talking about and your product already does what it needs to do.

    • ryao 11 hours ago

      The RP2040 and RP2350 are fairly big changes from the status quo, although they are not very energy efficient compared to other MCUs. Coincidentally, the RP2350 is part of the RISC-V ecosystem. It has both RISC-V and ARM cores and lets you pick which to use.

    • danhor 14 hours ago

      RISC-V is even worse: The Cortex-M series have standardized interrupt handling and are built so you can avoid writing any assembly for the startup code.

      Meanwhile the RISC-V spec only defines very basic interrupt functionality, with most MCU vendors adding different external interrupt controllers or changing their cores to more closely follow the faster Cortex-M style, where the core itself handles stashing/unstashing registers, exit of interrupt handler on ret, vectoring for external interrupts, ... .

      The low knowledge/priority of embedded of RISC-V can be seen in how long it took to specify an extension tha only includes multiplication, not division.

      Especially for smaller MCUs the debug situation is unfortunate: In ARM-World you can use any CMSIS-DAP debug probe to debug different MCUs over SWD. RISC-V MCUs either have JTAG or a custom pin-reduced variant (as 4 pins for debugging is quite a lot) which is usually only supported by very few debug probes.

      RISC-V just standardizes a whole lot less (and not sensibly for small embedded) than ARM.

      • ryao 11 hours ago

        Being customizable is one of RISC-V’s strengths. Multiplication can be easily done in software by doing bit shifts and addition in a loop. If an embedded application does not make heavy use of multiplication, you can omit multiplication from the silicon for cost savings.

        That said, ARM’s SWD is certainly nice. It appears to be possible to debug the Hazard3 cores in the RP2350 in the same way as the ARM cores:

        https://gigazine.net/gsc_news/en/20241004-raspberry-pi-pico-...

    • fidotron 11 hours ago

      > It's because the software ecosystem around them is so incredibly lousy and painful.

      This is reaching breaking point entirely because of how powerful modern MCUs are too. You simply cannot develop and maintain software of scale and complexity to exploit those machines using the mainstream practices of the embedded industry.

tails4e 14 hours ago

I am surprised more uC use cases have not moved to RISC-5. What do you see keeping you on ARM for what you work on?

  • ryao 7 hours ago

    The RP2350 lets you choose between 2 RISC-V cores and 2 ARM cores. I believe it even supports 1 RISC-V core and 1 ARM core for those who like the idea of their microcontrollers using two different ISAs simultaneously.

    Microchip Technology has a number of RISC-V options.

  • Neywiny 5 hours ago

    Depends on the task. My favorite example is a chip that has a lot more than a microcontroller onboard, but it's an old v7m. I need the rest and have to struggle with what they give. If it was RV, power PC, mips, whatever, I'd have to use it.

the__alchemist 19 hours ago

Same. On v7 still for most things, even on newer MCUs. The v8 ones, for the use cases I've encountered, primarily add IOT features like secured Flash.

  • Neywiny 4 hours ago

    Right. And I'm not IoT so I don't care. Could be fun to play with helium, though.