I recall every week there is at least one person reporting bugs created by Cube MX.
Its not that bad..
This is one of most important things to me. That any port /peripheral / analog signal can be routed to any device pin. And that one peripheral output (for example timer pwm) can be routed to multiple device output pins. Didn't found vendor that support this on Cortex M0 / M0+ / M3 / M4 devices.
NXP does on their LPC1500 series. Then again being able to route pins to any I/O is highly overrated.
The pins which belong together are usually grouped anyway so if you think a bit about the PCB layout while drawing the schematic you can come up with a good component placement and thus easely routable PCB design.
Another important factor are "pin routing ability" PIC24 excels STM32 in many cases for instance, even the F0 is quite crap at this. Just my 1/2 cent!
This is one of most important things to me. That any port /peripheral / analog signal can be routed to any device pin. And that one peripheral output (for example timer pwm) can be routed to multiple device output pins. Didn't found vendor that support this on Cortex M0 / M0+ / M3 / M4 devices.
Another important factor are "pin routing ability" PIC24 excels STM32 in many cases for instance, even the F0 is quite crap at this. Just my 1/2 cent!
Unfortunately with STM32 thats not the case, many peripherals are spread out on all the sides just inviting for cross-talks and problematic layouts.
Some of the more recent PIC8s ( e.g. 16F153xx) can also route any peripheral function to any pin
Another nice piece of info to have with these micro comparisons, is the source/sink current per pin and totals.
Hey everyone! I'm reviewing $1 (@ 100 QTY) general-purpose 8/16/32-bit MCUs from a wide range of vendors
Since you mentioned STC, the STC15W100 I’m SO-8 is close to 10 US cents each (12?)
Really amazing review, I'm in awe of the amount of work you put into it! Definitely a resource I will recommend to others.Since you mentioned STC, the STC15W100 I’m SO-8 is close to 10 US cents each (12?)
Is it? On taobao I'm seeing pricing between 1.2-2RMB (indicative of course, but works as a first approximation).
Nuvoton N76E003AT20, a part pin-compatible to the stm8s003f3p6, is showing for 0.76-1RMB (I just asked one of the shop keepers, they're fine with selling 10 at 0.76RMB, around $0.11 currently... 9 for $1 ).
Really amazing review, I'm in awe of the amount of work you put into it! Definitely a resource I will recommend to others.Since you mentioned STC, the STC15W100 I’m SO-8 is close to 10 US cents each (12?)
Is it? On taobao I'm seeing pricing between 1.2-2RMB (indicative of course, but works as a first approximation).
Nuvoton N76E003AT20, a part pin-compatible to the stm8s003f3p6, is showing for 0.76-1RMB (I just asked one of the shop keepers, they're fine with selling 10 at 0.76RMB, around $0.11 currently... 9 for $1 ).
Actually I have to take that back... the shop was gaming the taobao search by applying a discount on single quantities, which reduces the more you buy. I think that's the first time I've seen a negative quantity discount 10 pieces ended up costing 1.07RMB each. 1 would have been 0.76.
Also, don't forget those Taiwanese OTP MCUs targeting white appliances. Some Holtek and Elan MCUs may be down to a few cents.
Those unpackaged OTP bare dice may be even cheaper (the ones found in Chinese toys).
They typically require NDA and expensive compiler software and programmer hardware, but running cost for mass production is super ultra cheap.
The Renesas RL-78 is one of the best MCUs in this price range (considering performance and power consumption), has fantastic free dev tools, and it's virtually unheard of in the U.S.But if you do have a problem, good luck getting any support. Manufacturer will not respond unless you are buying millions, and there is no public support, since nobody uses them in hobby and small scale projects.
Also, don't forget those Taiwanese OTP MCUs targeting white appliances. Some Holtek and Elan MCUs may be down to a few cents.
Those unpackaged OTP bare dice may be even cheaper (the ones found in Chinese toys).
They typically require NDA and expensive compiler software and programmer hardware, but running cost for mass production is super ultra cheap.
Also, don't forget those Taiwanese OTP MCUs targeting white appliances. Some Holtek and Elan MCUs may be down to a few cents.
Those unpackaged OTP bare dice may be even cheaper (the ones found in Chinese toys).
They typically require NDA and expensive compiler software and programmer hardware, but running cost for mass production is super ultra cheap.Expensive compiler software and programmer hardware is an interesting industry dynamic. When the required tools are rather expensive they are such an impediment to sales that they typically get "loaned" to serious high volume developers. Of course, their useful life is not that great, as the target devices become obsolete quite quickly, so the "loaned" items never really go back to the vendor at the end of projects. For the developer, those "expensive" tools cost less than a simple JTAG gadget for programming a flash MCU.
I'm currently trying to resist buying a bunch of < $0.25 Freescale S09 chips that Newark is flushing... Sigh.
Quotetrying to resist buying a bunch of < $0.25 Freescale S09 chips that Newark is flushing.What are those? And how do you program them?
QuoteQuotetrying to resist buying a bunch of < $0.25 Freescale S09 chips that Newark is flushing.What are those? And how do you program them?
Oh, like ($0.05): http://www.newark.com/nxp/mc9rs08kb2csc/microcontroller-mcu-8-bit-rs08/dp/29R0568
Or ($0.08): http://www.newark.com/nxp/mc9s08qd4msc/microcontroller-mcu-8-bit-s08/dp/22M5768
(There are more <$0.20, but the "sort" function doesn't recognize "special" prices...)
If I understand the history right, the HC08 is an enhancement of the old 6805 (which was a "microcontroller oriented) 6800?), the S08 is a modernized version of that, and the RS08 is a "reduced" S08 (rather unpleasantly: looks like 1 level of subroutine "stack"!) They're 8-bit accumulator/memory architecture with index register; rather CISCy. You can still download free "Codewarrior for microcontrollers" that has "unlimited assembler" and "C compiler with irrelevant restrictions for those chips" (though I'm not sure how that'd work for the RS08!)
Something like "high voltage serial programmer" and or "Background Debug Mode" (both documented and with some Open Source implementations.)
While accumulator architectures are out-of-style, the old motorola implementations were supposed to be "pretty good", and these aren't yet actually "discontinued" (though they're not too cheap "normally"), so you could do worse in a search for ultra-cheap jellybean microcontrollers for trivial applications. (And I have. Anybody want some OTP Toshiba 4-bit microcontrollers? :-( The whole "these things can't be THAT hard to use" feeling is an illusion. Thus my attempt to "resist.")