STM32C0 series? - Page 1
Forum section: electronics / general

author: gamalot
author_rank: Super Contributor
timestamp: March 19, 2022, 08:21:04 pm
content: I upgraded STM32CubeMX to version 6.5 the other day, and I found a new STM32C0 series in the MCU list, the software package is also available for download, but I can't find any information about it. Does anyone know what's new in this series?

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: March 19, 2022, 08:30:31 pm
content: There's this PDF, which references an STM32C031, but it's in Chinese and I didn't bother to run it through a translator.http://mcu.eetrend.com/files/2022-02/wen_zhang_/100557944-243714-lat1102ceshistm32c031debootlockweiv2.pdfI'd assume it's some kind of variant of STM32G.

author: gamalot
author_rank: Super Contributor
timestamp: March 19, 2022, 09:00:33 pm
content: Quote from: Sal Ammoniac on March 19, 2022, 08:30:31 pmI saw this document when I googled it for the first time two days ago, Chinese is my native language, so I didn't have any difficulty reading it. Sadly, like you said, it's only about testing whether the new STM32C0 series has a certain flaw that existed in the old STM32G0 series, and doesn't mention why this new series exists for what purpose.

author: jaromir
author_rank: Unknown
timestamp: March 19, 2022, 09:09:20 pm
content: C0 Nucleo is coming -https://www.st.com/resource/en/data_brief/nucleo-f030r8.pdfNot much of details in it, but contains links to Nucleo board user manual as well as particular MCU product page, though both leading to Error 404 page at the moment.

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 19, 2022, 09:20:06 pm
content: Support for the STM32C0 series is mentioned in the release notes:https://www.st.com/resource/en/release_note/rn0094-stm32cubemx-release-650-stmicroelectronics.pdfCan also be found in a number of newer app notes (not just in chinese!), like:https://www.st.com/resource/en/application_note/cd00167594-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdfBut this series is not advertised anywhere on STM's website as of yet. From the codename we can assume it's probably based on a Cortex-M0+.

author: gamalot
author_rank: Super Contributor
timestamp: March 20, 2022, 11:51:40 am
content: It looks like the STM32C0 series means a low cost M0+, running at 48MHz, lower pin count, and less flash/SRAM.

author: uer166
author_rank: Super Contributor
timestamp: March 22, 2022, 08:10:12 am
content: It is indeed an 8-bit MCU killer. Think STM32G0 but even lower cost and less memory.

author: AndyC_772
author_rank: Super Contributor
timestamp: March 22, 2022, 11:13:42 am
content: ...and, if the rest of the STM32 range is anything to go by, completely unavailable to buy and therefore irrelevant unless you happen to work for a Tier 1 preferred customer.I wonder if it's actually just a die shrunk version of something that already exists, which customers will be gently persuaded to migrate to so ST can get more chips out of each wafer. Can't see any new product launches making sense otherwise until they get their absolutely dire supply situation under control.

author: DavidAlfa
author_rank: Super Contributor
timestamp: March 22, 2022, 11:14:51 am
content: I extracted the parametric data from CubeIde 1.9.0, here's thetable.They've made a SOIC-8 stm32

author: lucazader
author_rank: Regular Contributor
timestamp: March 22, 2022, 07:53:44 pm
content: The G0 Parts already had a soic-8 part IIRC.Yea these looks like a very small low cost micro.i think AndyC may be correct in thinking these may be a die shrink, or a new revision of either the G) or F0 line.It could also be something out of left feild and maybe be a M23 based part rather than an M0/M0+ part?

author: mon2
author_rank: Frequent Contributor
timestamp: March 22, 2022, 10:08:15 pm
content: @DavidAlfa,Quote

author: DavidAlfa
author_rank: Super Contributor
timestamp: March 23, 2022, 12:18:41 am
content: What? Not everyone has CubeIDE installed.So anyone could check the C0 device table easily

author: gamalot
author_rank: Super Contributor
timestamp: March 23, 2022, 06:29:09 am
content: Quote from: DavidAlfa on March 23, 2022, 12:18:41 amI use STM32CubeMX and people can't ignore the STM32C0 series at the top of the MCU list, which is why I started this thread. But other than that I can't find any more information, like if there are any new features in this series.

