Author Topic: Chinese microcontrollers worth considering  (Read 7318 times)

0 Members and 1 Guest are viewing this topic.

Offline dimbmwTopic starter

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Chinese microcontrollers worth considering
« on: June 08, 2022, 01:40:05 am »
Hi everyone
I am seeing plenty of Chinese microcontrollers lately.
I am wondering if there are ones that are worth considering, in terms of the quality, reliability of the vendor, availability pf documentation, and compiler’s support.
Maybe there is some online resource to study Chinese uC manufacturers and their products with cross reference with well known western uC lines line msp430, atmel etc…
Thank you for sharing the info!

 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3321
  • Country: nl
Re: Chinese microcontrollers worth considering
« Reply #1 on: June 08, 2022, 03:33:35 am »
There are plenty of STM32 clones, and LCSC has the datasheets for at least 8 of them.

Gigadevices makes both STM32 clones and uC's with a RISC-V core, but otherwise mostly the same peripherals.

I know a clone of the ATMega328 exists.(LGT8F328P) It apparently has "improved peripherals",  but don't know much more about it.

"W806" pops up a bunch of sellers with some purple PCB, but I don't know what's on it. Some Ali shops claim it's an STM32 (clone).
« Last Edit: June 08, 2022, 03:41:15 am by Doctorandus_P »
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3623
  • Country: nl
Re: Chinese microcontrollers worth considering
« Reply #2 on: June 08, 2022, 04:52:38 am »
"W806" pops up a bunch of sellers with some purple PCB, but I don't know what's on it. Some Ali shops claim it's an STM32 (clone).

I have seen these W80X devices too and looked around for data on them but could not find much and certainly not in English so decided to pass on these.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: Chinese microcontrollers worth considering
« Reply #3 on: June 08, 2022, 05:13:54 am »
Megawin Tech catalog is small, but has some 32F10x Cortex-M3 mcus under $2, almost $1 buying 1000.

The english version also has translated datasheets, but for some reason the M3 aren't there, only the M0.

MG32F103CBT6
72MHz, 28KB SRAM, 128KB FLASH
Datasheet, sdk, specs (Chinese)

Edit:
Found M3 english datasheets and a lot of stuff here
« Last Edit: June 08, 2022, 06:03:38 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: josip

Offline GromBeestje

  • Frequent Contributor
  • **
  • Posts: 276
  • Country: nl
Re: Chinese microcontrollers worth considering
« Reply #4 on: June 08, 2022, 09:02:19 am »
If you go to the Chinese part of the site and download the DK ( MG32F10x_DK_v1.04.zip ), it contains the English Reference Manual.

