Loading 3D model… large boards can take a moment.
An inexpensive Eurorack audio generator
This project is an extension of previous "Cheep" Eurorack modules which have been built as demonstrations for simple, low-cost audio generators using low-end MCUs and DACs. Cheep3a targets the recently introduced CH32V003 RISC-V based MCU from WCH Inc. in order to explore the feasibility of audio generation with a sub-$1.00 microcontroller.
Cheep3a provides the following features:
Firmware included in this project supports seven operating modes with various audio signal outputs in each mode:
Mode selection is stored in the MCU's on-chip flash memory and will persist across power cycles.
The Cheep3a firmware is based on cnlohr's "ch32v003fun" project and expects that the github directory for that project is located in an adjacent directory in order for the make-based build system to operate correctly. A recent RISC-V GCC toolchain is also required and once you have that installed (and in your search path) the following steps should work:
git clone git@github.com:emeb/cheep3a.git
git clone git@github.com:cnlohr/ch32v003fun.git
cd cheep3a/firmware
make
Version 0.1 of the hardware was fabbed and assembled at JLCPCB at modest cost and all unsupported components (pots, jacks, connectors, LED and button) were added by hand. Aside from a few minor layout errors which were easily corrected, the system performed as expected.
The hardware can be recreated with the following steps:
The CH32V003 MCU performs well for simple audio generation tasks but falls somewhat short for more complex DSP. Hardware support for good digital audio is impaired by the overall low CPU clock speed and limited memory capcity, as well as the need to "work around" the lack of true I2S serial audio interfacing. The biggest shortcoming however is the subset RV32E RISC-V CPU which doesn't provide hardware multiply and thus significantly increases the cost of even simple DSP operations needed for good-quality audio generation.
No comments yet. Be the first to ask about this board.