author: AndyC_772
author_rank: Super Contributor
timestamp: March 23, 2022, 07:08:16 am
content: 1.7 x 1.42mm ...? That whole device would fit in the space I'd use for a single test point.Crazy, yet at the same time, oddly compelling. I wonder where I could hide one?@DavidAlfa what's up with the ADC column (O)?

author: lucazader
author_rank: Regular Contributor
timestamp: March 23, 2022, 08:13:25 am
content: Finally updated the Cube on my local system.Does ineed look like an m0+.Interestingly the project doesnt seem to have an option to enable freertos. But in its place they seem to now have threadx.But i think by the looks of things they seem to have low power support baked into the rtos. So fingers crossed the low power impl is much better than the freertos impl

author: westfw
author_rank: Super Contributor
timestamp: March 23, 2022, 09:06:02 am
content: Could it be 5V, like the Atmel SAMC(and Microchip PIC32CM)?

author: DavidAlfa
author_rank: Super Contributor
timestamp: March 23, 2022, 09:09:05 am
content: Quote from: AndyC_772 on March 23, 2022, 07:08:16 amYou mean that one showing 15 ADC converters, right?I also noticed, not my fault, that table is generated by CubeMX (Export option).Knowing ST, there're lots of errors to fix

author: Jope
author_rank: Regular Contributor
timestamp: March 23, 2022, 09:40:38 am
content: Quote from: mon2 on March 22, 2022, 10:08:15 pmWhy the facepalm?

author: AndyC_772
author_rank: Super Contributor
timestamp: March 23, 2022, 11:12:11 am
content: Quote from: DavidAlfa on March 23, 2022, 09:09:05 amThat row, plus all the others showing 0 physical 12-bit ADCs but >0 ADC input channels. Either the chip does have an ADC, or the number of channels should be zero.Can't help but think the best feature this range could possibly have, would be stock @ Digi-key and Mouser

author: gamalot
author_rank: Super Contributor
timestamp: March 23, 2022, 11:42:38 am
content: Quote from: AndyC_772 on March 23, 2022, 11:12:11 amYes, there are a lot of contradictions in the data, you can even see they claiming that the STM32C011F6U6TR has a total of 15 built-in 12-bit ADCs.

author: gamalot
author_rank: Super Contributor
timestamp: March 23, 2022, 11:46:23 am
content: Quote from: westfw on March 23, 2022, 09:06:02 amIt would be very interesting if there is a series of STM32 that can work at 5V, unfortunately the data I have seen for the STM32C0 series are still 3.3V devices.

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 23, 2022, 06:36:55 pm
content: People seem to be liking speculation as of late.

author: AndyC_772
author_rank: Super Contributor
timestamp: March 23, 2022, 08:31:20 pm
content: *ALL* STM32's are vapourware right now. Speculation is all we have.

author: Scrts
author_rank: Frequent Contributor
timestamp: March 24, 2022, 08:00:37 pm
content: Quote from: westfw on March 23, 2022, 09:06:02 amMake something new on a decades old dead technology? Would be very odd...

author: thm_w
author_rank: Super Contributor
timestamp: March 24, 2022, 09:49:10 pm
content: Quote from: Scrts on March 24, 2022, 08:00:37 pmThere are just internal 3.3V regulators and lower core voltages, etc. inside. SAMC looks like it has a linear reg, but some ICs even have integrated DC/DC.It can be nice as you are able to run directly off of USB voltage. Or your system may have 5V peripherals, and then only one 5V regulator is needed for everything.

author: westfw
author_rank: Super Contributor
timestamp: March 25, 2022, 02:48:26 am
content: QuoteWell, yeah. But this whole "8 bit killer" marketplace doesn't seem so full of success, and I think part of that is the lack of 5V I/O support (note that most ARMs already have a lower "core" voltage than IO voltage.)(The other reason is the general lack of of a good library/sdk set for low-memory controllers.)

author: alpha-zero
author_rank: Newbie
timestamp: March 27, 2022, 02:06:06 pm
content: The C0 series seems to be quite similar to G0, M0+, but only up to 48Mhz and **FPU**

author: DavidAlfa
author_rank: Super Contributor
timestamp: March 28, 2022, 11:38:40 am
content: FPU on a entry-level targetted mcu? That's another level!

author: SiliconWizard
author_rank: Super Contributor
timestamp: March 28, 2022, 05:25:00 pm
content: Quote from: DavidAlfa on March 28, 2022, 11:38:40 amI'm curious to see that. Where did they get the info about the C0 series having a FPU?If it's indeed M0+-based as seems to be the case, that would be the first line of MCUs with a M0+ core and a FPU. That I know of, at least.