If you are interested into RISC-V, you might want to look at what WinChipHead has to offer. Their CH32V series (eg. CH32V103C8T6 is pin compatible with ST's chip) But one thing to note, it's not using standard debugger interfaces, you need their debugging probe and openocd. Better build it from source, ( https://github.com/newbrain/riscv-openocd-wch ) as their binary is outdated.

For the WinnerMicro W80X, well, C-SKY architecture. The toolchain is no problem, GCC, binutils, newlib, gdb, Your standard GNU toolchain. But the toolchain ain't enough, you need to connect to your chip to debug it. And how to do that? I've found no documentation describing that step. There are these CK-LINK Lite on AliExpress, but I am not sure if this is the appropriate debugger probe for this thing, or what software goes with it.

Anyhow, Chinese 32F103 chips, I've tested some in the past, and I will do some more testing soon. (I've ordered some that are currently offered, waiting for them to be delivered.)
 

Offline Canis Dirus Leidy

  • Regular Contributor
  • *
  • Posts: 214
  • Country: ru
Re: Chinese microcontrollers worth considering
« Reply #5 on: June 08, 2022, 09:18:33 am »
STC Micro makes a bunch of MCUs with 1T 8051 core that have some English documentation and can be flashed with built-in bootloader (by official STC-ISP utility or third party tools like stcgal and stc8prog).
 
WCH, AKA "Nanjing Qinheng Microelectronics Co., Ltd.". Makes a lot of MCUs with 8051, Cortex-M and RISC-V cores, but they don't bother about (officially) translating documentation from Chinese and demonstrate an unhealthy desire to vendor lock everything they can (For example: their CH32V chips use undocumented debug protocol, for which you need proprietary debug adapter and OpenOCD fork).

"W806" pops up a bunch of sellers with some purple PCB, but I don't know what's on it. Some Ali shops claim it's an STM32 (clone).
W806 (and W801) architecture have nothing to do with ARM in general and STM32 in particular: https://www.eevblog.com/forum/microcontrollers/hlk-w806-what-is-this-mistery-very-cheap-and-powerfull-cpu
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3623
  • Country: nl
Re: Chinese microcontrollers worth considering
« Reply #6 on: June 08, 2022, 10:57:30 am »
W806 (and W801) architecture have nothing to do with ARM in general and STM32 in particular: https://www.eevblog.com/forum/microcontrollers/hlk-w806-what-is-this-mistery-very-cheap-and-powerfull-cpu/

Your link was missing the last slash. Updated above.

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1473
  • Country: au
Re: Chinese microcontrollers worth considering
« Reply #7 on: June 09, 2022, 04:22:23 am »
Megawin Tech catalog is small, but has some 32F10x Cortex-M3 mcus under $2, almost $1 buying 1000.

Yes, and they also have 8 bit MCUs, from 34c/100+ at LCSC, who show 66 part codes from megawin.
Their latest 8 bit MCUs have 144MHz PWM support.

STC Micro makes a bunch of MCUs with 1T 8051 core that have some English documentation and can be flashed with built-in bootloader (by official STC-ISP utility or third party tools like stcgal and stc8prog).


STC have also just released early silicon for their 32 bit 8051 'STC32G' and they have ARM models coming too, (STC32M)  so they seem to want to cover all permutations here, but have chosen some confusing part code overlaps here..

LCSC shows 218 part codes from STC  https://lcsc.com/products/Microcontroller-Units-MCUs-MPUs-SOCs_11329.html?keyword=stc

8 bit models start ~30c/100+

LCSC show stocks of 4 packages of STC32G12K128-Beta-   ($1.06/100+)   - even DIP40, as they seem to want socket retrofits in schools and colleges !
The TQFP32 package is a lot of resource in an easy to apply package.


 

Online DiTBho

  • Super Contributor
  • ***
  • Posts: 3796
  • Country: gb
Re: Chinese microcontrollers worth considering
« Reply #8 on: June 09, 2022, 06:41:27 am »
There are also a lot of "OR1" chips around, manufactured in China.

My HDMI video grabber is an example. It has an OR1 CPU @ 800Mhz coupled with an H264 encoder and a USB3 engine, all in one chip.

I bought it because I tried to hack when I was wondering if I would then find an ARM? MIPS? RISC-V? processor. No dice, I found it's "OR1"! Wait what? "OR" stands for "OpenRisc", a crappy RISC design with so many hardware bugs that you have to hack the toolchain to hack the tools of what you intend to hack.

hack(hack(...)), what is this? type of recursive hack?  :o :o :o

To save myself the day I stated that I lost 100% interest in that damn thing I parked on eBay for a couple of pennies

A couple of pennies can really lift values, here, at least because it saves you from that crazy stuff. I don't blame Chinese for that, just I don't understand companies like Allwinner when they deliberately use bugged OR1 design (and they know it has bugs) as co-processor for their Linux SoCs.

I am talking about the thermal unit controller used in Allwinner H3-H5 SoCs: if you don't want to go nuts with all its hardware bugs, you better turn it off, and keep the core frequency as low as possible (600Mhz instead of 1.2Ghz boost-speed), so they don't heat up. You lose performance, but at least your SoC doesn't burn out.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 3997
  • Country: nz
Re: Chinese microcontrollers worth considering
« Reply #9 on: June 09, 2022, 09:23:01 am »
There are also a lot of "OR1" chips around, manufactured in China.

My HDMI video grabber is an example. It has an OR1 CPU @ 800Mhz coupled with an H264 encoder and a USB3 engine, all in one chip.

I bought it because I tried to hack when I was wondering if I would then find an ARM? MIPS? RISC-V? processor. No dice, I found it's "OR1"! Wait what? "OR" stands for "OpenRisc", a crappy RISC design with so many hardware bugs that you have to hack the toolchain to hack the tools of what you intend to hack.

Ohhhh! or1k ! The ISA doesn't look horrible and it's fairly full-featured with FPU and MMU and SIMD. A decent alternative to MIPS, if you want something royalty-free, at least until RISC-V came along, and if you don't mind GPL.

A pity if the (one, basically) implementation is buggy. I didn't know that.

The RISC-V people looked at it when they wanted an ISA to use in their research, but it was 32 bit-only at the time, and the instruction encoding was too full to add much in the way of extensions (including variable length for code density). So they made their own.
 

Offline ralphrmartin

  • Frequent Contributor
  • **
  • Posts: 479
  • Country: gb
    • Me
Re: Chinese microcontrollers worth considering
« Reply #10 on: June 09, 2022, 02:37:12 pm »
The ESP32 is pretty well documented and supported. I guess you dont have to use the Wifi...
 

Offline paf

  • Regular Contributor
  • *
  • Posts: 91
Re: Chinese microcontrollers worth considering
« Reply #11 on: June 09, 2022, 04:47:48 pm »
Another supplier of 32 bit ARM processors:

Arterytek: http://www.arterytek.com/en/

Board with one: https://github.com/WeActTC/WeActStudio.BlackPill

It seems to be another STM32 "compatible", and the board is around 5 Euros on aliexpress.

Anyone knows more about it?
 

Offline dimbmwTopic starter

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: Chinese microcontrollers worth considering
« Reply #12 on: June 15, 2022, 03:53:38 am »
Guys, thank you for your replies.

These are mostly high performance uCu that you mentioned, but how about some low power stuff ? Like MSP430 equivalents maybe with some extended peripherals like  22-24 bits sigma delta ADCs and things like that ?  Like AFEs for sensors with uC on board?

Please give your recs… thanks!
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14297
  • Country: fr
Re: Chinese microcontrollers worth considering
« Reply #13 on: June 15, 2022, 06:57:29 pm »
Ultra low-power and ultra-cheap are usually mutually exclusive.

I personally do not know of any chinese cheap MCU that is anywhere near as low power as the "ultra low-power" MCUs you can find from the major vendors such as ST, TI, etc.
I'd be curious to see one though.
 

Offline Datom

  • Newbie
  • Posts: 8
  • Country: cn
Re: Chinese microcontrollers worth considering
« Reply #14 on: June 16, 2022, 08:30:49 am »
Guys, thank you for your replies.

These are mostly high performance uCu that you mentioned, but how about some low power stuff ? Like MSP430 equivalents maybe with some extended peripherals like  22-24 bits sigma delta ADCs and things like that ?  Like AFEs for sensors with uC on board?

Please give your recs… thanks!

There are really not many low-power MCU made in China, but more MCU like "STM32F103" or "STM32F407". Of course, there is RISC-V such as "ESP32".
I recommend some low-power MCU:HC32L130 and GD32L233.
 
The following users thanked this post: voltsandjolts

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14297
  • Country: fr
Re: Chinese microcontrollers worth considering
« Reply #15 on: June 16, 2022, 07:18:40 pm »
Ah, the GD32L233  is not bad indeed.
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2280
  • Country: gb
Re: Chinese microcontrollers worth considering
« Reply #16 on: June 16, 2022, 07:51:44 pm »
I recommend some low-power MCU:HC32L130 and GD32L233.

Where to buy the GD32L233?
 

Offline Datom

  • Newbie
  • Posts: 8
  • Country: cn
Re: Chinese microcontrollers worth considering
« Reply #17 on: June 17, 2022, 01:07:48 am »
I recommend some low-power MCU:HC32L130 and GD32L233.

Where to buy the GD32L233?
GD32L233 was only released in 2021. It may not be enough for promotion and supply. It can be found on Taobao in China, but it doesn't seem to be found on Diyi-key、Mouser and LCSC
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3321
  • Country: nl
Re: Chinese microcontrollers worth considering
« Reply #18 on: June 17, 2022, 09:59:12 am »
A lot of the chinese ic's are not mentioned on "western" shops such as digikey, mouser, or even on octoparts.
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1896
  • Country: ca
Re: Chinese microcontrollers worth considering
« Reply #19 on: June 18, 2022, 09:38:55 am »
Today I have found these SUB 1$ parts with Cortex M3 @ 80Mhz, 1MB flash and 288KB RAM, and WIFI

https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_WinnerMicro-W600-B800_C500040.html

Does anyone here have used them or have any more info, it seems very interesting part >:D
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14297
  • Country: fr
Re: Chinese microcontrollers worth considering
« Reply #20 on: June 18, 2022, 05:53:54 pm »
Today I have found these SUB 1$ parts with Cortex M3 @ 80Mhz, 1MB flash and 288KB RAM, and WIFI

https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_WinnerMicro-W600-B800_C500040.html

Does anyone here have used them or have any more info, it seems very interesting part >:D

I haven't, but Seed studio sells boards based on it: https://wiki.seeedstudio.com/W600_Module/
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3670
  • Country: gb
  • Doing electronics since the 1960s...
Re: Chinese microcontrollers worth considering
« Reply #21 on: June 18, 2022, 08:21:07 pm »
Having just extracted an injection moulding tool (my property) out of china, and having paid off a number of completely shameless gangsters on the way, I would never use china for a key component which cannot be realistically designed-out.

By all means use them for

- bare PCBs
- overmoulded cables
- machined parts
- connectors
- mouldings (big risk there - see above - because they have you by the balls with the tooling cost)

and similar stuff where another supplier can be readily found, and the parts are cheap enough that you can buy a large quantity and buy it rarely, say once a year.

There are still downsides e.g.

- have to pay up front (you are powerless if there is any dispute, and many chinese companies do play on that)
- long shipping time with sea freight (30 days; plays havoc with your cash flow because you basically have to pay 3 months earlier than locally)
- a rapidly increasing % of businesses are run by gangsters
- their IT security is lousy, so e.g. you get regular "new bank details enclosed" emails (probably inside jobs) - we lost $2k not long ago
- rapid employee turnover
- probably only 1 person in the factory speaks English, and is replaced every few months
- departing employees tend to steal their customer database; see IT fraud above, and you get contacted by other companies quickly (JLCPCB get this a fair bit)
- unless you visit (few do; it is difficult) you really know nothing about the company, which could be at a totally different address
- if you do have to visit, or try to organise a local person to visit, you often find they are not there (website address is fake)
- the parts are very often made by somebody else, whose identity will be either secret or fake

and things are getting worse each month. I used to build whole products out there but stopped that a few years ago. Too regular vanishing acts, losing the stock, tooling, test equipment, each time, sometimes offered back to us for purchase a year later by the management who escaped to Taiwan before getting killed (not kidding) for unpaid wages.

They are very religious. The name of their god is US DOLLAR :)
« Last Edit: June 19, 2022, 09:03:38 am by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 
The following users thanked this post: Alti, tellurium

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: Chinese microcontrollers worth considering
« Reply #22 on: June 18, 2022, 11:43:53 pm »
It's a real Mafia
 

Offline tepalia02

  • Regular Contributor
  • *
  • Posts: 100
  • Country: bd
Re: Chinese microcontrollers worth considering
« Reply #23 on: June 24, 2022, 12:10:36 pm »
If the supplier is dependable and performs good QC, I think there is no harm in buying from them. 
 

Offline Mike.M

  • Newbie
  • Posts: 1
  • Country: cn
Re: Chinese microcontrollers worth considering
« Reply #24 on: June 26, 2022, 02:45:08 am »
There's several :HDSC, Chipsea, GigaDevice, Nuvoton, HK(hsxp-hk.com, don't know the real name...), espressif, etc.
Most of them are Cortex-m architecture, like stm(or copy?)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf