1# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2# SPDX-License-Identifier: Apache-2.0 3 4description: Global configuration flags for Trinamic stepper controller. 5 6properties: 7 en_spreadcycle: 8 type: boolean 9 description: | 10 A high level on the pin SPREAD inverts this flag to switch between both chopper modes. 11 0: StealthChop mode 12 1: SpreadCycle mode enabled 13 14 i_scale_analog: 15 type: boolean 16 description: | 17 0: Use internal reference derived from 5VOUT 18 1: Use voltage supplied to VREF as current reference 19 20 internal_rsense: 21 type: boolean 22 description: | 23 0: Operation with external sense resistors 24 1: Internal sense resistors. Use current supplied into VREF as reference for internal 25 sense resistor. VREF pin internally is driven to GND in this mode. 26 27 index_otpw: 28 type: boolean 29 description: | 30 0: INDEX shows the first microstep position of sequencer 31 1: INDEX output shows step pulses from internal pulse generator (toggle upon each step) 32 33 index_step: 34 type: boolean 35 description: | 36 0: INDEX output as selected by index_otpw 37 1: INDEX pin shows the current step position of sequencer 38 39 pdn_disable: 40 type: boolean 41 description: | 42 0: Normal operation 43 1: Power down mode 44 45 mstep_reg_select: 46 type: boolean 47 description: | 48 0: Microstep resolution selected by pins MS1, MS2 49 1: Microstep resolution selected by MRES register 50 51 poscmp_enable: 52 type: boolean 53 description: | 54 Enable position compare feature 55 0: Outputs INT and PP are tristated. 56 1: Position compare pulse (PP) and interrupt output (INT) are available 57 58 Attention – do not leave the outputs floating in tristate condition, provide an external 59 pull-up or set poscmp_enable=1 60 61 test_mode: 62 type: boolean 63 description: | 64 Enable test mode 65 0: Normal operation 66 1: Enable analog test output on pin REFR2 67 TEST_SEL selects the function of REFR2: 0…4: T120, DAC1, VDDH1, DAC2, VDDH2 68 69 Attention: Not for user, set to 0 for normal operation! 70 71 lock_gconf: 72 type: boolean 73 description: | 74 1: GCONF is locked against further write access. 75