CH32V003...fun! with CNLohr

The Amp Hour · 25 Jun 2023 · 1h 15m · Episode 637

What this episode covers

CNLohr joins Chris Gammell to discuss the CH32V003, a low-cost RISC-V microcontroller, and his open-source CH32V003fun library. He explains how he implemented a software-only USB stack and used the chip to control a Nixie tube display, demonstrating that complex functions like power regulation and communication can be handled in bare-metal code. The conversation highlights the benefits of avoiding heavy abstraction layers like FreeRTOS for simple tasks and the importance of understanding assembly and datasheets.

Mentioned

Companies
WCH, Espressif, LCSC
Products
Luna
Chips
CH32V003, ESP8266
Tools
CH32V003fun, FreeRTOS, VUSB

Other shows on the same ground, closest first.

  • The Electromaker Show · 24m

    RISC V Special! 10 Cent parts, RISC V OS from scratch, New ESP32 devkits!

    The host discusses the WCH CH32V003, a 10-cent RISC-V microcontroller, highlighting projects by Dave from EEVblog, Charles Law's software-defined Nixie tube driver, and Bitluni's 16-chip supercluster. He recommends Sarah Jamie Lewis's OS development series and Warren Gay's book on RISC-V assembly for learning the architecture. The episode concludes with news on the ESP32-H2 development kit and a critical review of the TinkerBoard Revision 2, noting its high price and limited upgrades.

  • Hackaday Podcast · 1h 08m

    Ep 270: A Cluster of Microcontrollers, a rocket engine from scratch, and a look inside Voyager

    Hackaday editors Elliot Williams and Tom Nardi discuss the 2024 Business Card Challenge and a 256-core RISC-V mega cluster by Bit Looney that uses CH32V003 microcontrollers and custom bus protocols. They analyze the trade-offs between Raspberry Pi 5 and Intel N100 mini PCs, highlight Ricardo Quesada's BluePad32 library for Bluetooth controllers, and review a Corey flight simulator button project. The episode concludes with a look at ABL Space Systems' transparent rocket engine development by Ryan Kunn and Dan Maloney's digitization of Voyager spacecraft documentation.

  • Embedded.fm · 1h 18m

    320: Why Isn't This Working?

    Chris Gammell, founder of Contextual Electronics and host of The Amp Hour, discusses his journey learning embedded firmware as a hardware consultant. He details his personal project using an STM32F030 and an EFM8 microcontroller, the challenges of debugging with GDB and Vim, and the value of hiring tutors and using books like 'Making Embedded Systems' to build confidence and technical depth.

  • Embedded.fm · 1h 08m

    134: Diet-Friendly Dog Food

    Eric Hankinson, an instructor at Contextual Electronics and developer at Lean Dog, discusses the embedded software components of his online apprenticeship program. He explains how he uses Vagrant and VirtualBox to create consistent development environments for students using STMicroelectronics Nucleo-F030R8 boards and open-source tools like OpenOCD and KiCad. Hankinson also covers the pedagogical challenges of teaching bare-metal C programming, the role of CMSIS in hardware abstraction, and the transition from Arduino to more powerful microcontrollers.

  • Embedded.fm · 1h 02m

    484: Collecting My Unhelpful Badge

    Elecia White and Christopher White discuss embedded software engineering challenges, including using semihosting for debugging STM32 microcontrollers when UARTs are unavailable, and strategies for navigating new codebases. They address the pitfalls of choosing microcontrollers without firmware input, highlighting risks like NDAs and lack of community support, and speculate on the documentation quality of the new RP2350. The conversation also covers career advice, such as building skills through a 'skills tree' and the value of master's degrees in embedded systems.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by The Amp Hour. The episode itself belongs to its publisher.