MyFPGA Forum

 找回密码
 注册
搜索
查看: 2663|回复: 0
打印 上一主题 下一主题

【FAQ】搭配RFS使用Azure solution如何通过HPS访问FPGA端2x20 GPIO

[复制链接]
跳转到指定楼层
1#
发表于 2022-4-2 11:10:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-4-23 18:16 , Processed in 0.038440 second(s), 15 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表