Update your 8 BIT Micro to a 32 BIT Alternative?
Michael Havenga
Embedded Solutions | PCB Layout | PIC Microcontroller Consultant (8BIT) | Software Development
The arrival of the 32-bit operating system and the subsequent advent of the 64-bit operating system has opened up systems to greater advances in storage capacity and processing. While gamers and number crunchers were hungry for the processing power is it really better?
As cited in the reference link:
Increasing the bit-width of a CPU does improve a computer’s performance, but for basic tasks, 8-bits is often sufficient, including word processing, games, music development, spreadsheets, and task management. The abilities of 8-bit technology, combined with decreasing costs of electronics, have seen 8-bit microcontrollers remain relevant well into modern life.
If as an embedded developer you want to move away from an 8 BIT device onto something 32-bit, what are the considerations?
Taken from a device sales perspective, there does not seem to be much evidence of a slowdown in demand. The current risk of your current BOM facing a complete phase-out of an 8-BIT device is unlikely.
This could be skewed by a number of factors.
My daily browse on Octopart for the devices we need is showing improvement in the supply chains. Stock is coming available, especially of the devices recommended for automotive design which have been the ones most plagued by shortages.
Prices unfortunately remain fairly high for devices. However, with the availability improving it does provide momentum so hopefully, we will see that start to improve.
STM recently announce their STM32C0 range of devices. The pricing is highly competitive and with the prolific popularity of the STM32 device range, something cheaper and just as powerful is welcome. The price point vs features is very attractive.
领英推荐
For mature organizations with experienced embedded developers, the technical challenges of changing to a new device can be easily overcome. 8 BIT devices do have a certain familiarity and their lower complexity is a plus when upgrading or adding features. For the smaller organization trying to squeeze everything out of a design financially, basing the decision to move just on price has its pitfalls. A new device means reskilling, and new toolchains. Owing to limited experience with the devices, the danger of buggy code causing issues is a severe reality - especially if the code was "borrowed" from a hobbyist project site.
One caveat of STM's offering is whether it is sustainable. A well-known company, Atmel, tried something similar with the AVR range and for some time they were significantly cheaper than their PIC Microcontroller alternatives. However, with the reduction in revenue, the lower profit margin made the initiative unsustainable and Atmel is now owned by their competitor - Oops!
While it's true with STMs' popularity and other revenue streams are they at risk of a buyout - maybe not. Microchip as a supplier of embedded technology is also highly diversified and has alternatives to offer in its catalog should a designer want to change. Are they at risk of losing their hold in the 8-BIT market? Is STM the one to beat or is an 8-BIT device suited to specific applications with some but not detrimental overlap with their 32-bit counterparts? Is this all just a trend and embedded developers want to be in the STM32 chat group since let's be honest, 8-BIT is so last century
All things considered, the game is on to see whether the 8-BIT device has the staying power needed or whether the 32-BIT devices will eventually supplant their 8-BIT siblings.
Updating to a 32 BIT device has its challenges and the balance of the decision is whether the advantages warrant the change. While the titans fight it out, HavenTecnik continues to offer a wide range of 8 BIT-based development boards supporting devices in the 16 F and 18 F families supplied by Microchip Technology Inc. Available here: www.haventechnik.biz
[E]
Compiled by Technoscribe SA on behalf of HavenTechnik . All rights reserved.
HavenTechnik is an embedded electronics design and manufacturing company.
All branding mentioned in this article is made for reference purposes only, and they remain the intellectual property of their respective owners.
President at Highpower Security Products LLC, Shop&Lock, and Vibeffect
1 年I’ll be honest with you, I haven’t used an eight-bit part in years, almost a decade. For simple applications, the STM32F0 series has completely replaced PICs in my designs because development using STMs CubeMX config tool and HAL has been faster and effortless. I switched from PIC to AVR in the past because I liked the architecture better. I had some very successful AVR designs. But going from AVR to STM32, especially the F0 line was no brainier because power was higher, street prices were lower, and developing easier and faster. The only reason to stay with a PIC is if you have one existing design with a codebase that you want to maintain or a very simple dirt cheap design that uses six or 8-pin PIC devices. With PIC, I used to do everything in assembly but going to a 32-bit HAL is a joy just cranking it out in C. I know that PICs have C compilers, but it’s just not the same. Sustainable? Some of the parts from ST and NXP are high volume. Microchip as a company is excellent, and they have good part availability, and their parts are fine but architecture matters, and most firms have switched to ARM cores. I can't see going back to a PIC16 or 18 core soon. The Atmel buyout occurred not because of sustainability of AVR.
?? Building your dream hardware devices :: ?? #ThatKiCADguy ???(He/Him)
1 年A well-written and to-the-point article. Thank you, Michael ??