|
|
|
@ -2,6 +2,9 @@ |
|
|
|
|
## GEX v1.0.0 on STM32F072-HUB |
|
|
|
|
## built Jun 15 2018 at 13:45:28 |
|
|
|
|
|
|
|
|
|
# Overwrite this file to change settings. |
|
|
|
|
# Press the LOCK button to save them to Flash. |
|
|
|
|
|
|
|
|
|
[UNITS] |
|
|
|
|
# Create units by adding their names next to a type (e.g. DO=A,B), |
|
|
|
|
# remove the same way. Reload to update the unit sections below. |
|
|
|
@ -31,7 +34,7 @@ TOUCH= |
|
|
|
|
# Simple PWM output |
|
|
|
|
PWMDIM= |
|
|
|
|
# Two-channel analog output with waveforms |
|
|
|
|
DAC= |
|
|
|
|
DAC=dac |
|
|
|
|
|
|
|
|
|
[SPI:spi@2] |
|
|
|
|
# Peripheral number (SPIx) |
|
|
|
@ -55,7 +58,7 @@ first-bit=MSB |
|
|
|
|
# SS port name |
|
|
|
|
port=A |
|
|
|
|
# SS pins (comma separated, supports ranges) |
|
|
|
|
pins=4 |
|
|
|
|
pins=3 |
|
|
|
|
|
|
|
|
|
[ADC:adc@4] |
|
|
|
|
# Enabled channels, comma separated |
|
|
|
@ -73,7 +76,7 @@ frequency=1000 |
|
|
|
|
# - defines the maximum pre-trigger size (divide by # of channels) |
|
|
|
|
# - captured data is sent in half-buffer chunks |
|
|
|
|
# - buffer overrun aborts the data capture |
|
|
|
|
buffer_size=512 |
|
|
|
|
buffer_size=800 |
|
|
|
|
|
|
|
|
|
# Enable continuous sampling with averaging |
|
|
|
|
# Caution: This can cause DAC output glitches |
|
|
|
@ -81,4 +84,17 @@ averaging=N |
|
|
|
|
# Exponential averaging coefficient (permil, range 0-1000 ~ 0.000-1.000) |
|
|
|
|
# - used formula: y[t]=(1-k)*y[t-1]+k*u[t] |
|
|
|
|
# - not available when a capture is running |
|
|
|
|
avg_factor=800 |
|
|
|
|
avg_factor=80 |
|
|
|
|
|
|
|
|
|
[DAC:dac@1] |
|
|
|
|
# Enabled channels (1:A4, 2:A5) |
|
|
|
|
ch1_enable=Y |
|
|
|
|
ch2_enable=N |
|
|
|
|
# Enable output buffer |
|
|
|
|
ch1_buff=Y |
|
|
|
|
ch2_buff=Y |
|
|
|
|
# Superimposed noise type (NONE,WHITE,TRIANGLE) and nbr. of bits (1-12) |
|
|
|
|
ch1_noise=NONE |
|
|
|
|
ch1_noise-level=3 |
|
|
|
|
ch2_noise=NONE |
|
|
|
|
ch2_noise-level=3 |
|
|
|
|