Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Michael Brown
Great good to hear ... just knock yourself out :-) On Thursday, 31 August 2017 20:31:12 UTC+2, Bas de Bruijn wrote: > > some results on testing your cramps configuration. > > I’m reading Analog Inputs… Great work! > > I have taken your cramps dbto file and I can see change of ADC pins with a >

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Bas de Bruijn
some results on testing your cramps configuration. I’m reading Analog Inputs… Great work! I have taken your cramps dbto file and I can see change of ADC pins with a linear potmeter attached to channel 0. for the record, I’ve used this image:

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Michael Brown
First I created the schematic: https://github.com/the-snowwhite/socfpga-kicad/tree/master/Cramps2nano-soc My first Prusa-i3 setup I wired manually. The second larger setup I soldered an board adaptor for, however the tmc2130 spi daisy chain is wired manually. I use the LTC interface for the spi

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Michael Brown
Hmmm :-) I wish it were that simple. I have So far ended up with all these Additions to get the new config to compile. https://github.com/the-snowwhite/mksocfpga/commit/5ffb10f23b0fb1c741c950b7e53ff354f54f9d2d --- git clone https://github.com/machinekit/mksocfpga.git/ cd mksocfpga docker run -itv

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Bas de Bruijn
> On 30 Aug 2017, at 23:59, Michael Brown wrote: > > The Adc functionality is only implemented in the new recently added DE0 / > DE10(commit pending) Nano SoC configs > >

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-31 Thread Bas de Bruijn
> On 30 Aug 2017, at 23:59, Michael Brown wrote: > > Yes (ADC functionality is not added to the bitfiles from that Quartus > project: > https://github.com/machinekit/mksocfpga/tree/master/HW/QuartusProjects/DE0_Nano_SoC_DB25) > > Initially only the recent added 3

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-30 Thread Michael Brown
Yes (ADC functionality is not added to the bitfiles from that Quartus project: https://github.com/machinekit/mksocfpga/tree/master/HW/QuartusProjects/DE0_Nano_SoC_DB25) Initially only the recent added 3 new .rbf bitfiles, generated from these config files have the ADC functionality included:

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-30 Thread Bas de Bruijn
On Monday, August 28, 2017 at 9:35:16 AM UTC+2, Bas de Bruijn wrote: > > > > On Sunday, August 27, 2017 at 4:15:59 PM UTC+2, Michael Brown wrote: >> >> The 2 (tested) commits are now online: >> >> https://github.com/machinekit/mksocfpga/pull/87 >>

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-28 Thread Bas de Bruijn
On Sunday, August 27, 2017 at 4:15:59 PM UTC+2, Michael Brown wrote: > > The 2 (tested) commits are now online: > > https://github.com/machinekit/mksocfpga/pull/87 > https://github.com/machinekit/machinekit/pull/1253 > Sounds great Michael! I'll be updating my De0-nano board and I'll be trying

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-27 Thread Michael Brown
Great thanks for the merge.. I decided to try to spin up a hybrid DE10 /DE0 Nano image, for final test, so far it boots. I will report progress in the other thread .. :-) On Sunday, 27 August 2017 17:19:03 UTC+2, Charles Steinkuehler wrote: > > Wow, great work! > > THANKS!!! > > Both PRs are

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-27 Thread Charles Steinkuehler
Wow, great work! THANKS!!! Both PRs are now merged. On 8/27/2017 9:15 AM, Michael Brown wrote: > The 2 (tested) commits are now online: > > https://github.com/machinekit/mksocfpga/pull/87 > https://github.com/machinekit/machinekit/pull/1253 > > > On Tuesday, 15 August 2017 23:31:56 UTC+2,

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-08-27 Thread Michael Brown
The 2 (tested) commits are now online: https://github.com/machinekit/mksocfpga/pull/87 https://github.com/machinekit/machinekit/pull/1253 On Tuesday, 15 August 2017 23:31:56 UTC+2, Michael Brown wrote: > > Thanks a lot that pushed me in the right direction. > > I now have my 2 python based

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-07-17 Thread Charles Steinkuehler
On 7/16/2017 3:09 PM, Michael Brown wrote: Next I tried out with the image you pointed to only linking to these instructions: docker pull cdsteinkuehler/jessie-quartus-15.1.2 this gives me an image I then can start with: docker run -it cdsteinkuehler/jessie-quartus-15.1.2 And then what ?

Re: [Machinekit] Re: Reading current/torque from Mesa motion cards

2017-07-16 Thread Charles Steinkuehler
You are close. You're best chance of success is using my latest Docker image and running things the same way as the automated builds. I am traveling at the moment, but IIRC the "magic" incantations are in either a Travis or Jenkins config file. From memory, I believe you checkout a local

[Machinekit] Re: Reading current/torque from Mesa motion cards

2017-06-25 Thread Michael Brown
On Sunday, 25 June 2017 16:45:55 UTC+2, Bas de Bruijn wrote: > > Hi, > > This is a question to the mesa/De0 nano SOC FPGA guru's > Would it be possible to measure current from a DC motor driven by a mesa > 7i30 daughter card by means of (example) > https://www.pololu.com/product/1185 > > I