2023-02-11 04:12 PM - edited 2024-03-14 07:15 AM
As said, the 'C0 is mostly a cut-down 'G0. Let's now put aside the "is it a true STM8 replacement" and the price-related discussion, let's just have a look at what we can and what we can't find in these chips. I had a look at the DS and RM and here are some random findings:
Comments, please.
JW
2023-02-13 01:59 AM
Hello Jan,
I take good note of your comments. Particularly the Analog portion regarding DAC and Comparators. The analog IPs are generally costly in size and we have chosen to remove them knowing the bridge we are offering with the STM32G0 in which you can find a full set of those.
8-bit with Analog content are expensive, generally more expensive than STM32G0. We made the C0&G0 upward compatible in order for developers to add these features at will.
Thank you by the way for your detailed analysis. I will keep the "*USART/ Kitchensink mode" in our roadmap ;)
2023-02-14 02:12 AM
Hi @Patrice HAMARD ,
Thanks for the comments.
> The analog IPs are generally costly in size
Just to have some actual data points:
The STM8L152 buys against the STM8L052 not just 2xDAC and COMP, but also TOUCH. IMO there are applications where the cca 45cents price difference is worth it. I'm not sure the 'C0 vs. 'G0 price will get down to 45 cents, especially since the "smallest" 'G0 with DAC has extra features which may be useless for those lowest-end applications.
Speaking of STM8L152 vs. STM8L052 maybe analog is not THAT useful in the low-end applications, but touch IMO may be.
> I will keep the "*USART/ Kitchensink mode" in our roadmap ;)
:D
... but please don't. The feature creep we see in STM32 peripherals generally has IMO returns diminished already to almost zero, and there are more potential gains from rethinking the peripherals and their interconnections. For example, the often requested UART timeout, rather than adding it as a feature to UART, is better solved by interconnecting UART RXNE as an optional input to the general-purpose timers. There are many similar examples, e.g. connecting SPI clocks to TIM outputs. It just requires to listen to feedback from actual users, e.g. here on the forum, would it be properly functional.
JW
PS. I've forgotten - added above to the list - the RTC, which IMO is entirely redundant in a baseline mcu, if there's no VBAT, easily replaceable by a general-purpose TIM - so that's maybe something to contemplate for the next iteration of the lowest-end?
2023-02-16 03:13 AM
Hi Jan,
Thanks for your post and for taking time to report this with many details.
I raised your feedback internally with the appropriate team for review.
Imen
2023-02-16 07:09 AM
The team is surely thrilled to review my review :)
Thanks, Imen!
Jan
@Imen DAHMEN