Hello Everyone.
This is my first post at the forum as I am new to the world of linuxcnc.
Lately I converted an Optimum BF20 to CNC and while I had setup everything to work with Mach3, as this is the software I have used for my other CNC machines, I decided that it was time to try linuxcnc for this one.
Since all the electronics were already there, I decided just to swap the smoothstepper with a Mesa 7i80 board.
So the setup at the moment is: 7i80 as a controller, PMDX-126 as a breakout board, and a C53 from CNC4PC as an encoder’s board.
I have used the C53 for my CNC router and I am very happy with it, so that is why I got this one again.
For encoders I have used some self-made boards using the AS5311 IC and magnetic strips.
So far I have managed to make a custom firmware for the mesa board to use the existing boards and the PDMX-126 seems to be fully functional. But after straggling for couple of days, I was not able to get a feedback from the encoders board.
I have checked everything related to hardware and all looks fine. The encoder board is pulsing at the controller side (checked with oscilloscope), so the problem is either the firmware of 7i80 or the setup of linuxcnc.
I have run out of ideas and since this HAL setup thing is totally new to me, I will need some help from experts.
Attached I have the VHD file (changed to txt extension) of my custom firmware and the HAL file of the linuxcnc setup.
File Attachment:
File Name:
BF20.hal
File Size:13.96 KB