Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Jeff Epler
In reading this, remember that anything I don't complain about looked fine to me. Overall this looks like pretty good code (though I haven't compiled it and of course have no hardware to test it on). Thanks for your continuing efforts on this SPI stuff. [-- Attachment #2:

[Emc-developers] Fanuc converter

2011-04-28 Thread Jon Elson
I've been mulling over how to use later Fanuc brushless motors that have the serial encoder. I have gotten just a little bit of data about them. Apparently, they send a 77-bit string at 100K bits/second. So, the readout takes almost a ms. Now, a lot of people would want to convert this to

Re: [Emc-developers] Fanuc converter

2011-04-28 Thread Chris Radek
On Thu, Apr 28, 2011 at 10:39:45AM -0500, Jon Elson wrote: So, the readout takes almost a ms. Now, a lot of people would want to convert this to quadrature. One problem shows up immediately, they have 65K and 1 million count/rev versions. Converting it to intermediate quadrature seems

Re: [Emc-developers] Fanuc converter

2011-04-28 Thread Jon Elson
Chris Radek wrote: On Thu, Apr 28, 2011 at 10:39:45AM -0500, Jon Elson wrote: So, the readout takes almost a ms. Now, a lot of people would want to convert this to quadrature. One problem shows up immediately, they have 65K and 1 million count/rev versions. Converting it to

Re: [Emc-developers] Fanuc converter

2011-04-28 Thread Chris Radek
On Thu, Apr 28, 2011 at 12:56:21PM -0500, Jon Elson wrote: Chris Radek wrote: If nothing else this will fool a timestamp based sub-period velocity estimate algorithm into giving you something crazy, which defeats our new pid features. Yes, bursting counts would ruin the timestamp

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread andy pugh
It would be convenient if you could teach your mailer to attach these as text/plain or text/x-patch. I can try not using Gmail. but the hal function mesa_7i65 does both reading and writing in one go. I did originally start with two functions and then combined them. However, I think there is

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Peter C. Wallace
On Thu, 28 Apr 2011, andy pugh wrote: Date: Thu, 28 Apr 2011 21:26:49 +0100 From: andy pugh bodge...@gmail.com Reply-To: EMC developers emc-developers@lists.sourceforge.net To: EMC developers emc-developers@lists.sourceforge.net Subject: Re: [Emc-developers] [PATCH] Add support for Hostmot2

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread andy pugh
On 28 April 2011 23:24, Peter C. Wallace p...@mesanet.com wrote: Yes, you must send to receive with SPI so unless you want to duplicate the sending (Looking at the 7I43 timing I would think not) you need to reverse the normal order of read write (for SPI only). This means that the read data is

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Peter C. Wallace
On Thu, 28 Apr 2011, andy pugh wrote: Date: Thu, 28 Apr 2011 23:29:26 +0100 From: andy pugh bodge...@gmail.com Reply-To: EMC developers emc-developers@lists.sourceforge.net To: EMC developers emc-developers@lists.sourceforge.net Subject: Re: [Emc-developers] [PATCH] Add support for Hostmot2

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Kim Kirwan
I have been following this thread with great interest. I presume the 7i49 (six-input resolver) is similarly affected due to its use of SPI to the mothercard? Is this so? I have a 7i49 here if it will help in any way (indirectly) with the 7i65. Also, note that doubling the speed of the servo

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread andy pugh
On 29 April 2011 00:36, Kim Kirwan k...@kimkirwan.com wrote: I have been following this thread with great interest. I presume the 7i49 (six-input resolver) is similarly affected due to its use of SPI to the mothercard? Is this so? I have a 7i49 here if it will help in any way (indirectly) with

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Peter C. Wallace
On Thu, 28 Apr 2011, Kim Kirwan wrote: Date: Thu, 28 Apr 2011 18:36:35 -0500 From: Kim Kirwan k...@kimkirwan.com Reply-To: EMC developers emc-developers@lists.sourceforge.net To: emc-developers@lists.sourceforge.net Subject: Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI

Re: [Emc-developers] [PATCH] Add support for Hostmot2 Buffered SPI and the Mesa 7i65

2011-04-28 Thread Jeff Epler
On Thu, Apr 28, 2011 at 09:26:49PM +0100, andy pugh wrote: It would be convenient if you could teach your mailer to attach these as text/plain or text/x-patch. I can try not using Gmail. Well, the trouble on my end is not *too* bad, just a few extra keypresses. The implementation I'd

Re: [Emc-developers] Fanuc converter

2011-04-28 Thread Dave
On 4/28/2011 11:39 AM, Jon Elson wrote: I've been mulling over how to use later Fanuc brushless motors that have the serial encoder. I have gotten just a little bit of data about them. Apparently, they send a 77-bit string at 100K bits/second. So, the readout takes almost a ms. Now, a lot