Skip to main content
FW version: Stable

Static Braking System

Static brake uses simple on/off input, typically a push button. Input signal (0/1) multiplies with sbrakelvl parameter to set maximum brake force. Parameters rgnslup and rgnsldn control braking signal ramp rates.

static brake

Setup Process

Input Configuration

Configure static brake input pin via /io/IN_sbrake parameter using GDIN ID.

Available inputs:

IDInput
16GDIN0
17GDIN1
18GDIN2
19GDIN3
20GDIN4
32DIN1
33DIN2
......
39DIN8

See Input mapping for details.

warning

Consider enabling pull-up resistor. GPIO configuration guide

Braking Force Configuration

Brake activation sends sbrakelvl command to the driver, using /driver/irefr as phase current reference (mode 8). Current reference details

Configure sbrakelvl in map folders (/maps/mapX) for map-specific brake force. Map documentation

info

Zero sbrakelvl disables braking but maintains accelerator override. Disable static brake via map options parameter. Options details

Response Tuning

Adjust brake attack/release rates using:

  • /brake/rgnslup: Attack rate
  • /brake/rgnsldn: Release rate

Parameters use LPF values. LPF documentation

tip

Monitor:

  • Current brake level state: /brake/sig_sbrake
  • Active brake level setting: /brake/sbrakelvl

Other Options

Default: Static brake disarms system Modify using drvopts parameter: