gpio driver porting from an r-pi3b
I've an spi driver that runs on a pi3, writing (and reading from) 32 bit packets at nominally 42 megabaud, to a mesa 7i90HD cnc interfacing card, and reading back at 25 megabaud. But its full of code that checks to make sure its running on a pi. It also has an include file that describes the bcm2835 for all its offsets etc. I can excise the pi checks, but what else do I need to do to make it run on the rock64?  The spi port used is nominally the SPI1 address in the pi scheme of things.

Thanks & Cheers

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

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

Forum Jump:

Users browsing this thread: 1 Guest(s)