RPi and 7i90 via SPI, estop

More
13 Mar 2026 15:30 #344210 by h.hermes
RPi and 7i90 via SPI, estop was created by h.hermes
Hello everybody!
I am new to this forum, so first I want to thank everybody for all the information posted here.
I want to replace my old 32-bit computer running a 3-axis stepper cnc via a parallel port. 
What I succeeded in:
  1. I bought a Raspberry Pi 4 and a Mesa 7i90 card.
  2. I used my old computer with parallel port, connected to the 7i90 and programmed the 7i90_spi_svst4_8.bit firmware using mesaflash.
  3. I downloaded the LinuxCNC disk image for the RPi 4 and installed it.
  4. I connected the 7i90 to the Raspberry Pi (about 3 inch flat-cable, all ground lines connected). I can read the device configuration using mesaflash without problems (well after a new install of mesaflash from the git repository).
Now I want to start ``linuxcnc linuxcnc/configs/by_interface/mesa/hm2-stepper/7i90-rpi-spi.ini``. The GUI pops up and everything seems fine.
But when I press F1 to reset the estop latch nothing happens. Up to now I did not connect any drivers or switches to the 7i90.
I changed 'DEBUG = 0x7fffffff' in the ini-file and added a 'show' to the end of the ini-file. I attach the output when running the linuxcnc. I marked what happend when I pressed F1 by '******' in the text.
If you need more information (ini-file, hal-file) let me know.
Many thanks for any support, H. Hermes
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Mar 2026 01:23 #344231 by PCW
Replied by PCW on topic RPi and 7i90 via SPI, estop
Sounds like a HAL file setup error of some kind rather than a hardware related error.

Posting the hal/ini files would be helpful

 

Please Log in or Create an account to join the conversation.

More
14 Mar 2026 08:22 #344234 by h.hermes
Replied by h.hermes on topic RPi and 7i90 via SPI, estop
Unfortunately I am new to alll this hal stuff. Is there a good place to learn more about it?
I attach the hal and ini files.
Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Mar 2026 16:08 #344260 by PCW
Replied by PCW on topic RPi and 7i90 via SPI, estop
Not sure but something about the estop latch is is not working.

I would probable delete all the estop latch stuff as it's really not
needed here.

You might also be better off starting with a pncconf configuration


 

Please Log in or Create an account to join the conversation.

More
14 Mar 2026 16:19 #344261 by h.hermes
Replied by h.hermes on topic RPi and 7i90 via SPI, estop
Oh, I did not realize that there is a pcnconf utility. I used stepconf for my old machine, so hopefully this will work as well.
Deleting all the estop latch stuff did not work.
I will give pncconf a try next week.
Thank you for your help so far!

Please Log in or Create an account to join the conversation.

More
17 Mar 2026 13:53 #344408 by h.hermes
Replied by h.hermes on topic RPi and 7i90 via SPI, estop
Hi PCW,
you where right: It is no hardware issue.
I managed to use pncconf to get around the problem. Unfortunately pncconf does not support the 7i90 with spi, but I managed to generate a configuration and then change the hm2 driver manually. I hope the rest of the configuration will be no problem, otherwise I will ask in the Basic Configuration Forum.
Thanks again!

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.112 seconds
Powered by Kunena Forum