HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0::SHORT_CONF_Register Union Reference

Short detector configuration register (SHORT_CONF) More...

#include <tmc51x0_registers.hpp>

Public Attributes

uint32_t value
 
struct { 
 
   uint32_t   s2vs_level: 4 
 
   uint32_t   reserved1: 4 
 Bits 7..4: Reserved. More...
 
   uint32_t   s2g_level: 4 
 
   uint32_t   reserved2: 4 
 Bits 15..12: Reserved. More...
 
   uint32_t   shortfilter: 2 
 
   uint32_t   shortdelay: 1 
 
   uint32_t   reserved3: 13 
 Bits 31..19: Reserved. More...
 
bits 
 

Detailed Description

Short detector configuration register (SHORT_CONF)

Configuration for short circuit detection sensitivity and filtering.

Bit assignments per datasheet:

  • Bits 3..0: S2VS_LEVEL - Short to VS detector level for lowside FETs Checks for voltage drop in LS MOSFET and sense resistor. 4 (highest sensitivity) ... 15 (lowest sensitivity) Hint: Settings from 1 to 3 will trigger during normal operation due to voltage drop on sense resistor. (Reset Default: OTP 6 or 12)
  • Bits 11..8: S2G_LEVEL - Short to GND detector level for highside FETs Checks for voltage drop on high side MOSFET 2 (highest sensitivity) ... 15 (lowest sensitivity) Attention: Settings below 6 not recommended at >52V operation – false detection might result (Reset Default: OTP 6 or 12)
  • Bits 17..16: SHORTFILTER - Spike filtering bandwidth for short detection 0 (lowest, 100ns), 1 (1μs), 2 (2μs), 3 (3μs) Hint: A good PCB layout will allow using setting 0. Increase value, if erroneous short detection occurs. (Reset Default = %01)
  • Bit 18: shortdelay - Short detection delay 0=750ns: normal, 1=1500ns: high The short detection delay shall cover the bridge switching time. 0 will work for most applications. (Reset Default = 0)

Member Data Documentation

◆ [struct]

struct { ... } tmc51x0::SHORT_CONF_Register::bits

◆ reserved1

uint32_t tmc51x0::SHORT_CONF_Register::reserved1

Bits 7..4: Reserved.

◆ reserved2

uint32_t tmc51x0::SHORT_CONF_Register::reserved2

Bits 15..12: Reserved.

◆ reserved3

uint32_t tmc51x0::SHORT_CONF_Register::reserved3

Bits 31..19: Reserved.

◆ s2g_level

uint32_t tmc51x0::SHORT_CONF_Register::s2g_level

Bits 11..8: Short to GND detector for high side FETs (2-15, highest to lowest sensitivity)

◆ s2vs_level

uint32_t tmc51x0::SHORT_CONF_Register::s2vs_level

Bits 3..0: Short to VS detector for low side FETs (4-15, highest to lowest sensitivity)

◆ shortdelay

uint32_t tmc51x0::SHORT_CONF_Register::shortdelay

Bit 18: Short detection delay (0=750ns normal, 1=1500ns high)

◆ shortfilter

uint32_t tmc51x0::SHORT_CONF_Register::shortfilter

Bits 17..16: Spike filtering bandwidth (0=100ns, 1=1μs, 2=2μs, 3=3μs)

◆ value

uint32_t tmc51x0::SHORT_CONF_Register::value

The documentation for this union was generated from the following file: