Download PPC-3100/20 GPIO test method with SUSI 3.0

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
PPC-3100/20 GPIO test method with SUSI 3.0
1. Introduction:
This document provides customer key features and test method for
PPC-3100/20’s GPIO. For testing this function, Advantech has provided SUSI 3.0
which be downloaded on PPC-3100 and 3120 sections of Advantech website. SUSI
program contains demo program for function testing, and it also contains SUSI API
source code for customer to develop their own application. For testing this function,
a simple function of voltage meter will be required.
2. Basic Key feature:
GPIO location:
Pin number: 8 (GPIO 0~ GPIO 1)
Key features:
Low level input voltage: -0.5~0.8 V
High level input voltage: 2.2 ~ 5.5 V
For each pin, the max current provides is 20 mA.
Total current provided for 8 pins of DIO less than 80mA.
3. SUSI Introduction
Downloading Link:
http://support.advantech.com/support/SearchResult.aspx?keyword=PPC-3120&sear
chtabs=BIOS,Certificate,Datasheet,Driver,FAQ,Firmware,Installation,Manual,Online%
20Training,Software%20Utility,Software%20API,Software%20API%20Manual,Utility,3
D%20Model&select_tab=Software%20API
SUSI 3.0 Software API user’s manual:
Note: You can also get these SUSI 3.0 Software API user’s manual after you complete
install SUSI program.
SUSI 3.0 Installation:
1. After you download SUSI 3.0 from Advantech website, double click on it.
2. Select “I accept the terms of the license agreement” and press Next:
3. Select on “Complete” and press next:
4. Start installation:
Notification:
During the installation, you will see the below picture few times. Please select on
Install this driver software anyway on all of them.
GPIO Function Test through SUSI 3.0:
1. Getting Start:
2. GPIO Pin test:
a. Select Programmable GPIO as 1 shown in Picture 1.
b. Select Multiple Pin as 2 shown in Picture 1.
c. In 3 of picture 1, input eight 1 as shown.
(Since we have 8 GPIO pins, the eight 1 will activate all of them)
Picture 1
d. Input eight 1 for direction as shown in Picture 2, this is for setting GPIO 0~
GPIO1 to be read.
(1 means read, 0 means write for each GPIO pin)
e. Click on set direction as every time the GPIO directions change.
f. Since the direction for each pin is set to 1, press “IO Read” (3 in picture 2).
The status will be all 1 if you didn’t connect anything to GPIO pins.
Picture 2
g. In this step, you can try to measure each pin to see if the voltage for each pin
is about 5 V.
h. After we test with READ, we change direction to eight 0 for write function
testing.
(1 of Picture 3)
i. Change the status to 0 for each pin on 2 of Picture 3, press on “Set Direction”.
j. Press IO Write on 4 of Picture 3.
Picture 3
k. You can use multi-meter to measure each pin to see if all of them are low
(0V).