WCH CH32V002 32-bit RISC-V MCU comes with 4KB SRAM, supports 2V to 5V DC supply voltage

CH32V002

WCH CH32V002 is an industrial-grade general-purpose 32-bit RISC-V microcontroller that is pin-to-pin compatible with the popular CH32V003 MCU with 4KB SRAM instead of 2KB, a wider input voltage range from 2V to 5V, and other improvements. Earlier this month we wrote about the WCH CH32V006 RISC-V microcontroller that offers an upgrade to the CH32V003 with more I/Os, memory, and storage, requiring a new PCB layout. But now, the Chinese company has unveiled a pin-compatible alternative with the CH32V002 that adds more SRAM, uses the new V2C core with RV32EmC instruction set (also used in the CH32V006), offers a larger bootloader and configuration memories, upgrades the ADC to 12-bit, and adds support for 8-channel touch-key channel detection. WCH CH32V002 specifications (highlights in bold show differences against the CH32V003): CPU – 32-bit “RISC-V2C” core up to 48 MHz using RV32EmC instruction set Memory – 4KB SRAM Storage – 16KB flash, 3328 Bytes […]

BreadboardOS firmware for the Raspberry Pi RP2040 features a Linux-like terminal

BreadboardOS Raspberry Pi Pico

Cavin McKinley’s BreadboardOS is an open-source firmware platform for the Raspberry Pi RP2040 MCU (for now) built around FreeRTOS and with a feature-packed CLI that reminds me of the Linux terminal.

The terminal implementation is based on a fork of the microshell project with some additional customization. It is organized into POSIX-style folders/files providing a familiar user interface for interacting with the hardware on the MCU.

BreadboardOS running on Raspberry Pi Pico board

BreadboardOS highlights:

FreeRTOS-based
Tools for checking system resources such as ps, top, free, and df commands
Interaction with chip I/O and serial buses from the terminal using commands such as cat and echo, for example, you can print the list of GPIOs with:

Rockchip RK2118G/RK2118M dual-core Star-SE Armv8-M microcontrollers target smart audio applications

Rockchip RK2118G microcontroller block diagram

Rockchip RK2118G and RK2118M smart audio microcontrollers based on a dual-core Star-SE Armv8-M processor, an NPU for smart AI audio processor, three DSPs, 1024KB SRAM, optional DDR memory in package, and a range of peripherals. I first noticed the RK2118M in slides from the Rockchip Developer Conference 2024 last March, but I did not have enough information for an article at the time. Things have now changed since I’ve just received a bunch of datasheets including the one for the RK2118G and RK2118G microcontrollers, which look identical except for the DDR interface and optional built-in 64MB RAM for the RK2118G. The datasheets have only one reference to Arm with the string “Arm-V8M” and nothing else, and Cortex is not mentioned at all. But the slide above reveals the STAR-SE core looks to be an Arm Cortex-M33 core. We also learn the top frequencies for the “STAR-M33″/”STAR-SE” core  (300MHz) and the […]

WCH CH32V006 RISC-V microcontroller adds more I/Os, memory, and storage compared to CH32V003

CH32V006 block diagram

WCH CH32V006 RISC-V microcontroller is an upgrade to the 10-cent CH32V003 microcontroller with more I/Os, up to four times the memory, storage, a wider supply voltage range, the addition of a TouchKey interface, as well as a new 32-bit V2C RISC-V core instead of the V2A core found in the CH32V003. More specifically that means we went from the CH32V003 with 2KB SRAM and 8KB flash, up to 8KB SRAM and 62KB for the CH32V006, and 6KB SRAM and 32KB flash for the CH32V005, a smaller sibling of the new RISC-V microcontroller. WCH CH32V005 & CH32V006 specifications (with highlights in bold to show differences against CH32V003): CPU – 32-bit “RISC-V2C” core up to 48 MHz Memory – 6KB SRAM (CH32V005) or 8KB SRAM (CH32V006) Storage – 32KB flash (CH32V005) or 62KB flash (CH32V006) Peripherals Up to 31x GPIO with interrupt support (CH32V003 had up to 18x GPIO) 2x USART interfaces […]

BitNetMCU project enables Machine Learning on CH32V003 RISC-V MCU

Neural networks on the CH32V003

