W806 is quite an interesting product in terms of price and
performance. One of the biggest drawbacks of this platform is lack of
popular hardware debugger for it. Official CK-Link Lite debuggers are
pretty expensive and not widely available. But as turns out it can be
also achieved without official debugger but with use of simple STM32
“Blue Pill board”
Nowadays, because of the global chip shortage, finding an alternative MCU is more essential than ever. One of such alternative could be W806 MCU.
W800 line-up include 3 microcontrollers:
W806 - base MCU without wireless communication,
W801 - MCU with Wi-Fi and Bluetooth,
W800 - MCU with Wi-Fi and Bluetooth and reduced set of peripherals.
These chips are made by WinnerMicro and are based on one 240 Mhz XT804 core. The core itself is made on top of the C-SKY architecture, so it is completely different from well known ARM, or new RISC-V cores.
W801 and W806 are available as devboards, what makes them easy to start with. When it comes to W800 it is possible to get one on devboard, but rebranded as Air101.
Today we will focus on the base model W806. Let's start with the specification:
32-bit XT804 processor, frequency up to 240MHz, built-in DSP, FPU and security engine
Built-in 1MB Flash, 288KB RAM
Integrated PSRAM interface, supports up to 64MB external PSRAM memory
6-channel UART high-speed interface
4-channel 16-bit ADC, the highest sampling rate is 1KHz
1 high-speed SPI interface (slave interface), supports up to 50MHz
Some of you might not like working from command prompt and there is such possibility: CDK (C-Sky Development Kit) which is an IDE from T-Head (company behind C-Sky architecture)
Unfortunately to download it you have to register on another Chinese site and follow these steps: After downloading and installing the CDK things are getting a little bit simpler. Whole software is in English (there even is no option for Chinese language).
The next step is to open project that is located in SDK: WM_SDK_W806\tools\W806\projects\SDK_Project\project\CDK_WS
Overall the SDK is very similar to HAL available in STM32 package
Is it worth starting a project with W806? It depends. For professional usage - rather not. There is no English documentation, support or even popularity among users. For hobby usage things looks quite different. For less than 4 dollars you can get quite powerful board with many interesting features.