Hi everyone,
I’ve noticed that sometimes incoming serial data seems to get lost or misinterpreted. From what I can tell, the RX IDLE line interrupt is currently disabled (IDLE_LINE_IT = false), which might explain some occasional timing issues in the DMA ring buffer. This can cause M1xx commands to show unexpected “M1” responses when the buffer isn’t perfectly in sync - which would be quit normal with DMA writing.
Is there a particular reason the interrupt is disabled? Could re-enabling it help improve reliability? Also, I’m curious why M1 commands get special treatment for RepRap (not Marlin) only —any insights would be great!
Thanks for your help!
Hi everyone,
I’ve noticed that sometimes incoming serial data seems to get lost or misinterpreted. From what I can tell, the RX IDLE line interrupt is currently disabled (IDLE_LINE_IT = false), which might explain some occasional timing issues in the DMA ring buffer. This can cause M1xx commands to show unexpected “M1” responses when the buffer isn’t perfectly in sync - which would be quit normal with DMA writing.
Is there a particular reason the interrupt is disabled? Could re-enabling it help improve reliability? Also, I’m curious why M1 commands get special treatment for RepRap (not Marlin) only —any insights would be great!
Thanks for your help!