UEXT pins as GPIO

Started by gvi70000, January 30, 2016, 09:09:03 PM

Previous topic - Next topic

gvi70000

Hello all,

Is it possible to use the SPI pins from UEXT 1/2 as normal GPIO pins? if yes how do i do it?

Gerrit

if you look up the port name in this table http://linux-sunxi.org/A20/PIO you can assign a gpio_pin to it in the fex file, but make sure it is not assigned for anything else any more.

more about the FEX file you find here http://linux-sunxi.org/Fex_Guide

after changing script.fex you need the fex2bin program to create script.bin

fex2bin is most time found in /opt/sunxi-tools/