On Thursday 03 November 2016 21:07:32 Gene Heskett wrote: > On Thursday 03 November 2016 18:04:14 W. Martinjak wrote: > > On 2016-11-03 21:57, Gene Heskett wrote: > > > Must be time to rig a psu for it, and see if I can hook it to the > > > pi. Damn I wish I had a monitor on the pi. But that > > > connector/adapter is in a bag, someplace in the USPS system. And > > > in a separate order, a $16 swinging wall mount for the monitor so > > > I can mount it well above the spindle end of it, on a stick of now > > > rusty 1.5" square tubing. > > > > Gene, > > > > I believe for testing the SPI connection ssh will do it. > > > > The hostmot2 part of the ini file should have: > > > > [HOSTMOT2] > > DRIVER=hm2_rpspi > > BOARD=7i90 > > CONFIG="" > > > > > > but I think you know that. > > > > Testing with halcmd: > > > > halcmd loadrt hostmot2 > > halcmd loadrt hm2_rpspi > > > > expected output: > > > > Base:hm2_7i90.0hm2/hm2_7i90.0: 72 I/O Pins used: > > hm2/hm2_7i90.0: IO Pin 000 (P1-01): StepGen #0, pin Step > > (Output) hm2/hm2_7i90.0: IO Pin 001 (P1-03): StepGen #0, pin > > Direction (Output) hm2/hm2_7i90.0: IO Pin 002 (P1-05): StepGen > > #1, pin Step (Output) hm2/hm2_7i90.0: IO Pin 003 (P1-07): > > StepGen #1, pin Direction (Output) hm2/hm2_7i90.0: IO Pin 004 > > (P1-09): Encoder #0, pin A (Input) hm2/hm2_7i90.0: IO Pin 005 > > (P1-11): Encoder #2, pin A (Input) hm2/hm2_7i90.0: IO Pin 006 > > (P1-13): Encoder #0, pin B (Input) hm2/hm2_7i90.0: IO Pin 007 > > (P1-15): Encoder #2, pin B (Input) hm2/hm2_7i90.0: IO Pin 008 > > (P1-17): Encoder #0, pin Index (Input) hm2/hm2_7i90.0: IO Pin > > 009 (P1-19): Encoder #2, pin Index (Input) hm2/hm2_7i90.0: IO > > Pin 010 (P1-21): Encoder #1, pin A (Input) hm2/hm2_7i90.0: IO > > Pin 011 (P1-23): Encoder #3, pin A (Input) hm2/hm2_7i90.0: IO > > Pin 012 (P1-25): Encoder #1, pin B (Input) hm2/hm2_7i90.0: IO > > Pin 013 (P1-27): Encoder #3, pin B (Input) hm2/hm2_7i90.0: IO > > Pin 014 (P1-29): Encoder #1, pin Index (Input) ..... > > etc > > > > Good luck again! > > > > > > Matsche > > All of which I would be glad to verify, but first, connect the right > pins to the right pins when the writers of the 7i90HD pdf, and the > colored images you sent, are in 2 differing dialects of english. spi0 > clock, and a ground was easy enough, but I'd druther be stumped with > good boards in front of me, than plug it in wrong and blow $103 worth > of pi or 7i90HD. > > Thanks. > > Cheers, Gene Heskett
I have it connected. I think since no one has responded with a translation of the two different dialects of swahili. From 7i90 P4-11=SPICLK to R-pi pin 23="SPI0 SCLK" From 7i90 P4-13=SPIIN to R-Pi pin 21="SPI0 MISO" From 7i90 P4-15=SPIOUT to R-Pi pin 19="SPI0 MISI" From 7i90 P4-17=/SPICS to R-Pi pin 24="SPI0 CS0" I have interchanged the MSII and MSIO connections, and I have tried both of the R-Pi's SPI0 CS0 and SPI0 CS1's. The only response I am getting for this second line of the test above, for all the hookup variations I have tried; halcmd loadrt hm2_rpspi is: gene@raspberrypi:~/linuxcnc/configs/by_interface.mesa.hm2-stepper $ halcmd loadrt hm2_rpspi Note: Using POSIX realtime hm2_rpspi: dlopen: /usr/lib/linuxcnc/modules/hm2_rpspi.so: undefined symbol: hm2_register <commandline>:0: waitpid failed /usr/bin/rtapi_app hm2_rpspi <commandline>:0: /usr/bin/rtapi_app exited without becoming ready <commandline>:0: insmod for hm2_rpspi failed, returned -1 I do have an extra jumper connecting grounds between the boards. A halcmd show is interesting: gene@raspberrypi:~/linuxcnc/configs/by_interface.mesa.hm2-stepper $ halcmd show Loaded HAL Components: ID Type Name PID State 2 User halcmd7453 7453 ready Component Pins: Owner Type Dir Value Name Pin Aliases: Alias Original Name Signals: Type Value Name (linked to) Parameters: Owner Type Dir Value Name Parameter Aliases: Alias Original Name Exported Functions: Owner CodeAddr Arg FP Users Name Realtime Threads: Period FP Name ( Time, Max-Time ) Basically nothing there IOW. Thanks, but I've tried, now its your turn to tell me whats wrong. Or if I've toasted it all. 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> ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users