Replies: 2 comments
-
If you don't have specific reason to use high frequency for reports, please avoid it. I think there is no such limitation in firmware but the max workable frequency depends on which controller/hardware and means of communication (Ethernet/wifi-STA/wifi-AP/USB-serial etc.) |
Beta Was this translation helpful? Give feedback.
-
To add to the excellent comment above: if the output buffer is full the main processing loop will be blocked until there is room for the complete report. With default transfer speed of 115200 baud in UART mode (~10Kb/s), and most drivers having a 512 byte output buffer, you can estimate how fast you can go based on the report length - which is configuration dependent. Network and native USB1 connections can go (a lot) faster, but the overhead is larger so it is wise to leave plenty of headroom, especially if high step rates are configured. Note that the auto report setting ($481) is limited to the 100-1000ms interval range. Finally, do not forget that a sender has to process the data and that there might be a lot of "ok" messages interleaved in the output... 1 Native USB is when the USB stack is handled by the MCU, not a UART <> USB bridge chip. E.g. the ESP32 driver does not use native USB. |
Beta Was this translation helpful? Give feedback.
-
is grblhal can get 100Hz frequency report or it only 20Hz maximum ?
Beta Was this translation helpful? Give feedback.
All reactions