Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-28 Thread Bertho Stultiens
On 05/27/2017 09:43 PM, Gene Heskett wrote: >> I do not have the hm2 hardware, but that should not prevent me from >> seeing the problem on the SPI bus. > > I think you'll have to have the hm2 hardware, although I'll be glad to be > the lab rat if you want to PM me the newly built modules.

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Gene Heskett
On Saturday 27 May 2017 15:14:55 Charles Steinkuehler wrote: > On 5/27/2017 12:21 PM, Gene Heskett wrote: > > On Saturday 27 May 2017 11:26:18 Peter C. Wallace wrote: > >> You might try lowering the series termination resistor value since > >> this looks like a possible SI issue (and the clock

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Gene Heskett
On Saturday 27 May 2017 13:53:51 Bertho Stultiens wrote: > On 05/27/2017 02:41 PM, Gene Heskett wrote: > [snip] > > > If I can rebuild just this module on the pi itself, that is TBD. > > Gene, can you specify which base-distro you run on the Pi and which > kernel? I'd like to reproduce your

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Charles Steinkuehler
On 5/27/2017 12:21 PM, Gene Heskett wrote: > On Saturday 27 May 2017 11:26:18 Peter C. Wallace wrote: > >> You might try lowering the series termination resistor value since >> this looks like a possible SI issue (and the clock signal will be very >> sensitive to SI issues). > > SI? Acronym for

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Bertho Stultiens
On 05/27/2017 02:41 PM, Gene Heskett wrote: [snip] > If I can rebuild just this module on the pi itself, that is TBD. Gene, can you specify which base-distro you run on the Pi and which kernel? I'd like to reproduce your problem here on the bench and see if I can hack a fix. Also, what options

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Gene Heskett
On Saturday 27 May 2017 11:26:18 Peter C. Wallace wrote: > On Sat, 27 May 2017, Gene Heskett wrote: > > Date: Sat, 27 May 2017 08:41:26 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To:

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Peter C. Wallace
On Sat, 27 May 2017, Gene Heskett wrote: Date: Sat, 27 May 2017 08:41:26 -0400 From: Gene Heskett Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] switching to a slower spi

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Gene Heskett
On Saturday 27 May 2017 04:49:51 Bertho Stultiens wrote: > On 05/27/2017 05:46 AM, Gene Heskett wrote: > [snip] > > > This is the exact same response from the 7i90 at the initial 50 MHz > > clocking: > > > > pi@pionsheldon:~ $ linuxcnc -l > > LINUXCNC - 2.8.0-pre1-2771-gdc2ff49 > > Machine

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-27 Thread Bertho Stultiens
On 05/27/2017 05:46 AM, Gene Heskett wrote: [snip] > This is the exact same response from the 7i90 at the initial 50 MHz > clocking: > > pi@pionsheldon:~ $ linuxcnc -l > LINUXCNC - 2.8.0-pre1-2771-gdc2ff49 > Machine configuration directory > is '/home/pi/linuxcnc/configs/sheldon-lathe' >

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-26 Thread Gene Heskett
On Thursday 18 May 2017 13:01:13 Gene Heskett wrote: > On Thursday 18 May 2017 10:25:46 dave wrote: > > No problem Gene, we just cross you with an octopus. :-) > > > > Dave > > Yeah but moving the breeding apparatus from where it is, to the end of > the octpods 8th arm would be quite a trick. :)

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-18 Thread Gene Heskett
On Thursday 18 May 2017 10:25:46 dave wrote: > No problem Gene, we just cross you with an octopus. :-) > > Dave > Yeah but moving the breeding apparatus from where it is, to the end of the octpods 8th arm would be quite a trick. :) > On 05/17/2017 08:08 AM, Gene Heskett wrote: > > On Wednesday

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-18 Thread dave
No problem Gene, we just cross you with an octopus. :-) Dave On 05/17/2017 08:08 AM, Gene Heskett wrote: > On Wednesday 17 May 2017 10:38:23 Bertho Stultiens wrote: > >> On 05/17/2017 12:50 PM, Gene Heskett wrote: >> [snip] >> >>> I can't hold the probe in contact, retrigger the scope to capture

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-17 Thread Gene Heskett
On Wednesday 17 May 2017 10:38:23 Bertho Stultiens wrote: > On 05/17/2017 12:50 PM, Gene Heskett wrote: > [snip] > > > I can't hold the probe in contact, retrigger the scope to capture > > the next snapshot, and hit the up-arrow then a return to initiate > > the next signals existence as linuxcnc

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-17 Thread Bertho Stultiens
On 05/17/2017 12:50 PM, Gene Heskett wrote: [snip] > I can't hold the probe in contact, retrigger the scope to capture the > next snapshot, and hit the up-arrow then a return to initiate the next > signals existence as linuxcnc starts up. Birth defect I guess, I'd need > 6 arms, all steadier

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-17 Thread Gene Heskett
On Wednesday 17 May 2017 01:47:17 Bertho Stultiens wrote: > On 05/17/2017 04:24 AM, Gene Heskett wrote: > [snip] > > > The ideal situation in this instance would be to mirror the design > > of the 7i90 so as to rotate the 26 pin header 180 degrees, which > > would allow the cable to be only an

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Bertho Stultiens
On 05/17/2017 04:24 AM, Gene Heskett wrote: [snip] > The ideal situation in this instance would be to mirror the design of the > 7i90 so as to rotate the 26 pin header 180 degrees, which would allow > the cable to be only an inch long. Or mount the pi upside down, which > would have the same

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Tuesday 16 May 2017 17:29:34 Bertho Stultiens wrote: > On 05/16/2017 09:56 PM, Gene Heskett wrote: > > Is this driver your work, Bertho? > > No, not at all. But, I have dealt with high frequency stuff before. > The biggest problem is that some parts are in the realm of magic ;-) > Not really,

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Tuesday 16 May 2017 15:56:24 Gene Heskett wrote: > On Tuesday 16 May 2017 15:03:00 Bertho Stultiens wrote: > > On 05/16/2017 08:33 PM, Peter C. Wallace wrote: > > > 50 MHz will work if everything is terminated correctly and if the > > > RSPI timing is correct. (It may require using a SPI late

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Bertho Stultiens
On 05/16/2017 09:56 PM, Gene Heskett wrote: > Is this driver your work, Bertho? No, not at all. But, I have dealt with high frequency stuff before. The biggest problem is that some parts are in the realm of magic ;-) The RPI hardware is not made for such high frequencies. Pushing that out of a

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread andy pugh
On 16 May 2017 at 21:22, Gene Heskett wrote: > Where can I get the src for hm2_rpspi? > > And who is the author? https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hm2_rpspi.c -- atp "A motorcycle is a bicycle with a pandemonium attachment

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Tuesday 16 May 2017 15:03:00 Bertho Stultiens wrote: > On 05/16/2017 08:33 PM, Peter C. Wallace wrote: > > 50 MHz will work if everything is terminated correctly and if the > > RSPI timing is correct. (It may require using a SPI late data sample > > option if the RSPI hardware has that option)

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Peter C. Wallace
On Tue, 16 May 2017, Gene Heskett wrote: > Date: Tue, 16 May 2017 15:40:41 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] switching to a

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Tuesday 16 May 2017 14:33:29 Peter C. Wallace wrote: > On Tue, 16 May 2017, Gene Heskett wrote: > > Date: Tue, 16 May 2017 13:22:59 -0400 > > From: Gene Heskett > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To:

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Peter C. Wallace
On Tue, 16 May 2017, Bertho Stultiens wrote: > Date: Tue, 16 May 2017 21:03:00 +0200 > From: Bertho Stultiens > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" >

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Bertho Stultiens
On 05/16/2017 08:33 PM, Peter C. Wallace wrote: > 50 MHz will work if everything is terminated correctly and if the RSPI timing > is correct. (It may require using a SPI late data sample option if the RSPI > hardware has that option) > > Correct series termination of RSPI outputs (130 Ohm total

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Peter C. Wallace
On Tue, 16 May 2017, Gene Heskett wrote: > Date: Tue, 16 May 2017 13:22:59 -0400 > From: Gene Heskett > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] switching to a

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Tuesday 16 May 2017 13:22:59 Gene Heskett wrote: > On Monday 15 May 2017 09:58:04 Gene Heskett wrote: > > I may have found it!!! > > Hooking up my scope, I discovered that the original query to get the > board to ID itself, IS NOT MADE AT THE SAME CLOCK SPEED IT ACTUALLY > OPERATES AT. THE

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-16 Thread Gene Heskett
On Monday 15 May 2017 09:58:04 Gene Heskett wrote: I may have found it!!! Hooking up my scope, I discovered that the original query to get the board to ID itself, IS NOT MADE AT THE SAME CLOCK SPEED IT ACTUALLY OPERATES AT. THE INITIAL QUERY IS BEING MADE AT 50 MHz! I hung a scope probe on

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-15 Thread Gene Heskett
On Monday 15 May 2017 03:12:34 andy pugh wrote: > On 15 May 2017 at 07:26, Gene Heskett wrote: > > Or is this driver simply not a compatible driver for use on a pi 3b? > > Have you read the manpage? > http://linuxcnc.org/docs/2.7/html/man/man9/hm2_spi.9.html > > Do you have

Re: [Emc-users] switching to a slower spi driver to see if it works,

2017-05-15 Thread andy pugh
On 15 May 2017 at 07:26, Gene Heskett wrote: > Or is this driver simply not a compatible driver for use on a pi 3b? Have you read the manpage? http://linuxcnc.org/docs/2.7/html/man/man9/hm2_spi.9.html Do you have that spidev path? The manpage says that it works with the

[Emc-users] switching to a slower spi driver to see if it works,

2017-05-15 Thread Gene Heskett
Greetings; Ack the man page for hm2_spi, this driver was also written for the 7i90, but its default clock is 24 megahertz. Switching nothing else in the config, I changed the driver to hm2_spi and attempted to invoke linuxcnc -l, and got this error: hm2: loading Mesa HostMot2 driver version