
Explore embedded applications on the RISC-V platform with the Seat Studio 32V development board and Sager Embedded Studio, covering GPIO, ADCs, serial communications, timers, and onboard schematics and block diagrams.
Dig into a firmware library by examining real source code, as vendors provide microcontroller libraries, and explore the Google Device firmware library for the GB 32 V MCU.
Explore the RISC-V GD32 board as a low-cost development platform, detailing its MCU, boot modes, connectors, and optional peripherals for embedded applications.
Unbox the development board and grove module, and show how a slider produces a voltage via a voltage divider for the gb 32 board through an Arduino shield.
Install Seger Embedded Studio for risk five, latest version 6.20, and GB 32 v libraries via the package manager; open the provided project and run floating point and integer calculations.
Examine the amc microcontroller documentation including data sheet and user manual to understand the cpu, system layout, and reset and clock unit; review the board schematic to locate available pins.
Explore the Seeed Studio product page to access board and microcontroller documentation, review the pinout with default operations, and consult the schematic and data sheet in the resources.
Describe the rv32 iMac-based microcontroller family manual, detailing memory architecture, flash memory controller, pmu, dma, adc and dac, timers, serial ports, usb, and a two-stage pipeline with dynamic branch prediction.
Compare GigaDevice gb 32 f1 or three with SD Micro f1 or three, highlighting GigaDevice’s 108 megahertz max vs SD Micro’s 72 megahertz and the pin compatibility across their families.
Download the G.E.D. 32 VF 103 firmware library from Google device semiconductor GitHub, copy the peripheral library headers and sources, and ensure up-to-date, consistent dot h and dot c files.
Explore how bidirectional GPIO pins switch between input and output using the data register and data direction register, and learn practical precautions for ports and short-circuit prevention.
Explain how a microcontroller uses a data register, a D flip flop, and tri-state buffer, controlled by a data direction bit, to set a GPIO pin as input or output.
Explore the GPIO characteristics of this microcontroller, including pin configuration, input/output modes, interrupt events, remapping for flexible pin assignment, and alternate functions across five 16-bit ports.
Explore the gpio remapping function to select bins for modules and configure swg cfd bits for data interface options. Move features to alternate pins, such as timer0 channel1 to p11.
Explore how a 32-bit address space creates memory and peripheral segments with base addresses for GPIO ports, RAM, and flash, plus the memory map and APB regions.
Configure gpio c ctl zero to set pin zero as an output with push‑pull and max speed 15 mhz using and/or mask operations; then blink the board's led.
Learn by inspecting a library's source and comments, then turn to official vendor libraries on the Giga Device website for clearer guidance.
Learn about the RISC-V Instruction Set Architecture by creating applications in an actual RISC-V microcontroller! See many applications developed on a RISC-V embedded microcontroller board. We've chosen an inexpensive board so you may follow along if you want.
This course is part of a hands-on curriculum where you'll get some basic experience on the design and development of embedded applications using a RISC-V core. So far, this curriculum contains the following courses:
Part 1: The RISCV ISA. Where you'll learn about the RISC-V Instruction Set Architecture.
Part 2: Embedded Applications. Where you'll learn how to create basic applications using the on-chip peripherals.
After learning about the RISC-V ISA, it's time to talk about Embedded Applications using the awesome GD32V Dev Board by Seeed Studio. At $6.90 a piece, this is the cheapest microcontroller board I know. However, you're certainly not required to purchase anything. If you don't intend to acquire a board, you may successfully take the course by only watching the videos and written material.
Since the purpose of this second course is to get you acquainted with a RISC-V microcontroller, we'll cover the following topics, and more:
The Development Platform
The GD32 Board, by Seeed Studio
Segger Embedded Studio
The development process
GPIO
Analog I/O
Reading analog input with an ADC
Creating analog signals with a DAC
Timers
Input Capture
Output Compare
Generating periodic signals
Pulse Width Modulation
Serial Communication
Serial Peripheral Interface
The I2C interface
Asynchronous serial communication (UART)
Universal Serial Bus (USB)
Interrupts
The RISC-V interrupt model
Interrupt-driven development process