Skip to content
Snippets Groups Projects
Unverified Commit b6095fd0 authored by Chris Pepper's avatar Chris Pepper Committed by GitHub
Browse files

Reduce default LPC176x ADC lowpass filtering

parent 1088846c
Branches
Tags
No related merge requests found
......@@ -133,7 +133,7 @@ uint8_t spiRec(uint32_t chan);
// Memory usage per ADC channel (bytes): (6 * ADC_MEDIAN_FILTER_SIZE) + 16
// 8 * ((6 * 23) + 16 ) = 1232 Bytes for 8 channels
#define ADC_LOWPASS_K_VALUE (6) // Higher values increase rise time
#define ADC_LOWPASS_K_VALUE (2) // Higher values increase rise time
// Rise time sample delays for 100% signal convergence on full range step
// (1 : 13, 2 : 32, 3 : 67, 4 : 139, 5 : 281, 6 : 565, 7 : 1135, 8 : 2273)
// K = 6, 565 samples, 500Hz sample rate, 1.13s convergence on full range step
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment