scottalford75 / Remora-RT1052-cpp

Remora firmware for RT1052 based CNC controllers. C++ version
12 stars 6 forks source link

Incorporation of new hardware encoder module (QDC) #12

Closed rbobey1989 closed 10 months ago

rbobey1989 commented 1 year ago

Hello Scott, I have been working on your Remora Rt1052-cpp project for a few days, I have been studying how the QDC and XBAR module works, I am attaching some photos of the tests I have done, I have added some commits with detailed descriptions of the files that I have modified, take a look, greetings, everything is for LinuxCNC and Remora enc_remora_00 enc_remora_01 enc_remora_03 20231001_212643 20231001_212652

rbobey1989 commented 11 months ago

ok, good approach, I hadn't thought about this or I didn't understand you before on the linuxcnc forum. Change the Index interruption in the Encoder for a normal pin interruption, next change thanks

rbobey1989 commented 11 months ago

There is something I was thinking about and that is that with the implementation of the Index interruption through GPIO we do not have the possibility of filtering the Pin Index signal, I remind you that the glitch filter adds delay to the signals so we would have to try a little more thoroughly....

rbobey1989 commented 11 months ago

although I repeat at the speeds I have tested it works well