11-14-2017, 12:08 AM
(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