More GPIO

Placement, modules, components and accessories; the ones that exist and the the nice-to-be's
Post Reply
Yellow Pitaya
Posts: 4
Joined: Fri Jan 29, 2016 10:21 am

More GPIO

Post by Yellow Pitaya » Fri Jan 29, 2016 10:27 am

Hi,
Does anybody know if it is possible to use the dedicated pins (SPI, UART and I2C) as general purpose IO ?
Thanks
YP

pavel
Posts: 799
Joined: Sat May 23, 2015 5:22 pm

Re: More GPIO

Post by pavel » Fri Jan 29, 2016 10:55 am

It should be possible.

The unneeded peripherals can be disabled using the Zynq7 Processing System configurator:
  • open .xpr project in vivado
  • open block design
  • double click on Zynq7 Processing system block
  • go to Peripheral I/O pins
  • uncheck all the peripherals that you don't need
Some instructions on how to control the GPIO pins can be found at this link.

Yellow Pitaya
Posts: 4
Joined: Fri Jan 29, 2016 10:21 am

Re: More GPIO

Post by Yellow Pitaya » Fri Jan 29, 2016 11:16 am

Thanks Pavel !

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: More GPIO

Post by Nils Roos » Fri Jan 29, 2016 1:05 pm

Two things to consider:
1. You can't repurpose the IOs of the I2C, because the external EEPROM (where the calibration is stored) is connected to it.
2. You'll need to adapt the patches/devicetree.patch and remove the references to deactivated components (spi1). The same goes for the kernel config (SPIDEV).

Yellow Pitaya
Posts: 4
Joined: Fri Jan 29, 2016 10:21 am

Re: More GPIO

Post by Yellow Pitaya » Thu Feb 04, 2016 12:46 pm

Thx !
YP

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 85 guests