Browse Source

Reduce default LPC176x ADC lowpass filtering

Chris Pepper 6 years ago
parent
commit
b6095fd084
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_LPC1768/HAL.h

+ 1
- 1
Marlin/src/HAL/HAL_LPC1768/HAL.h View File

@@ -133,7 +133,7 @@ uint8_t spiRec(uint32_t chan);
133 133
                                     // Memory usage per ADC channel (bytes): (6 * ADC_MEDIAN_FILTER_SIZE) + 16
134 134
                                     // 8 * ((6 * 23) + 16 ) = 1232 Bytes for 8 channels
135 135
 
136
-#define ADC_LOWPASS_K_VALUE    (6)  // Higher values increase rise time
136
+#define ADC_LOWPASS_K_VALUE    (2)  // Higher values increase rise time
137 137
                                     // Rise time sample delays for 100% signal convergence on full range step
138 138
                                     // (1 : 13, 2 : 32, 3 : 67, 4 : 139, 5 : 281, 6 : 565, 7 : 1135, 8 : 2273)
139 139
                                     // K = 6, 565 samples, 500Hz sample rate, 1.13s convergence on full range step

Loading…
Cancel
Save