Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


GPIO and SPI
#11
(08-27-2016, 07:14 AM)DonFL Wrote: Marcus, I'm curious if you've had that conversation with Gordon re helping with wiringPi for the Pine, or not as yet. Sounds like you did, and he was interested. Reason i ask is, awhile back, month or so,  I pinged him and inquired about wiring pi for the Pine, and got a very direct "not interested..", but may have just caught him on a bad day, or he just needs the right person to ask. And it very well could be a non-issue if Richard is able to complete his project.

The initial response I received was , "interested but unable to devote any time to it". He indicated that other people have ported his stuff to other platforms, and he encouraged me to go for it ...  what changed the scenario was tllim offering to send him a board if he would work on it. (that was the discussion we were in via email when KB3VGW posted his stuff to pine64.pro.  My next step with Gordon was negotiating to exchange the board for motive and interest.   Smile   That is where it got left...
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! )
Reply
#12
Is there any new updates on getting wiringPi to work on the Pine64? I tried getting this repo to work https://github.com/pfeerick/wiringPi-Pine64, but not sure how different the gpio layout is on the Pine vs the pi. I was hoping I just needed to make some minor changes, but that didn't seem to be the case.
Just wondering if someone got this working? I would prefer to write in C/C++ instead of python.
Reply
#13
I also did not find any working WiringPI solution for the Pine64.
I will try to make a version for the Pine64 myself by using the
latest release from https://git.drogon.net/ and differences in
pfeerick release and items already working in the Python
version. I will post a link as soon as i got it working.
Reply
#14
(04-21-2017, 12:53 AM)pkfpeters Wrote: I also did not find any working WiringPI solution for the Pine64.
I will try to make a version for the Pine64 myself by using the
latest release from https://git.drogon.net/ and differences in
pfeerick release and items already working in the Python
version. I will post a link as soon as i got it working.

Awesome, thanks pkfpeters  Smile
Reply
#15
Small update: I have changed the detection routines of the original code. It is now able to detect a Pine A64.
I am currently working on reworking the base address and gpio pin mapping; this is taking more work because
i also want to understand what i am doing; i am using the Rpi.GPIO source and the processor manual to
understand how the mapping is done.

It will be a hack on drogon's code, because it currently is too much work to make it like i normally would have
done. Gordon's wiringPi is perfect for Raspberry Pi's, but does not leave much room for other non Rpi boards.
Non the less, i am still very happy and gratefull for using his wiringPi code because a lot is done and it opens
up the possibility of using the openPLC project for industrial automation.

I will keep you informed.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Star GPIO, SPI and I2C C++ Lib databit 3 88 04-21-2017, 05:10 PM
Last Post: databit
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 2 543 03-30-2017, 08:08 PM
Last Post: tllim
  RPi.GPIO python module for Pine A64/A64+ aquilegia 76 8,289 02-23-2017, 10:05 AM
Last Post: martinayotte
  Read GPIO problem shworker 3 204 02-22-2017, 04:23 AM
Last Post: MarkHaysHarris777
  GPIO fiq capability joseph 3 325 11-10-2016, 06:07 PM
Last Post: joseph
  RPI2-GPIO mus1c 6 618 09-22-2016, 05:28 AM
Last Post: mus1c
  Fixing GPIO user permission errors pfeerick 0 580 09-18-2016, 04:54 AM
Last Post: pfeerick
  fm transmitter with gpio weasel18 0 287 09-02-2016, 05:09 PM
Last Post: weasel18
  C GPIO igna09 22 2,105 09-01-2016, 09:06 AM
Last Post: martind1983
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 1 1,097 08-27-2016, 01:02 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)