[Grbl_Esp32 Issue#1466] Control Switch interrupts not working on certain pins

未分类 bolang 3周前 (10-14) 7次浏览 0个评论

Issue #1466 | 状态: 进行中 | 作者: kpatel122 | 创建时间: 2023-05-23


This is more likely an issue with esp32 rather than grbl esp but I’ll ask just in case this isn’t the case

If I wire my control switches to the following pins everything works as expected:


#define CONTROLCYCLESTARTPIN GPIONUM_18 //WORKS
#define CONTROLRESETPIN GPIONUM23 //WORKS
`

Wiring my switches to the following pins does not execute the interrupts. I've confirmed the internal pull ups are enabled using a volt meter and that it is pulled to ground when the switch is pressed

`
#define CONTROLCYCLESTARTPIN GPIONUM_26 //interrupt not called
#define CONTROLRESETPIN GPIONUM27 //interrupt not called
`
GPIO_5 also does not generate the ISR

Using these pins, the interrupts are not run I've confirmed the interrupt isn't being called by putting a debug message in-
`
void IRAMATTR isrcontrol_inputs() {
grblmsgsendf(CLIENT_SERIAL, MsgLevel::Info, "isr called"); //not called for GPIO 26,27 and 5
`
Is there any reason why this might be the case ? I've disabled SD card (
`//#define ENABLESDCARD“) as I know some of those pins may conflict. So I cant think of any other reason for this behavior. I’m using an MKS DLC32 v2.1 board with the LCD disabled so only have a certain number of pins available.

Any ideas ? All help appreciated, thanks.


评论 (1)

#1 – MitchBradley 于 2023-05-23

We are no longer supporting Grbl_ESP32. Consider upgrading to its successor FluidNC.


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/1466

喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址