This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8825EVM: How is the Speed Control value in the GUI converted to the Frequency Hi and Lo bytes?

Part Number: DRV8825EVM

How is the Speed Control value in the DRV8824-25 GUI converted into the Frequency Hi and Lo bytes which are sent to the microprocessor?

I noticed that the value in the Pulses Per Second control is not converted directly into two bytes, but it seems there's some calculation done before sending the bytes. How does this conversion look like?

E.g. when I send the lowest value (62) I do get {0xFF 0xFF}, and 63 gives {0xF8 0x04}.