Skip to content

dgrubb/HiFive1-Korobeiniki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiFive1-Korobeiniki

Quick demonstration of the PWM module for SiFive's FE310 chip, as used on the HiFive1 dev board.

Demo video.

Korobeiniki

Usage

Checkout the freedom-e-sdk and move korobeiniki to freedom-e-sdk/software (or clone directly in place). Make as usual with the SDK to build and upload to target development board:

dave@Prospero:~/freedom-e-sdk$ make software PROGRAM=korobeiniki BOARD=freedom-e300-hifive1
dave@Prospero:~/freedom-e-sdk$ make upload PROGRAM=korobeiniki BOARD=freedom-e300-hifive1

Files

  • korobeiniki.c: Quick and dirty demonstration. Sets up PWM and adjusts frequency and duty cycle to generate musical tones.
  • Makefile: Adds functionality specific to this demo. Note that it's not standalone and relies on including other Makefiles from the SDK.
  • korobeiniki-demo-video.mp4: Shows the program in action with a corresponding oscilloscope trace.

About

Demonstrate PWM module on SiFive's RISC-V FE310 chip, as used on the HiFive1 dev board, by using it to generate music.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors