- Posts: 8
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The long standing issue crops up enough to make the lathe unusable. You can move the system on either axis and when it stops or nears stopping, it (sometimes) suddenly jumps into motion (step change) and starts slowing down. This can be seen below. The position feedback value changes and the system compensates.
-Rafal
I'm curious as to whether we've got a similar issue that was a bug in the Remora-NVEM version where the data move was being interrupted and corrupted by the threads. It was fixed by disabling interrupts before moving the data.
Doing the same in RemoraComms.cpp at lines 165 may do the trick.Code:// ensure an atomic access to the rxBuffer // disable thread interrupts __disable_irq(); // then move the data for (int i = 0; i < BUFFER_SIZE; i++) { rxData.rxBuffer[i] = rxBuffer.rxBuffer[i]; } // re-enable thread interrupts __enable_irq();
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.