

The HiFive1, manufactured by SiFive, is a RISC-V-based development board designed for prototyping and educational purposes. It features a 32-bit RISC-V processor, GPIO pins, and various interfaces for connecting sensors and peripherals. The HiFive1 is ideal for embedded systems projects, enabling developers to explore the capabilities of the open-source RISC-V architecture.








The HiFive1 development board is built around the SiFive FE310-G002 microcontroller, which is based on the RISC-V ISA. Below are the key technical details:
The HiFive1 board features a 40-pin header with the following pin assignments:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3.3V | 3.3V power output |
| 2 | GND | Ground |
| 3 | IO0 | Digital I/O pin 0 |
| 4 | IO1 | Digital I/O pin 1 |
| 5 | IO2 | Digital I/O pin 2 |
| 6 | IO3 | Digital I/O pin 3 |
| 7 | IO4 | Digital I/O pin 4 |
| 8 | IO5 | Digital I/O pin 5 |
| 9 | IO6 | Digital I/O pin 6 |
| 10 | IO7 | Digital I/O pin 7 |
| 11 | IO8 | Digital I/O pin 8 |
| 12 | IO9 | Digital I/O pin 9 |
| 13 | IO10 | Digital I/O pin 10 |
| 14 | IO11 | Digital I/O pin 11 |
| 15 | IO12 | Digital I/O pin 12 |
| 16 | IO13 | Digital I/O pin 13 |
| 17 | SPI_CS | SPI Chip Select |
| 18 | SPI_MOSI | SPI Master Out Slave In |
| 19 | SPI_MISO | SPI Master In Slave Out |
| 20 | SPI_SCK | SPI Clock |
Below is an example of how to blink an LED connected to GPIO pin 13:
// Blink an LED connected to GPIO pin 13 on the HiFive1 board
void setup() {
pinMode(13, OUTPUT); // Set GPIO pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
The board is not detected by the computer:
Code upload fails:
Peripherals are not working as expected:
LED does not blink in the example code:
Can the HiFive1 run on battery power? Yes, the HiFive1 can be powered using an external 5V power supply, such as a battery pack.
Is the HiFive1 compatible with Arduino libraries? Many Arduino libraries are compatible with the HiFive1, but some may require modifications due to differences in architecture.
What is the maximum clock speed of the HiFive1? The HiFive1 can operate at a clock speed of up to 320 MHz.
Can I use the HiFive1 for commercial projects? Yes, the HiFive1 can be used for prototyping and commercial projects, but ensure compliance with any licensing requirements for the RISC-V architecture and associated software.
This concludes the documentation for the HiFive1 development board.