author: Monkeh
author_rank: Super Contributor
timestamp: March 28, 2022, 05:40:43 pm
content: Quote from: SiliconWizard on March 28, 2022, 05:25:00 pmI didn't think an FPU was an option on M0 or M0+ at all.

author: ataradov
author_rank: Super Contributor
timestamp: March 28, 2022, 05:57:02 pm
content: Quote from: westfw on March 23, 2022, 09:06:02 amC in this case standard for "Cortex", same way as "M" in PIC32Mxxx was for "MIPS", it is just a core type, and not related to the supply voltage directly, so I would not read too much into this.You can add an FPU as a peripheral, but that makes no sense to me. If you need floating point performance, you probably want fast integer performance too.There is probably no way to guess how "C0" is different unless some datasheet leaks.This article from October 2021 also mention it -https://community.st.com/s/article/what-are-the-preferred-ides-for-stm32-microcontrollers, and specificallyQuoteSo, Cortex-M0+ is a safe bet.

author: uer166
author_rank: Super Contributor
timestamp: March 29, 2022, 05:19:23 am
content: Not sure where the FPU thing came up, this series has absolutely no FPU.With these kind of chips for me the biggest challenge is how to share SWD/GPIOs/other interfaces in a safe manner such that 2 or 3 pins are not wasted on SWD

author: PatocheHAM
author_rank: Newbie
timestamp: April 08, 2022, 03:32:05 pm
content: A bit premature to tell.One thing I can reveal though " Your new 8-bit MCU, is not an 8-Bit MCU"Stay Tuned.Pat

author: PatocheHAM
author_rank: Newbie
timestamp: April 08, 2022, 03:51:33 pm
content: If you look of the STM32xnnn P/N scheme. the letter "x" indicates the various series. On cortex M0/M0+ General purpose devices , there is the "F", is was the first of its kind. the "L" for Utra low power", the "G" as the second generation of the "F" and soon the "C"If we want to assign a meaning to "C" .. Cost , Cheap, Cool ?? you can pick what you wantPat

author: PatocheHAM
author_rank: Newbie
timestamp: April 08, 2022, 04:05:52 pm
content: Quote from: westfw on March 25, 2022, 02:48:26 am8-bit killer ..... 8-bit replacement is in fact on going. It was a matter of Price point and old habits. The internal Bus size is not relevent to the user I guess.Now let's imagine a product as advanced and deployed as the STM32 is. With very good price point with a very basic architecture similar to 8-bit.. It may eventually be a breakthrough. ...mmm let see.

author: PatocheHAM
author_rank: Newbie
timestamp: April 08, 2022, 04:07:19 pm
content: Quote from: uer166 on March 29, 2022, 05:19:23 am***FPU**That's a typo for sure.Mayyybeeee MPU instead. like Memory Protection Unit ?? why not, it could be a cool stuff rightModify message

author: ataradov
author_rank: Super Contributor
timestamp: April 08, 2022, 04:07:36 pm
content: 32-bit MCUs are already massively cheaper than 8-bit MCUs. The only way you can move 8-bit people to 32 bits is if you dumb down all the peripherals to the 8-bit level. But that does not seem like a good idea.There is no point in speaking in riddles, if you can't openly say what it is, we'll just wait until we can. This is not a TV show, we don't need vague hype.

author: SiliconWizard
author_rank: Super Contributor
timestamp: April 08, 2022, 05:28:38 pm
content: Quote from: PatocheHAM on April 08, 2022, 04:07:19 pmThe M0+ has an optional MPU, so this could be the case indeed.

author: ataradov
author_rank: Super Contributor
timestamp: April 08, 2022, 05:55:09 pm
content: MPU alone is not enough to justify a separate series. It is a very marginal and mostly useless thing. If it comes for free - nice, but I can't remember a single instance where not having an MPU was a deal breaker.

author: gamalot
author_rank: Super Contributor
timestamp: April 08, 2022, 06:29:21 pm
content: Just found some technical documents about the STM32C0 discovery board on a Chinese website:www.stmcu.com.cn

author: gamalot
author_rank: Super Contributor
timestamp: April 08, 2022, 06:34:09 pm
content: one more file

author: gamalot
author_rank: Super Contributor
timestamp: April 08, 2022, 06:35:47 pm
content: last one!

