Extra reminiscence and decrease costs will convert extra methods to 32-bit


Writer : STMicroelectronics

ST is saying right now the launch of STM32C071s with 128 KB of flash and a USB controller, thus additional cementing our new collection as an entry-level MCU and gateway to 32-bit architectures. We’re additionally divulging a brand new roadmap with units housing as much as 256 KB of flash by the top of subsequent yr and can replace this weblog put up after they turn out to be accessible. Within the meantime, samples of the STM32C071 ought to arrive by mid-2024 however are publicly revealed right now to assist integrators plan forward. We’re additionally saying new worth drops with the present STM32COs that includes 32 KB of flash dipping under $0.24 for 10,000 models, making the collection much more accessible.

Regardless of launching the STM32C0 only some months in the past, in January 2023, the reception has been so optimistic that rivals have adopted comparable methods, some even calling out STM32s of their documentation. In a nutshell, the brand new price-per-performance ratio of the STM32C0s disrupted the market by enabling integrators to not solely contemplate 32-bit MCUs but additionally envision roadmaps and improve paths beforehand unimaginable. Therefore, as we shut 2023, we wished the STM32C0 to proceed disrupting markets by additional reducing costs and growing reminiscence so extra engineers can leap on the bandwagon.

What’s new?


The STM32C071 is probably the most spectacular improve because it quadruples the reminiscence configuration because of 128 KB of flash and 24 KB of RAM. Put merely, merchandise that needed to undertake considerably dearer units due to reminiscence constraints can now exist in entry-level markets, thus making them vastly extra aggressive. And since we anticipate numerous these methods to make use of USB to ship energy, we added a crystal-less USB controller. Certainly, engineers can use the inner clock, thus assuaging the necessity for an exterior crystal, which will increase the invoice of supplies and the PCB format complexity.

Consequently, the STM32C071 is extremely symbolic as a result of it brings extra functionalities from the STM32G0 right down to the STM32C0. In addition to the USB controller, there’s an extra SPI and I2C interface and a 32-bit timer. In any case, it’s been our technique all alongside: make extra options accessible to all methods. The STM32C071 is, due to this fact, a brand new roadmap enabler because it turns into a bridge between entry-level MCUs and the STM32G0 that groups would use to supply a extra pricey system to their clients that includes decrease energy consumption and extra options. That’s why we additionally ensured pin-out compatibility between the STM32C071 and the STM32G0.

An age-old problem: creating entry-level purposes

The STM32C0

The STM32C0 is a brand new microcontroller for entry-level purposes with a worth that may match payments of supplies that beforehand required cheap 8-bit MCUs. Therefore, the gadget will increase the accessibility of the STM32 household of units whereas providing vital computational throughput because of a Cortex-M0+ operating at 48 MHz and scoring 114 factors in CoreMark. Relying on the configuration, the STM32C0 collection will even oscillate between 16 KB of Flash and 6 KB of RAM to 128 KB of Flash and 24 KB of RAM. ST additionally offers a variety of packages to make sure PCBs that depend on a small 8-bit microcontroller retain their kind issue.

The entry-level problem

8-bit microcontrollers proceed to play an thrilling function within the business, and ST stays devoted to its STM8 collection. Some corporations want the EEPROM accessible in our 8-bit MCUs, whereas others rely upon the AEC-Q10x automotive qualification of a few of our units. Nonetheless, in lots of cases, designers select an 8-bit MCU solely due to pricing issues. Their purposes work properly sufficient with 8-bit registers, that means their major focus is the invoice of supplies. The issue is that selecting an 8-bit structure can have pricey long-term penalties.

The STM32C0
The STM32C0

One of many challenges when engaged on an entry-level software is the restricted upgradability. Whereas prioritizing a low BoM, many profitable tasks typically want extra reminiscence, computational throughput, pins, and so forth. Nonetheless, 8-bit architectures have stricter restrictions and thus present far fewer improve potentialities. The inherent limitations on 8-bit MCUs may additionally imply that an organization has to qualify a number of units as a substitute of getting one part that may match quite a few purposes. Lastly, because the business inevitably marches towards 32-bit methods, utilizing an 8-bit gadget could stop builders from utilizing software program stacks or present codes that might vastly shorten their time to market.


