Author Topic: The cheapest Ethernet MCU,CH579M is arriving  (Read 2707 times)

0 Members and 1 Guest are viewing this topic.

Offline clientTopic starter

  • Newbie
  • Posts: 6
  • Country: cn
The cheapest Ethernet MCU,CH579M is arriving
« on: December 23, 2023, 09:24:59 am »
Let me introduce a highly cost-effective MCU, CH579M, priced as low as $0.7! Perhaps it is the cheapest Ethernet microcontroller in the market, this MCU features an Ethernet (including PHY+MAC) and integrates a 2.4g wireless transceiver front-end. It can compatible with Bluetooth and Zigbee protocols as well as custom wireless communication protocols. In addition, it also has multiple serial ports, USB host and slave, SPI, IIC, etc,.
Samples can be purchased on LCSC and AliExpress.
This awesome device is also designed by Nanjing Qinheng, if you have ever heard of their MCUs such as CH32V003 or CH32V307.

datasheet:
https://www.wch-ic.com/downloads/CH579DS1_PDF.html

PCB files:
https://www.wch-ic.com/downloads/CH579DS1_PDF.html

Aliexpress:
https://www.aliexpress.us/item/3256805277474198.html

LCSC: ch579M
https://www.aliexpress.us/item/3256805277474198.html

offical sdk:
see the attachment below

 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4042
  • Country: nz
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #1 on: December 23, 2023, 11:03:29 am »
Are you associated with the company?
 

Offline clientTopic starter

  • Newbie
  • Posts: 6
  • Country: cn
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #2 on: December 23, 2023, 11:20:47 am »
No, I'm just hobbyist. I would like to recommend this cost-effective chip to everyone
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4042
  • Country: nz
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #3 on: December 23, 2023, 11:29:11 am »
Oh unlike the CH32V003 and 307 etc it's not a WCH-designed core, but an Arm Cortex M0, and running quite slowly too.
 
The following users thanked this post: bingo600

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1989
  • Country: dk
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #4 on: December 24, 2023, 06:38:06 am »
Another board here - Price is better
https://www.aliexpress.com/item/1005003651738891.html

« Last Edit: December 24, 2023, 06:56:23 am by bingo600 »
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4042
  • Country: nz
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #5 on: December 24, 2023, 06:50:46 am »
I don't know where this $0.70 price is.

Once I found it on LCSC (your link was a duplicated Aliexpress one) it was like $5 or $7.
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2590
  • Country: fr
    • kripton2035 schematics repository
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #6 on: December 24, 2023, 07:40:08 am »
Another board here - Price is better
https://www.aliexpress.com/item/1005003651738891.html
yes, but shipping is EUR 67 for me ... :(
 

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1989
  • Country: dk
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #7 on: December 24, 2023, 12:01:43 pm »
 

Offline kripton2035

  • Super Contributor
  • ***
  • Posts: 2590
  • Country: fr
    • kripton2035 schematics repository
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #8 on: December 24, 2023, 03:12:45 pm »
I suppose this ethernet chip does not have arduino libraries/board for it ?
 

Offline dobsonr741

  • Frequent Contributor
  • **
  • Posts: 674
  • Country: us
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #9 on: December 24, 2023, 03:39:28 pm »
Does it come with an SDK? How mature is the SDK? The value of my time, even as a hobbyist, far exceeds the savings offered by lower-cost, race-to-the-bottom chips.
 

Offline IOsetting

  • Regular Contributor
  • *
  • Posts: 58
  • Country: cn
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #10 on: December 24, 2023, 05:03:13 pm »
Does it come with an SDK? How mature is the SDK? The value of my time, even as a hobbyist, far exceeds the savings offered by lower-cost, race-to-the-bottom chips.

Though I seldom use WCH's chips, they do have a good reputation on SDK and tech support(relatively among most Chinese chip companies).
I don't use them because they are not cheap enough  ;)
 

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1989
  • Country: dk
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #11 on: December 25, 2023, 08:21:31 am »
Does it come with an SDK? How mature is the SDK? The value of my time, even as a hobbyist, far exceeds the savings offered by lower-cost, race-to-the-bottom chips.

As a hobbyist, i will also use the RiscV 307' boards ....
More of "everything", and approx same board price ...

/Bingo
« Last Edit: December 25, 2023, 08:31:09 am by bingo600 »
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1907
  • Country: ca
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #12 on: December 25, 2023, 11:36:53 am »
Quote
I don't use them because they are not cheap enough  ;)
Tell us more, and reveal the secret >:D >:D
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3704
  • Country: gb
  • Doing electronics since the 1960s...
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #13 on: December 27, 2023, 11:25:11 am »
A CPU with ETH is worthless unless there is a pretty well totally debugged TCP/IP stack, with all the low level libs, for it. ESP32 comes with this AFAIK (LWIP and the whole package) but look at the trouble STM 32F etc users have with this.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline tellurium

  • Regular Contributor
  • *
  • Posts: 232
  • Country: ua
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #14 on: December 27, 2023, 10:08:25 pm »
Interesting.

I think 32k of RAM is quite low for a practical networking applications, but some simple use cases might fit the bill. E.g. a simple connected sensor, or a serial monitor.

Ordered a dev board.

Looking at the data sheet, the Ethernet controller is not the Synopsis one used by CH32V307 (identical to STM32Fxx).
Some other controller is there, tersely documented.

The radio registers are documented, though the documentation also seems to be quite terse.
Open source embedded network library https://mongoose.ws
TCP/IP stack + TLS1.3 + HTTP/WebSocket/MQTT in a single file
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14500
  • Country: fr
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #15 on: December 27, 2023, 10:17:34 pm »
As I've seen for the CH series of chips that are marketed as interface chips, such as the CH565/569/579 etc, while those have a CPU core, they are not really marketed by WCH as microcontrollers in their own right, and the consequence is that the documentation and SDKs are much more opaque than with the CH32V series for instance.

I mentioned the CH569 earlier, which I'm interested in, but found out that the documentation is a bit too terse as well, and that the provided SDK doesn't contain any source code for the USB side, making you rely on a binary-only library for USB (and probably other peripherals). That's a terrible bummer IMO, but I haven't had time to look at the docs enough to tell whether implementing support would be difficult, impossible or quite possible.
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3704
  • Country: gb
  • Doing electronics since the 1960s...
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #16 on: December 28, 2023, 09:26:39 am »
One can spend a good number of man-months sorting out low level code and (e.g.) LWIP integration for a new CPU. Sorting out the 32F4 code took that long and that was when we were given supposedly working code from ST! In this case, good luck... And in ETH apps, a low level problem can be hidden until the application does something new :)

