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).

-- 
Greetings Bertho

(disclaimers are disclaimed)
------------------------------------------------------------------------------
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

Reply via email to