labor-mst/sw/config
Greek 922c7cdb83 * Add Project Description and Documentation (Readme.md)
* Add diagram
* Modify counters of PMOD-AD1 and PMOD-DA3 controllers to use less bits
* Increase factor width to 5 bits
	- Highest bit is truncated
* Add download directory to git repo
2020-04-29 20:59:35 +02:00

15 lines
887 B
Plaintext

#Feedback Loop Configuration File
#
#Each line of this file defines a configuration slot and consists of integer numbers delimited by white
#spaces in the following order:
#ADDSUB_MODE ADD_INPUT_MUX DELAY FACTOR TIMESTAMP
#
#ADDSUB_MODE: Select feedback mode (0=negative, 1=positive)
#ADD_INPUT_MUX: Select feedback input (0=GND[only ADC Input 1], 1=ADC Input 2[Both ADC inputs are used])
#DELAY: Clock cycles counts (50 ns period) to delay the feedback signal [0-255]
#FACTOR: Multiplication factor to apply to the feedback signal [0-16] (NOTE: Integer is intepreted as a 1Q4 Fixed Point Number!)
#TIMESTAMP: Defines the clock count number from the sync pulse from which on the configurations settings will be applied. [32-bit unsigned integer]
# First Config slot should have a timestamp equal to zero.
1 0 0 8 0
0 0 0 8 1200000000