On Monday 15 November 2021 11:44:56 dave engvall wrote:

> Is anyone using ethernet as a link between linuxcnc and a 7i90?
> Comments and/help appreciated
>
> Dave
>
Never heard of it Dave, but for an rpi, the spi interface is the fastest
by quite a bit. Both the rpi3 and the rpi4 can talk to a 7i90, writing
to it at:

pi@rpi4:/media/pi/workspace $ linuxcnc -l
LINUXCNC - 2.9.0-pre0-5020-g9f0ad4c8e
Machine configuration directory is '/home/pi/linuxcnc/configs/sheldon-lathe'
Machine configuration file is '7i90-axis.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-7i90-stepper.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_rpspi: Platform: Raspberry Pi 4 Model B Rev 1.1
hm2_rpspi: Base address 0xfe000000 size 0x01800000
hm2_rpspi: Mapped peripherals from 0xfe000000 (size 0x01800000) to 
gpio:0x0xb4200000, spi:0x0xb4204000, aux:0x0xb4215000
hm2_rpspi: SPI0/CE0 clock rate: 41666000/25000000 Hz, VPU clock rate: 500000000 
Hz
hm2_rpspi: SPI0/CE0 write clock rate calculated: 41666666 Hz (clkdiv=12) # to 
the 7i90
hm2_rpspi: SPI0/CE0 read clock rate calculated: 25000000 Hz (clkdiv=20) # from 
the 7i90
hm2_rpspi: SPI0/CE0 Valid cookie matched
hm2_rpspi: SPI0/CE0 Base: hm2_7i90.0

And does it as 4, 8 bit packets at a time. Interesting to watch, on a 
4 trace 350 mhz scope, Siglents best.

Take care and stay well Dave.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to