2019-08-07 12:48 PM
Hi everybody,
I read the document UM1052 and in this document we can see this "Payload_Length: the total number of bytes that compose the frame payload". My question is: does the payload length include Payload_length byte itself and CRC ?
Precisely what the calcul for payload length ?:
1) Payload_length = Payload_length (1 byte) +Payload ID (1 byte)+ number of byte in payload content (x bytes) + CRC (1 byte)
2) Payload_length = Payload ID (1 byte)+ number of byte in payload content (x bytes) + CRC (1 byte)
3) Payload_length = Payload_length (1 byte) +Payload ID (1 byte)+ number of byte in payload content (x bytes)
4) Payload_length = Payload ID (1 byte)+ number of byte in payload content (x bytes)
5) An other combination
Best Regards
2019-09-26 08:06 AM
Hi Randy,
Just seen your question.
Calcul is matching 4) Payload_length = Payload ID (1 byte)+ number of byte in payload content (x bytes)
Best Regards
2021-06-27 10:19 PM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards