grblHAL / LPC176x

grblHAL driver for LPC1968 and LPC1769
Other
19 stars 23 forks source link

QEI ON LPC1769 #29

Open gjcollie opened 2 years ago

gjcollie commented 2 years ago

I'm curious if it is possible to get QEI or spindle sync working on LPC1769 board like the SKR turbo. I see that the chip itself does support QEI.

terjeio commented 2 years ago

Both should be possible but is it worth the effort? QEI support for the encoder plugin is likely relatively easy to implement, spindle sync not so since the few drivers/boards that currently supports spindle sync has a MCU with a FPU (used for the PID calculations) and routes the spindle encoder input to a timer clock to reduce interrupt load.

If you want to give it a try feel free to do so.