gpio driver porting from an r-pi3b
#7
(10-13-2017, 04:06 AM)MarkHaysHarris777 Wrote:
(10-12-2017, 08:12 PM)gene83 Wrote: I can excise the pi checks, but what else do I need to do to make it run on the rock64?  


The most important thing you can do is to get the RPi.GPIO-PineA64 github package !

The driver I would be porting requires the native spi to be unloaded. Its part of LinuxCNC and bitbangs the pins directly, achieving 41 megabaud writes and 25 megabaud reads running on the pi, where a data packet is a 32 bit long word. Written in C, I doubt any python implementation can do half those speeds.
This package looks to be python based, but a 5 to 15 megabaud data rate would be essentially unusable because of the com lags.

I did pickup the 800 some page TRM, and have been told to consult chapter 20 by another poster more familiar with what I am attempting to do, but have a couple other irons in the fire, starting with a wife with COPD and the approaching event that implies.

Thank you Mark. When I can return to this, I'll likely have to further clarify what I need to do then.

Cheers, gene83
  Reply


Messages In This Thread
gpio driver porting from an r-pi3b - by gene83 - 10-12-2017, 08:12 PM
RE: gpio driver porting from an r-pi3b - by gene83 - 11-14-2017, 12:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 14,512 01-15-2023, 10:36 AM
Last Post: ds00
  Configuring Python GPIO Pin Control Rock64 www139 3 8,365 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  Help connecting a dvb board in the right gpio pins cosmodeal 0 2,374 11-11-2020, 12:48 PM
Last Post: cosmodeal
Question UARTs from GPIO headers maks.dav 3 5,545 10-30-2020, 07:44 AM
Last Post: maks.dav
  RTL8812AU driver and connection issues pane 7 10,601 12-20-2018, 04:56 PM
Last Post: pane
  WIFI driver compilation wsk 1 3,146 11-01-2018, 12:21 AM
Last Post: wsk
  GPIO extension cable fault viguzzz 12 15,040 05-18-2018, 04:03 AM
Last Post: viguzzz
Question Rock64 GPIO Nak64Rbit 5 8,320 04-04-2018, 12:53 AM
Last Post: hryst

Forum Jump:


Users browsing this thread: 4 Guest(s)