QY-IMX6S Linux Function And Test Manual
Any question, please send E-mail
Page 14 of 72
Sales E-mail
Website
:http://www.qiytech.com
©2012 Qiyangtech
Copyright
2.4 GPIO Test
This test focus on the following 16-ch GPIO pin definition:
J5[GPIO2_0,GPIO2_1, ,GPIO2-2,GPIO2-3,GPIO2-4,GPIO2_5,GPIO
2_6,GPIO2_7].
J31[ GPIO2_16,GPIO2_17,GPIO2_18,GPIO2_19,GPIO2_20,GPIO2
_21,GPIO2_22,GPIO2_23].
Test Principle:
[Gpio_test 0] test the situation when gpio does not have external
connection, set all pin to low level or high level, through external
measure gpio actual level to confirm gpio is normal or not.
[
Gpio_test 1] will read external level signal directly, user can compare
read level data and connected level data to confirm gpio is normal.
Test Process & Result
:
Run gpio test program [ gpio_test]
./gpio_test
It hints the below information: