HLK W806  What is this ? Mistery very cheap and powerfull CPU ? - Page 1
Forum section: electronics / general

author: ebclr
author_rank: Super Contributor
timestamp: November 20, 2021, 08:27:34 pm
content: https://h.hlktech.com/Mobile/download/fdetail/143.html

author: ataradov
author_rank: Super Contributor
timestamp: November 20, 2021, 08:56:27 pm
content: C-Sky core is somewhat annoying with tool support.And it looks like QFN56 version is available cheap, but it does not have any wireless support, and QFN32 has wireless, but not available. And dedicated wireless pins take up half the pins of the device.It is obviously something purpose designed, and not intended as a general purpose MCU.

author: ebclr
author_rank: Super Contributor
timestamp: November 22, 2021, 05:38:55 am
content: Do you have any info on this CPU ?

author: ataradov
author_rank: Super Contributor
timestamp: November 22, 2021, 05:42:55 am
content: You yourself linked the datasheet and SDK. I don't think English versions exist for any of this. Instruction set of the S-Sky is (mostly) the same as old Motorola M*Core.

author: GromBeestje
author_rank: Frequent Contributor
timestamp: December 07, 2021, 07:45:36 pm
content: Seems there is mainline gcc support as this documentation exists:https://gcc.gnu.org/onlinedocs/gcc/C-SKY-Options.htmlBut that's only part of what is needed. I'm not sure yet about a C library for the c-sky architecture,And for debugger support, I found w6xx support, (which is an ARM chip) for OpenOCD, but I haven't been able to find anything about the w8xx series.

author: thm_w
author_rank: Super Contributor
timestamp: December 07, 2021, 10:03:45 pm
content: To me its just a complete waste of time unless you want to kill time learning some new architecture for fun.https://www.cnx-software.com/2021/11/08/winnermicro-w806-240-mhz-mcu-2-development-board/https://www.aliexpress.com/item/1005003493284920.htmlCode:MCU – WinnerMicro W806 32-bit XT804 microcontroller @ 240 MHz with 1MB Flash, 288KB RAM, FPU, DSP, crtypto engineExpansion – 2x 24-pin headers with (based on MCU specs)1x SDIO host with support for SDIO 2.0, SDHC, MMC 4.21x SDIO device up to 200 MbpsUp to 6x UART, 1x I2C1x SPI slave up to 50 MHz, 1x master/slave SPILCD controller with support for 4×32 interface1x I2SUp to 4x ADC (16-bit, 1KHz sampling rate)Up to 44x GPIOs, 5x PWMUp to 15 touch sensorsISO/IEC 7816 smart card interfaceReset, Wakeup, 3.3V, and GND signalsDebugging – CH340 via micro USB port

author: GromBeestje
author_rank: Frequent Contributor
timestamp: December 08, 2021, 02:33:32 pm
content: Considering they are for cheap (like pre-2020 bluepill prices) on AliExpress, they might become interesting for hobbyist, provided there is decent toolchain support.And for the new architecture, well, if there runs a proper GNU Toolchain, most will write in C anyways.For what I can see now, there is upstream newlib, gcc and binutils support.There is this binary distribution in AUR (https://aur.archlinux.org/packages/csky-elf-tools-bin/) However, that is rather old ( GCC 6 )I am now trying to compile the current versions of the toolchain by taking the ARM PKGBUILDS and changing the target.It's building right now, but compiling it all will take some time.So it seems, what is required to build a binary is covered. What concerns me more is debugging support. I haven't been able to locate any debugging support for the thing. And then the lineQuotelooks scary. It would imply it will be Andruino-style printf debugging, in other words, none.Looking at the datasheet, there appear to be debugging pins present, without looking at the details, it implies the hardware has proper debugging support, but the software part is missing. There is this package in AURhttps://aur.archlinux.org/packages/csky-debugserver-bin. I haven't looked at it in detail, but it seems to be requiring a debugger manufacturer-specific debugger probe.

author: bingo600
author_rank: Super Contributor
timestamp: December 12, 2021, 07:43:19 am
content: Googled a bitSDK -seems there's a ubuntu vershttps://github.com/IOsetting/wm-sdk-w806

author: ass20
author_rank: Regular Contributor
timestamp: December 19, 2021, 10:39:59 am
content: module docshttps://h.hlktech.com/Mobile/download/fdetail/143.htmlfirst steps with CDKhttps://www.yixuebiancheng.com/article/87577.html

author: tszaboo
author_rank: Super Contributor
timestamp: December 19, 2021, 10:57:47 am
content: Quote from: GromBeestje on December 08, 2021, 02:33:32 pmI don't think is stack up against the Pi Pico that well. There doesn't seem to be any killer features that would warrant a larger adaptation. And the various ESP32 chips are making a killing in the high performance microcontroller home segment. I'm sure this is fine for some Asian built products though.

author: daming
author_rank: Newbie
timestamp: December 26, 2021, 03:30:27 pm
content: Merry Christmashttps://www.bilibili.com/video/BV1ob4y1v794?share_source=copy_web

author: ataradov
author_rank: Super Contributor
timestamp: December 26, 2021, 06:19:38 pm
content: Quote from: daming on December 26, 2021, 03:18:24 pmYour posts are not missing, they are being deleted as spam. What are we supposed to do with this wall of code with comments in Chinese?If you think this is useful somehow - please share how it is useful. And also, it is better to attach a file to your post instead of pasting the whole contents for large files.Same goes for random links without comments.

author: daming
author_rank: Newbie
timestamp: December 27, 2021, 02:04:06 am
content: Chinese parts were for me to see, and I couldn't live without them

author: jscottbee
author_rank: Newbie
timestamp: January 08, 2022, 04:21:11 pm
content: I have done a little playing around with this MCU. When compared to chips like the RP2048, it seems "plain". The biggest negative is the lack of documentation for the chip and tools.The tools are easily found and installed, but outside of China, you have to try a bit harderThe SDK for the chip is based on a HAL type function set, but there are no docs for its particular brand of HAL. There are a good set of demos included in the SDK to help find usage examples.Right now, I see a few things going for it... 44 usable GPIO pins, 288k of internal PSRAM with the ability to use up to 64MB of external PSRAM, and its programmable via a TTL serial interface. The LCD drivers may be of use as well for many.Its big negatives are the lack of good docs that live on the chipmaker's site. This goes for the tools, SDK, and the chip.The board that HLK made is quite large, to say the least! It is as large as an RPI Zero and possibly a little bigger. My main gripe about the board though is the lack of a VIN-type pin... I hate powering from USB for real use.I have created a Github repo with some basic type "blink" code, as well as a chip pinout, and pin function assignments.https://github.com/jscottb/w806-blinky

author: Canis Dirus Leidy
author_rank: Regular Contributor
timestamp: February 05, 2022, 02:00:01 am
content: Some examples from we.easyelectronics.ru (in Russian and C languages):A brief overviewGPIO, timers and error in documentation.Alternate functions and another error in documentatioinUsing I2C

author: jscottbee
author_rank: Newbie
timestamp: February 05, 2022, 02:09:11 am
content: Nice! Thanks for the info.There are a lot of examples in the SDKs for their chips. The build setup is a little rough around the edges but still usable.Thanks.