Neural networks and other machine learning processes are often associated with powerful processors and GPUs. However, as we’ve seen on the page, AI is also moving to the very edge, and the BitNetMCU open-source project further showcases that it is possible to run low-bit quantized neural networks on low-end RISC-V microcontrollers such as the inexpensive CH32V003. As a reminder, the CH32V003 is based on the QingKe 32-bit RISC-V2A processor, which supports two levels of interrupt nesting. It is a compact, low-power, general-purpose 48MHz microcontroller that has 2KB SRAM with 16KB flash. The chip comes in a TSSOP20, QFN20, SOP16, or SOP8 package. To run machine learning on the CH32V003 microcontroller, the BitNetMCU project does Quantization Aware Training (QAT) and fine-tunes the inference code and model structure, which makes it possible to surpass 99% test accuracy on a 16×16 MNIST dataset without using any multiplication instructions. This performance is impressive, considering […]

Microchip PIC32CK 32-bit Arm Cortex-M33 MCU combines Hardware Security Module with Arm TrustZone for IoT cybersecurity compliance

Microchip PIC32CK 32-bit MCU with HSM

Microchip PIC32CK is a new family of 32-bit Arm Cortex-M33 microcontrollers clocked up to 120 MHz with Arm Trustzone and an optional integrated Hardware Security Module (HSM) that can help companies meet the cybersecurity requirements for consumer IoT devices and critical infrastructure mandated in the US, Europe, and other countries. Two sub-families are available with the PIC32CK GC and PICK32CK SG with the latter integrating the HSM, and the company claims it is the first 32-bit device on the market that combines an HSM with TrustZone technology for optional security. The PIC32CK is also said to support ISO 26262 functional safety and ISO/SAE 21434 cybersecurity standards. Microchip PIC32CK specifications: MCU core – Arm Cortex-M33 clocked at up to 120 MHz with 4KB combined instruction and data cache, TrustZone security Memory and Storage 128KB, 256KB, or 512KB SRAM 512KB, 1MB, or 2MB flash 128KB boot flash memory 64KB of configuration flash […]

WeAct ESP32-C6-Mini is the cheapest ESP32-C6 board so far going for less than $4

WeAct ESP32-C6-Mini board

WeAct ESP32-C6-Mini is a small development board based on Espressif Systems ESP32-C6 WiFi 6, Bluetooth, and 802.15.4 wireless SoC that’s the cheapest we’ve seen so far selling for just $3.86 on Aliexpress. WeAct was one of the first companies to launch a third-party ESP32-C6 development board year with the price starting at just $6. I still remember the excitement around the first $5 ESP8266 WiFi 4 module when we first covered it in 2014, and ten years later, we can get a full $4 development board with a more powerful 160 MHz RISC-V microcontroller, WiFi 6, Bluetooth 5.0, and an 802.15.4 radio for Thread, Zigbee, and Matter. WeAct ESP32-C6-Mini specifications: Wireless SoC – ESP32-C6-N4 CPU Single-core 32-bit RISC-V clocked up to 160 MHz Low-power RISC-V core @ up to 20 MHz Memory – 512KB SRAM, 16KB low power SRAM Storage – 320KB ROM, and 4MB flash Wireless – 2.4 GHz […]

Silicon Labs BG22E, MG22E, FG22E wireless MCUs target energy harvesting, battery-free IoT devices

BG22E MG22E FG22E energy harvesting wireless microcontroller

Silicon Labs xG22E is a family of wireless SoCs consisting of the BG22E, MG22E, and FG22E and designed to operate within an ultra-low power envelope required for battery-free, energy harvesting applications such as electronic shelf labels, Smart Home sensors, remote controls, and so on. Like the just-announced Silicon Labs MG26, BG26, and PG26, the new xG22E family features a Cortex-M33 core clocked up to 76.8MHz. As an evolution of the low-power BG22, the BG22E offers Bluetooth 5.4 LE connectivity with “Energy Conservation” to further enhance battery longevity and even support designs that eliminate the need for batteries. The MG22E is similar but embeds an 802.15.4 radio for Zigbee connectivity, and the FG22E provides a 2.4GHz proprietary plus the Cortex-M33 is clocked up to 38.4MHz. Silicon Labs BG22E, MG22E, FG22E specifications: MCU – Arm Cortex-M33 @ 76.8 MHz with DSP and FPU (38.4 MHz for FG22E) Memory – Up to 32 […]

EmbeddedTS embedded systems design