author: ataradov
author_rank: Super Contributor
timestamp: April 08, 2022, 08:40:05 pm
content: "The DIP28 pinout is designed to be as compatible as possible with the ATMEGA328 8‐bit microcontroller." This is like board vendors putting shield connectors on all kits. I have never seen anyone actually use them for anything. The attractive part of the Arduino is not connectors or the MCU, it is the firmware ecosystem. And I'm thinking ST is not going to do much work there, and tell the story how Cube is better.It looks like a 5V I/O device. Pretty pointless if you ask me. If it is extremely cheap, there would be uses, but if it costs as much as comparable devices, seems strange to me to bring such a device to market.

author: JPortici
author_rank: Super Contributor
timestamp: April 08, 2022, 08:54:26 pm
content: Quote from: ataradov on April 08, 2022, 08:40:05 pmI like 5V IO. More often than not it spares me the pain of having to use mosfet drivers or level translator, since most of the electronics i interface with is still 5V and will be for years to come.Also one of the reasons i still use 8bit PIC: 5V ADC, 5V PWM, simple to program yet powerful, cheap, can reuse 99.9% of the code if i migrate design to other families.I wonder if they will do 5V IO+USB? Is it there on the documents?

author: ataradov
author_rank: Super Contributor
timestamp: April 08, 2022, 08:58:02 pm
content: Just reading the tea leaves of the user manuals for the boards - it looks like it still needs 3.3 V, so it is possible that it is either 5V tolerant only, or only some pins are 5V and 3.3 V is still necessary. It might have internal regulator for the USB, of course.A lot of the things on the board still seem to be referenced to the 3.3 V supply. For example joystick is read via a resistive divider and an ADC channel, and the 1.0 ratio is shown to be 3.3 V. May be just the way board is designed, of course.My issue with dedicated 5V devices if that you are limiting yourself to a very narrow selection. So, in a long run it is better to transition to 3.3 V logic. There is a place for 5 V, of course, but for general applications, I'd stay away from it.

author: thm_w
author_rank: Super Contributor
timestamp: April 08, 2022, 10:03:04 pm
content: Quote from: ataradov on April 08, 2022, 08:40:05 pmThey probably thought Atmega's would go completely out of stock during the shortage, so they spun this up as an idea to capture the marketshare.Shields I've never personally used, but, there is a lot of value in having a standardized pinout. Also having lots of pin headers is never bad on a dev board.https://www.google.com/search?q=nucleo+shieldQuote from: ataradov on April 08, 2022, 04:07:36 pmSome are some aren't, the cheapest MCUs are 8-bit Padauks right.

author: ataradov
author_rank: Super Contributor
timestamp: April 08, 2022, 10:33:23 pm
content: Quote from: thm_w on April 08, 2022, 10:03:04 pmFor the same general performance and peripheral set, 32-bits are almost universally cheaper.Sure, there are some very low-end 8-bitters, but 32-bit does not even cover that part of the market, sine the whole MCU there is cheaper than ARM license fee.

author: SiliconWizard
author_rank: Super Contributor
timestamp: April 09, 2022, 12:33:42 am
content: Well, it's a question of market. But also die size. 8-bit MCUs take up much less die area for the logic part, but is that necessarily always a benefit? For the older/larger node sizes, sure. But if you wanna use any more recent and finer node size, then an 8-bitter becomes rapidly pad-limited, meaning that unless it has very, very few IOs, or you have like a multi-core chip with a number of cores (but I haven't seen vendors taking this path really), then a given die would essentially be empty, most of the area being defined by the pads. Which is pretty wasteful. So 8-bitters have become kinda niche - partly because they have lower performance, but even if the performance is adequate for some applications, then you have this factor that you become essentially stuck with older process nodes, or the chip becomes absolutely not competitive cost-wise.

author: JPortici
author_rank: Super Contributor
timestamp: April 09, 2022, 03:57:05 pm
content: Quote from: ataradov on April 08, 2022, 08:58:02 pmEverything in a car's trunk is still either 12V power or 5V signalI do use 3V3 when i can but just doing small board with dual power supply because interfaces are at 5V and logic is at 3V is a major pain. You would think there would be many LDOs with dual ouput, 5V and 3V3, pretty easy to do and yet almost zero parts and i have to use two LDOs... I welcome advanced parts with 5V IO

