HAN Pilot Platform
Demonstration Manual
44
www.terasic.com
September 6, 2019
Chapter 3
Examples for HPS SoC
This chapter provides several C-code examples based on the Intel SoC Linux built by Yocto project.
These examples demonstrate major features connected to HPS interface on HAN Pilot Platform
such as users LED/KEY, Network Communication. All the associated files can be found in the
directory Demonstrations/SOC of the HAN Pilot Platform System CD. Please refer to Chapter 5
"
Running Linux on the HAN Pilot Platform
HAN Pilot Platform Getting Start Guide
To install the demonstrations on the host computer: Copy the directory Demonstrations into a local
directory of your choice. Intel SoC EDS v18.0 is required for users to compile the c-code project.
3
3
.
.
1
1
U
U
s
s
e
e
r
r
L
L
E
E
D
D
a
a
n
n
d
d
K
K
E
E
Y
Y
Function Block Diagram
shows the function block diagram of this demonstration. The users LED and KEY are
connected to the GPIO1 controller in HPS. The behavior of GPIO controller is controlled by the
register in GPIO controller. The registers can be accessed by application software through the
memory-mapped device driver, which is built into Intel SoC Linux.
Figure 3-1 Block diagram of GPIO demonstration
Block Diagram of GPIO Interface
The HPS provides three general-purpose I/O (GPIO) interface modules.
diagram of GPIO Interface. GPIO[28..0] is controlled by the GPIO0 controller and GPIO[57..29] is
controlled by the GPIO1 controller. GPIO[70..58] and input-only GPI[13..0] are controlled by the
Содержание HAN Pilot Platform
Страница 1: ......
Страница 92: ...HAN Pilot Platform Demonstration Manual 91 www terasic com September 6 2019...