From 46f58a96845c920aae4dd639387bf38c07772dcb Mon Sep 17 00:00:00 2001 From: Gabriel Koppenstein <82903393+1nct@users.noreply.github.com> Date: Tue, 1 Mar 2022 01:33:01 +0100 Subject: [PATCH] Initial creation --- Configuration-Variables-(CV)-List.md | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Configuration-Variables-(CV)-List.md diff --git a/Configuration-Variables-(CV)-List.md b/Configuration-Variables-(CV)-List.md new file mode 100644 index 0000000..8f61df3 --- /dev/null +++ b/Configuration-Variables-(CV)-List.md @@ -0,0 +1,35 @@ +# Comments regarding Configuration Variables: +CV.h contains default values for every CV. When your board is still "factory new" these values need to be written into flash. This is done easiest by writing a value of 8 to CV8. Also note that index 0 in the CV array corresponds with CV1 and so forth. Also note that the CV list only contains CVs that are in use. +# CV List: +### CV1 - Basic address +Short DCC address +*** +### CV2 - V_min +Min motor voltage +*** +### CV3 - Acceleration rate +CV_3*CV_59 = Time for one discrete speed step change in ms +*** +### CV_4 - Deceleration rate +CV_4*CV_59 = Time for one discrete speed step change in ms +*** +### CV_5 - V_max +Max motor voltage +*** +### CV_6 - V_mid +Mid motor voltage +*** +### CV_7 - Version No. +Rev 0.2 = 1 + +Writing a value of 7 starts the offset adjustment procedure ("Motor calibration") +*** +### CV_8 - Manufacturer +Default = 13 = Public Domain & Do-It-Yourself Decoders + +Writing a value of 8 resets all CV values to the values in CV.h +*** +### CV_9 - PWM Frequency +f in Hz = CV_9 * 100 + 10000 + +Default = (150 * 100 + 10000)Hz = 25kHz \ No newline at end of file