Controlling the pins of 150 MHz RISC-V development board without an operating system is significant step toward developing hardware. In this video walkthrough, we will look at one way to do this using SiFive FE310-G002 development kits, and SiFive's Freedom Metal library. There is quite a bit of code here, so see the links before examples you can copy.
RISC-V is short for (Reduced Instruction Set Architecture Five).
Full Text and References:
[ Ссылка ]
Join Our Patreon for Monthly Polls and Lessons Learned:
[ Ссылка ]
Part Numbers Used:
* Sparkfun DEV-15799 (featured here)
* Sparkfun DEV-15594
* Red LED, 3 mm
* Green LED, 3 mm
* 1k Resistor, Carbon Film 5 % (total=2)
* Solderless Breadboard
__________
Timeline:
0:52 - Objectives
1:36 - Schematic
2:57 - Programming
6:07 - Pin Numbering System
7:20 - metal_gpio_get_device
7:42 - metal_gpio_enable_output
7:55 - metal_gpio_disable_pinmux
8:25 - metal_gpio_set_pin
11:04 - Adjusting delay_us
11:30 - Closing Remarks
__________
Our Facebook Page: [ Ссылка ]
Twitter: [ Ссылка ]
Instagram: [ Ссылка ]
Stock Media provided by:
Music: Subatomic Particles - Scientific, Medical, Tasking; Percolating, Rhythmic (By: Groove_Committee)
Music: Coffee Jazz Lounge (Full Length Loop, No Vocals) (By: Scoreweaver)
__________
Notice of Non-Affiliation and Disclaimer: As of the publication date, we are not affiliated with, associated with, authorized by, endorsed by, compensated by, or in any way officially connected with the RISC-V Foundation, SiFive, Sparkfun Electronics, ARM Holdings, Microchip Technology Inc., NXP, TSMC, or Microsoft, or their owners, subsidiaries or affiliates. The names RISC-V, SiFive, PIC, AVR, Arm, Kinetis, Freedom Studio, Freedom E310 (FE310), Sparkfun Electronics, RedBoard, RED-V, ARM, and Microsoft, as well as related names, marks, emblems, and images are trademarks of their respective owners.
Important Notice: This video (the “Information”) belongs to Unboxing-tomorrow.com and Voxidyne Media LLC. No license is granted for the use of it other than for information purposes. No license of any intellectual property rights is granted. The Information is subject to change without notice. The Information supplied is believed to be accurate, but Voxidyne Media LLC assumes no responsibility for its accuracy or completeness, any error in or omission from it or for any use made of it. Liability for loss or damage resulting from any reliance on the Information or use of it (including liability resulting from negligence or where Voxidyne Media LLC was aware of the possibility of such loss or damage arising) is excluded.
![](https://s2.save4k.ru/pic/pe6KbwCQuSM/maxresdefault.jpg)