[Grbl_Esp32 Issue#11] Better Serial Data Read Performance

未分类 bolang 4个月前 (10-14) 39次浏览

Issue #11 | 状态: 已关闭 | 作者: buildlog | 创建时间: 2018-07-31


Regular Grbl uses interrupts to read serial data. I did not do this on ESP32 because I expected to add multiple sources of data like BlueTooth and Wifi. I am reading via the main loop. Regular job streaming is fine, but the real time command (status, hold, etc) performance is OK, but not great.

I am experimenting with using a thread on Core0 to read the data. That appears to work better. I’ll test a while longer before pushing the code.

If you have issues related to this, let me know and I can post the push sooner.


评论 (3)

#1 – misan 于 2018-07-31

@bdring Maybe you can push more often on a dev branch while keeping the master to a more stable, older version.

Sharing code more often may (hopefully) speed up development and testing.


#2 – buildlog 于 2018-07-31

@misan You are right.

I made a Dev_SerialTask branch.


#3 – buildlog 于 2018-08-02

Performance of real time commands is now better.

Changes have been merged to master.


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

喜欢 (0)