Also LWIP pretty much needs an RTOS (there is a way around it but is complicated) and that is something else you need to port to a new CPU (not as hard as ETH though).
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline tellurium

  • Regular Contributor
  • *
  • Posts: 232
  • Country: ua
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #17 on: December 28, 2023, 10:58:52 am »
Also LWIP pretty much needs an RTOS (there is a way around it but is complicated) and that is something else you need to port to a new CPU (not as hard as ETH though).

My interest in those Ethernet enabled chips is exactly that: Ethernet.
We make our own networking library with built-in TCP/IP and TLS 1.3 stacks, so don't care about LWIP and its issues.
Our stack does not require RTOS: it runs perfectly fine in a bare metal superloop, and in a RTOS task.

The reason Mongoose does not require RTOS is simple: our library provides a high-level event-based API for protocols like TCP, UDP, HTTP, MQTT, etc. Therefore we don't need socket layer, we simply bypass it.

And it is exactly the socket layer that needs RTOS support, because that's the way a blocking send()/recv() can be implemented. An RTOS is required for the "waiting" functionality, and a socket layer required for data buffering.

Bypassing a socket layer saves a whole lot. RTOS independence, performance, and memory.
« Last Edit: December 28, 2023, 11:10:22 am by tellurium »
Open source embedded network library https://mongoose.ws
TCP/IP stack + TLS1.3 + HTTP/WebSocket/MQTT in a single file
 
The following users thanked this post: SiliconWizard

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3704
  • Country: gb
  • Doing electronics since the 1960s...
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #18 on: December 28, 2023, 02:28:08 pm »
Most people writing internet apps use the socket API.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline clientTopic starter

  • Newbie
  • Posts: 6
  • Country: cn
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #19 on: December 29, 2023, 08:57:23 am »
the official has ported freertos and lwip, as well as webserver examples on ch579m, the  retail price of the chip in China is just below 5 RMB, approximately 0.7 USD
 

Offline tellurium

  • Regular Contributor
  • *
  • Posts: 232
  • Country: ua
Re: The cheapest Ethernet MCU,CH579M is arriving
« Reply #20 on: December 29, 2023, 06:37:00 pm »
Most people writing internet apps use the socket API.

Most people writing Internet apps, do NOT use socket API. They use one of the many network libraries that provide a higher level API.
Open source embedded network library https://mongoose.ws
TCP/IP stack + TLS1.3 + HTTP/WebSocket/MQTT in a single file
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf