Skip to main content
Firmware Stable

Setup Periodic Sampling

This document describes how to configure the ESCx driver for periodic status message transmission.

info
  • All payloads use big-endian format
Interface Configuration
Advanced

Message - Configure Driver Sampling

Set bits to 1, to enable periodic transmission of the corresponding status message type.

Controller receivingCAN ID: 0x0C7(24 << 3) + 7 host address|Controller address: 0x00
Datagram byteValue / typeDescription
00x00Controller address (link layer)
10x08Configure driver sampling command
2bit 0Motor 3 - Set to 1 to enable periodic transmission
2bit 1Motor 4 - Set to 1 to enable periodic transmission
2bits 2-3Reserved
2bit 4Driver State 2- Set to 1 to enable periodic transmission
2bits 5-7Reserved
3bits 0-1Reserved
3bit 2Driver State 1- Set to 1 to enable periodic transmission
3bit 3Range and Reference- Set to 1 to enable periodic transmission
3bit 4Supply 1- Set to 1 to enable periodic transmission
3bit 6Motor 1- Set to 1 to enable periodic transmission
3bit 7Motor 2- Set to 1 to enable periodic transmission
4-5uint16Transmission period [ms]. Set to 0 to disable retransmission (one-time sample mode).
6-7uint16Initial delay [ms] before first transmission. Set to 0 to disable transmission.

Different sampling periods can be configured for each status message type by setting them individually.