|
本帖最后由 Doreen 于 2022-4-2 11:22 编辑
使用DE10-Nano-Cloud-Native_18.04.img
基於 Module5_Sample_HW 修改,增加32 bits PIO接到GPIO 1
將RFS接到GPIO_1,使用RFS上的BT_KEY做範例
依照de10-nano手册Chapter 7 Examples for using both HPS SoC and FGPA 加入PIO控制
PIO的manual: https://www.intel.com/content/ww ... /21-4/pio-core.html
software: software/main.c
overlay: output_files/Module5_Sample_HW.rbf, rfs-overlay.dtbo, overlay.sh
Flash SD Card with Ubuntu 18 Image
connect RFS to GPIO_1 of DE10-Nano
Disable overlay and lightdm during boot
Copy the overlay file to to /home/root/
Copy the software(HPS_FPGA_KEY_LED) to to /home/root/
Execute overlay.sh in DE10-Nano
ExecuteHPS_FPGA_KEY_LED in DE10-Nano, press BT_KEY of RFS |
|