On Sunday 28 May 2017 16:09:07 Bertho Stultiens wrote: > On 05/28/2017 09:20 PM, Bertho Stultiens wrote: > > Well, I'n now in the position that I can report the following: > > ... > > Starting LinuxCNC... > > Starting LinuxCNC server program: linuxcncsvr > > Loading Real Time OS, RTAPI, and HAL_LIB modules > > Starting LinuxCNC IO program: io > > Found file(REL): ./hm2-7i90-stepper.hal > > Note: Using POSIX realtime > > hm2: loading Mesa HostMot2 driver version 0.15 > > Invalid cookie > > Read: 00000000 00000000 00000000 00000000 > > hm2_rpspi: rtapi_app_main: No such device (-19) > > ... > > I can also confirm that the SPI interface is running at 50MHz and not > 32MHz. This means I can, apparently, reproduce the problem. > > In my preliminary tests, I think I've seen a 32MHz clock, but that > might have been an error in measurement. > > The attached images are CS (yellow) CLK (blue) and MOSI (purple)(*). > The interface sends 32-bit in 4 discrete 8-bit blocks with a 30ns > pause in between. Each 32-bit word is spaced by ~800ns. > > Now I can start hacking code and see if it can be fixed in some way. > > > (*) all the noise is due to long wires and such. There is no load on > the I/O pins, just the scope (Tektronix DPO2024B, 200MHz BW/1GS/s and > matched 1:10 probes).
Ground loop because the scope is also grounded by its power cord? Something sure funkity. I cleaned a lot of that up by plugging it into a US 3 to 2 adapter, isolating the static ground. I'll have to see if mine can save a screenshot to a fat32 usb key. Thanks Bertho. 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) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users