7i90 questions

More
06 Mar 2017 20:21 #89103 by PCW
I've been pretty busy, will try and make a suitable bit file set today or tomorrow
The following user(s) said Thank You: JR1050
More
07 Mar 2017 22:44 #89178 by PCW
freeby.mesanet.com/ssst8_6.zip

EPP and SPI 7I90 configs with 8x sserial (7I44 pinout) on P3
and 6 stepgens on P1 (P2 is GPIO only)
More
16 Mar 2017 20:20 #89781 by JR1050
I managed to get lcnc to load on the rspi3, it was easier then I thought it would be, I installed synaptic and it installed 2.8 pre, which is a little different. Anyway. I installed the bit file for spi from above on the 7i90, from halcommand it loaded the hm2_rpspi and showed the pins.

halcmd: loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=1 sserial_port_0=002xxx"
Base:hm2_7i90.0hm2/hm2_7i90.0: Smart Serial Firmware Version 43
hm2/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): IOPort
hm2/hm2_7i90.0: IO Pin 003 (P1-07): IOPort
hm2/hm2_7i90.0: IO Pin 004 (P1-09): IOPort
hm2/hm2_7i90.0: IO Pin 005 (P1-11): IOPort
hm2/hm2_7i90.0: IO Pin 006 (P1-13): IOPort
hm2/hm2_7i90.0: IO Pin 007 (P1-15): IOPort
ect

File Attachment:

File Name: knights_20...3-16.ini
File Size:4 KB

File Attachment:

File Name: hm2-stepper.hal
File Size:1 KB

File Attachment:

File Name: knights_20...3-16.ini
File Size:4 KB

File Attachment:

File Name: hm2-stepper.hal
File Size:1 KB


When attempting to launch lcnc, I get a small hourglass on the screen for about 15 seconds then nothing, no errors, nada. Seems if it will work at the command line , it should load. What am I missing?
Attachments:
More
17 Mar 2017 09:48 #89810 by andypugh
Start linuxCNC from the command line (command "linuxcnc" and see what you get.

You are correct that things look OK as far as HAL and communications with the board are concerned.
More
17 Mar 2017 11:37 #89815 by JR1050
From the terminal i get the following:

(i/o pins not shown to save room)
hm2/hm2_7i90.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i90.0: registered
Base:hm2_7i90.0

Missing <max linear speed> specifier
See the 'INI Configuration' documents

Shutting down and cleaning up LinuxCNC...
task: 182 cycles, min=0.000035, max=0.019557, avg=0.009321, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: unloading
Note: Using POSIX realtime
pi@raspberrypi:~ $

im apparently missing something in the .ini file?
More
17 Mar 2017 11:51 #89816 by andypugh
Yes, the

[TRAJ]
MAX_LINEAR_VELOCITY

entry. (the error message is slightly wrong)

linuxcnc.org/docs/devel/html/config/ini-...g.html#_traj_section
The following user(s) said Thank You: JR1050
More
17 Mar 2017 12:07 #89817 by JR1050
Thats exactly what it was, added it and we now have a working rspi3 7i90-spi combo that appears to work.
Moderators: PCWjmelson
Time to create page: 0.157 seconds
Powered by Kunena Forum