author: JPortici
author_rank: Super Contributor
timestamp: April 09, 2022, 03:59:33 pm
content: Quote from: thm_w on April 08, 2022, 10:03:04 pmI do like the fact that i can move up/down the line in microchip parts with no redesigns, the same pinout (or with minor differences like a VDD pin becoming a GPIO with zero alternate functions) is used across most 8bit/16it and some 32bit parts. I welcome standardised pinouts (i was thinking of replacing a MHCP part with an atmel part that had almost the same pinout but swapped USB pins. SWAPPED. ugh

author: ataradov
author_rank: Super Contributor
timestamp: April 09, 2022, 05:17:31 pm
content: Quote from: JPortici on April 09, 2022, 03:57:05 pmBut you never connect MCU directly to the car's system. In most cases you need a transceiver (CAN/LIN) anyway. The number of typical I/O is typically very low, and even if you have to put level shifters there, it always offsets the cost of finding other 5V components. MCU is not the only things in the system. So, one way or the other you would have to level shift something.5V logic was often used to improve noise immunity, but with improvement in design techniques this is not a factor anymore.I review a lot of automotive designs, absolute majority is based on the 3.3V logic.

author: JPortici
author_rank: Super Contributor
timestamp: April 12, 2022, 05:24:09 am
content: I interface directly with sensors and actuators. 3V3 designs cost me around 20% more than a 5V design, if the 5V design is possible EG the combination of peripherals and comms are available in a 5V microcontroller, usually it is (dsPIC33EV series). The savings (if any) from the 3V3 microcontroller are canceled out by increased costs due to more components - as in more BOM lines-, more silicon (such as the additional regulator, the additional mosfet drivers if i can't directly drive low side mosfets anymore) and the increased board space.

author: PatocheHAM
author_rank: Newbie
timestamp: April 12, 2022, 05:52:31 am
content: Delivering both, automotive and non automotive MCUs, I can say that Automotive is still using by far 5V MCUs. It may eventually depends on the usage.Car body are 5V definitly, mainly for legacy and BOM cost reasons. In some case when displays are present, 3.3V supply are existing and therfore a 3.3V device with 5V compatible I/Os will be acceptable.For after market devices that won't require AEC-Q100 and the car makers guarantees, we see 3.3V devices with aven non-auto grade components.

author: PatocheHAM
author_rank: Newbie
timestamp: April 12, 2022, 06:05:48 am
content: Quote from: JPortici on April 09, 2022, 03:59:33 pmThis is the idea with the STM32C0. The pinout compatibility with the STM32G0 ( going form 16K Flash to 512KB) is granted. therefore for basic applications the STM32C0 will stretch the ST cortex M0 offer down to the level of the cheapest 8-bit devices (e.g. the STM8). I cannot tell much as the device is not officially released. But the STM32 users will be able to keep their developments environment and software libraries for small applications.Any questions?

author: uer166
author_rank: Super Contributor
timestamp: April 12, 2022, 06:35:31 am
content: Quote from: PatocheHAM on April 12, 2022, 05:52:31 amThat is indeed still the case, surprisingly. Most body controllers I've seen in the latest and greatest EVs are SPC5 series, 3-5V range. ST just released a new series, Stellar, with Cortex-R and a Cortex-M7, seems to be direct competition to some TMS320 jobs, not sure if they finally dropped the 5V on those but the chips sure do look cool.

author: AndyC_772
author_rank: Super Contributor
timestamp: April 12, 2022, 08:18:04 am
content: Oh, please tell me these parts can replace dsPIC33EV, you'll make my day.150C temperature rating and 5V I/O? Pretty please?

author: Scrts
author_rank: Frequent Contributor
timestamp: April 12, 2022, 06:28:17 pm
content: Quote from: AndyC_772 on April 12, 2022, 08:18:04 amLook up Renesas RH850 and FL78, but not sure about their stock either...

author: PatocheHAM
author_rank: Newbie
timestamp: April 13, 2022, 05:26:52 am
content: Quote from: Scrts on April 12, 2022, 06:28:17 pmThe mission profile of the STM32C0 is Consumer / Industrial. not automotive. the spec max will reach 125°C TA . FOr 150dgC I suggest to check either the STM8A (but It may not repalce the dsPIC33.) you may wan to check the MCU auto portfolio of ST. STPC56.

author: alpha-zero
author_rank: Newbie
timestamp: April 17, 2022, 08:28:40 pm
content: From STM32C031.svd:<name>STM32C031</name><version>0.2</version><description>STM32C031</description><cpu><name>CM0</name><revision>r0p0</revision><endian>little</endian><mpuPresent>true</mpuPresent><fpuPresent>true</fpuPresent><nvicPrioBits>4</nvicPrioBits><vendorSystickConfig>false</vendorSystickConfig></cpu>

author: ataradov
author_rank: Super Contributor
timestamp: April 17, 2022, 08:43:37 pm
content: This is just an invalid SVD file, not that anyone really cares, half the stuff in SVD files is junk that is ignored by most implementations. They may have some FPU, may be on the IOBUS or just as a peripheral. But it is not correct to mark it using this field.Here is how it is described in the SWD doceumentation: "Indicate whether the processor is equipped with a hardware floating point unit (FPU). Cortex-M4, Cortex-M7, Cortex-M33 and Cortex-M35P are the only available Cortex-M processor with an optional FPU."This list is missing Cortex-M55, but Cortex-M0+ is definitely not there.

author: thm_w
author_rank: Super Contributor
timestamp: January 14, 2023, 12:00:35 am
content: Pages are all up now:https://www.st.com/en/microcontrollers-microprocessors/stm32c0-series.htmlhttps://www.cnx-software.com/2023/01/13/low-cost-stm32c0-32-bit-microcontroller-aims-to-displace-8-bit-mcus/"consistent pinout with G0, same IP platform"3.3V, 2.5MSPS ADC.Seems like a near pointless marketing extension of G0.In terms of st estore pricing:-STM32C011is $1.01- STM32G050 $1.24- STM32F030 $1.11Although these prices are inflated as you can get F0/G0 from LCSC for <50c each.So should indicate a ~10% price reduction in bulk volumes.

author: ataradov
author_rank: Super Contributor
timestamp: January 14, 2023, 12:17:46 am
content: Just 5V tolerant and not even for all I/Os. It is good to have more options, but there is nothing that really stands out here. Not sure why they needed a separate series for that.The datasheet from Mouser has "ST RESTRICTED – SUBJECT TO NON-DISCLOSURE AGREEMENT – DO NOT COPY" all over it. LOL.

author: uer166
author_rank: Super Contributor
timestamp: January 14, 2023, 12:24:22 am
content: Quote from: ataradov on January 14, 2023, 12:17:46 amThis series is explicitly to replace 8-bitters, these parts are supposedly noticeably lower cost than any other STM32, but you'll probably only care if you're buying in the millions.

author: ataradov
author_rank: Super Contributor
timestamp: January 14, 2023, 12:50:28 am
content: But G0 series did the same exact thing. There may be some further price reduction, but I really don't see why this could not have been done within G0 series. This C0 just creates more confusion.

author: uer166
author_rank: Super Contributor
timestamp: January 14, 2023, 01:14:20 am
content: Quote from: ataradov on January 14, 2023, 12:50:28 amG0 has some decent analog features, maybe they want to differentiate their analogey G-series (I know I personally associate it with true mixed signal), from a bottom-of-the-barrel MCU.

author: PCB.Wiz
author_rank: Super Contributor
timestamp: January 14, 2023, 01:58:31 am
content: Quote from: thm_w on January 14, 2023, 12:00:35 amQuote from: ataradov on January 14, 2023, 12:50:28 amYes, the visible prices are not low cost at all, and their decision to release a new low pin part,without wide Vccis very strange, given almost everyone else releasing 8~20 pin partschasing 8-bit displacement, is doing 1.8~5.5 range parts.It's not even especially low power, it saysStop mode In Stop mode, the device achieves the lowest power consumption while retaining the SRAM and register contentsMost Stop Mode values are <110uA at 25C and <1.1mA (!) at 125'CThe two lower power modes than that, lose information.The lowest power Shutdown mode works like a CMOS switch in the power rail, so MCU restarts.

author: I wanted a rude username
author_rank: Frequent Contributor
timestamp: January 14, 2023, 02:55:07 am
content: Quote from: thm_w on January 14, 2023, 12:00:35 amIt's different enough to warrant its own letter. For example the clock is HSI48, which means you don't get much benefit running it at 16 MHz like you do with the L0 and G0 with their HSI16. It's a cost-optimised 8-bit-killer, just as ST say it is.

author: tim_
author_rank: Regular Contributor
timestamp: January 14, 2023, 05:22:34 am
content: Quote from: ataradov on January 14, 2023, 12:17:46 amIf you look at the size of the WLCSP products to the STM32G you can see that the die size of the comparable STM32C is significantly smaller (4mm² vs 2.4mm²), while using the same 90nm technology. So removing periphery and possibly optimizing layout more is basically a huge cost reduction. The purpose of the device is as stated - compete with 8bit in price. It's a STM8S killer.

author: westfw
author_rank: Super Contributor
timestamp: January 14, 2023, 07:35:13 am
content: QuoteIt looks to me like all the I/Os are 5V tolerant. They've got designations for non-5vT pins, but all the actual pins are marked as "FT" (except RESET?)Trying for name similarity to Microchip's SAMCand PIC32Cproduct lines? (although IIRC both of those have actual 5V operation.)

author: ataradov
author_rank: Super Contributor
timestamp: January 14, 2023, 07:41:31 am
content: PIC32C has nothing to do with voltage tolerance. "C" stands for "Cortex-M" here. There are a ton of 3.3V-only devices in PIC32C series and all Cortex-M devices would be PIC32C. PIC32CM MC are 5V capable because they are essentially SAM C devices with minimal improvements.Their wording implies that not all pins are tolerant, so may be they expect higher pin count devices. But this is not all that important. In a lot of cases where you need 5V operation simply being tolerant is not enough. It might work as a transition device, I guess.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 14, 2023, 06:58:57 pm
content: Note that the C0 series has pretty small flash size, and given the bloat of the HAL, using it with the C0 is probably going to be funny. For those who can't live without the HAL.

author: DavidAlfa
author_rank: Super Contributor
timestamp: January 14, 2023, 07:13:02 pm
content: The HAL problem is really withthe RAM, with all those handlers.It's pretty obvious you'll have to use LL with small devices.Not that hard since their peripherals are usually way simpler than say H7 series.

author: ataradov
author_rank: Super Contributor
timestamp: January 14, 2023, 07:14:55 pm
content: And people transitioning from STM8 have to be used to that anyway.

author: cv007
author_rank: Frequent Contributor
timestamp: January 16, 2023, 01:21:12 pm
content: QuoteA number of peripherals already go missing depending on which G0 you are talking about, so you do not get DAC/COMP/RNG/AES/etc for a G031, and a G030 will be even more bare bones. Pretty hard to use a generic reference to a G series when the whole line of G may differ quite a bit, and seems to be the case with many of their series.

author: thm_w
author_rank: Super Contributor
timestamp: January 16, 2023, 10:41:46 pm
content: Quote from: I wanted a rude username on January 14, 2023, 02:55:07 amI'll believe it when I see it, right now no one is going to be replacing a <15c STM8 with a $1 C0.Looks like its being discussed in the 10c WCH RISCV thread:https://www.eevblog.com/forum/microcontrollers/wch-$0-10-risc-v-mcu/125/There is also the PUYA <10c ARM ICs as well:https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_PUYA-PY32F002AA15M6TU_C5292058.html

author: IOsetting
author_rank: Regular Contributor
timestamp: January 17, 2023, 10:21:09 am
content: Quote from: thm_w on January 16, 2023, 10:41:46 pmFYI... PY32F002Ax5 actually have 32 KB of flash and 4KB of RAM available. (They are, in good chance, PY32F030 parts remarked as PY32F002A for inventory reasons.)piotr_go of elektrodafound the bonus resources on his PY32F002AA15M6TU. Last weekend I tested the newly bought PY32F002AF15P (TSSOP20 package), also confirmed the existence of 32KF, 4KR, PLL and DMA.

author: DavidAlfa
author_rank: Super Contributor
timestamp: January 17, 2023, 10:31:12 am
content: Interesting! Can be programmed with STlink or use some special flash algorithm?

author: IOsetting
author_rank: Regular Contributor
timestamp: January 17, 2023, 10:37:37 am
content: Quote from: DavidAlfa on January 17, 2023, 10:31:12 amPartly yes, JLink and DAPLink(PyOCD) work, but STLink not.

author: piotr_go
author_rank: Contributor
timestamp: January 18, 2023, 08:54:28 pm
content: Quote from: DavidAlfa on January 17, 2023, 10:31:12 amST-LINK v2 converted to J-Link. Just put Vendor="ST" in "JLinkDevices.xml"https://www.elektroda.com/rtvforum/topic3946116.html