Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

Dshot - Dshot Tx v1

Dshot - Dshot Tx v1 — The Dshot Tx transmits data according to the selected Dshot protocol.

Library

Simulink Real-Time - Speedgoat

Description

The Dshot Tx block transmits Dshot messages over the selected Dshot mode protocol.

Ports

The Simulink block has 1 input port with up to 32 channels.

Inputs
Tx data

The message to be transmitted with the Dshot protocol. The size of this message has either a bit length of 11 or 12, depending on the telemetry bit settings. The data type is uint16 and data is aligned on the LSB (bit 0).

Parameters

Tab: Module Setup
Configurable I/O Module ID

This parameter associates a code module block with a configurable I/O module setup block. Set this value to match the Module ID defined in the setup block of the required configurable I/O module.

Channel Vector

A vector of channels this driver block entity will access. You can specify channels in the range 1-N (N = the number of channels implemented in your specific configuration file defined in the Setup block). The width of this vector also defines the subsequent size of some of the following parameters if scalar expansion applies. With a single block, all the channels of the block are synchronized.

Sample Time

Defines the base sample time at which this driver block gets its sample hit. This parameter can also be set to -1 for inherited sample time. The units are in seconds.

Tab: Dshot
Dshot Mode

Defines which Dshot mode is used. For further information about the different modes please refer to the Usage Notes.

  • Dshot 150

  • Dshot 300

  • Dshot 600

  • Dshot 1200

Set Telemetry Bit Manually

When checked, the telemetry bit must be manually set as part of the input data. In this case, the Tx data length must be 12 bit. If not checked, the data size is 11 bit and the telemetry bit is set according to the input data value. If the value is between 1 and 47, the telemetry bit is set to 1. Otherwise it is set to 0.