A brand new answer: a 32-bit gadget as an alternative choice to an 8-bit MCU

How is ST serving to builders transition to 32-bit?


ST understands that regardless of all the advantages of a 32-bit structure, monetary and bodily constraints could power some groups to make use of an 8-bit different. That’s why the STM32C0 has packages and a worth rivaling 8-bit MCUs. Put merely, it opens engineers to new markets by enabling them to transition with out blowing up their BoM or present designs. Given ST’s assure of reliability, our gadget’s skill to help working temperatures of as much as 125ºC, and lots of peripherals, the STM32C0 is probably the most inexpensive MCU right now.

Moreover, ST ensured that transitioning from an 8-bit structure to a 32-bit one could be as environment friendly and simple as potential. For instance, we revealed an software notice with pointers for transferring from an STM328L or STM328S to an STM32C0. It delves into peripheral migration and even reveals that transferring to a 32-bit structure typically means a rise in code dimension of solely 6% to fifteen% usually. ST additionally organized a webinar accessible on demand, and the STM32 improvement setting can significantly optimize operations. Instruments like STM32CubeMX and STM32CubeIDE, debug software program like STM32CubeProgrammer, or STM32Cube growth packages optimize workflows and even assist reuse code or modules.

How is the STM32C0 facilitating the transition?


The STM32C0 wasn’t solely designed to encourage engineers to transition from 8-bit methods however to breed extra succesful entry-level purposes. Consequently, we labored on enhancing the characteristic density. The STM32C0 thus has one of many smallest packages for a general-purpose MCU because of its 3 mm x 3 mm 20-pin QFN housing, which is just potential as a result of the die is so tiny. ST additionally presents an 8-pin SO8N model or a very skinny WLCSP12 bundle. Equally, the STM32C0 has energy consumption modes considerably decrease than different 8-bit units, which implies it’s potential to create extra environment friendly designs.

How is the STM32C0 a stepping stone to extra highly effective methods?


Essentially the most astute readers may have acknowledged that the brand new STM32C0 takes important cues from the STM32G0, which makes use of the identical Cortex core. Consequently, ST ensured builders might shortly transfer from the STM32C0 to the STM32G0. As an example, the brand new MCU has the identical single Vdd and Vss energy provide line discovered on the STM32G0, simplifying PCB designs and lowering prices. The STM32C0 additionally features a extremely correct inside high-speed RC oscillator at 48 MHz. Because of this, designers don’t want so as to add an exterior one, which lowers the general BoM. The 2 units additionally share an analogous ADC and timers, and a constant pinout configuration facilitates the transfer from one to the opposite.

First Steps

One of the simplest ways to begin experimenting with the STM32C0 is to get one of many improvement boards launched final January. The NUCLEO-C031C6 is a standard Nucleo-64 system with an Arduino Uno V3 connector to permit customers to stack growth playing cards. The STM32C0316-DK makes use of the identical STM32C031 gadget however in a bundle that comes with the STLINK-V3MINIE, the primary STLINK probe to make use of a USB-C port. The board additionally includes a DIP28 connector appropriate with the ATMEGA328 8-bit microcontroller. Curiously, the board may welcome STM32G0 units. It thus serves as a transition device emigrate to 32-bit purposes and extra simply experiment with a extra highly effective MCU.

Lastly, the STM32C0116-DK is a smaller platform that makes use of the STM32C011 in a DIL20 module so groups can take away and share the module from one board to the subsequent. ST is, due to this fact, providing a brand new strategy to prototyping to make workflows extra sensible by creating a transportable and interchangeable answer.

Learn the total article at https://weblog.st.com/stm32c0/


Leave a comment