EULER bus question...
#3
(05-20-2017, 05:19 AM)ealbers Wrote: I'm trying to figure out how many GPIO pins I can use on the EULER bus, from the schematic I see some which look like they may be usable as GPIO so long as I don't need their 'primary' functions....

GPIO (general purpose input output) can be used for anything;  this is completely arbitrary.  As Martinayotte has said, you may need to disable the alternate functions in the dts|dtb, and you may need to disable a driver or two;

... I do not follow that plan.  If you need more gpio pins, expand the bus with serial to parallel arrangements ( you can control any number of pins [eight per 74hc595] with five lines )  data, shift clock, stor clock, OE, and MR.  Cascade as many 595 chips as you need.  Look into SPI;  however, SPI does require disabling uart(3) and uart(4). (both on the euler bus)

The secondary advantage of expanding the bus with shift registers ( SPI or i2c ) is that the there is some buffering between your pine board and your project.  Its fine for experimenting to go directly to the gpio pins (LED labs and the like) but real projects should have a well designed interface ; particularly where inductive loads are employed. 

gpio concept is the same for most SoC(s) including the pyboard, raspberry pi, arduino, PineA64, etc... arrangement and use is completely arbitrary depending upon needs and your own imagination.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
EULER bus question... - by ealbers - 05-20-2017, 05:19 AM
RE: EULER bus question... - by martinayotte - 05-20-2017, 09:17 AM
RE: EULER bus question... - by MarkHaysHarris777 - 05-20-2017, 01:24 PM
RE: EULER bus question... - by ealbers - 05-20-2017, 05:18 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-20-2017, 09:33 PM
RE: EULER bus question... - by ealbers - 05-21-2017, 05:13 AM
RE: EULER bus question... - by pfeerick - 05-21-2017, 06:37 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-21-2017, 08:25 AM
RE: EULER bus question... - by martinayotte - 05-22-2017, 04:06 PM
RE: EULER bus question... - by pfeerick - 05-22-2017, 07:23 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-22-2017, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I2S Codec on Euler bus of Pine A64+ RANJITT76 8 10,161 01-17-2019, 02:25 AM
Last Post: ramstadt
  Supply DC power to Pine64 via Pi-2 Connector & Euler Bus? crapped 2 5,588 05-24-2018, 01:58 AM
Last Post: crapped
  Backer 12,931 - Shipping Question pspina3rd 13 14,856 07-30-2016, 07:10 PM
Last Post: tllim
  Simple Question, has anyone successfully booted a 2Gb Pine? rahlquist 24 31,722 07-12-2016, 11:31 PM
Last Post: tllim
  Backer 11,978; Shipping question GJurriens 3 4,646 07-12-2016, 06:55 PM
Last Post: tllim
  Case question Fosterocalypse 5 5,589 05-02-2016, 10:35 PM
Last Post: Fosterocalypse
  Playbox Kit Question! TGCOM 8 10,822 02-22-2016, 12:13 AM
Last Post: Ghost

Forum Jump:


Users browsing this thread: 1 Guest(s)