From d547a5760e1cc7afe17e73043b31e4d555bee639 Mon Sep 17 00:00:00 2001 From: Gabriel Koppenstein <82903393+gab-k@users.noreply.github.com> Date: Tue, 2 Aug 2022 18:06:12 +0200 Subject: [PATCH] Updated Configuration Variables (CV) List (markdown) --- Configuration-Variables-(CV)-List.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Configuration-Variables-(CV)-List.md b/Configuration-Variables-(CV)-List.md index 1238f42..261f935 100644 --- a/Configuration-Variables-(CV)-List.md +++ b/Configuration-Variables-(CV)-List.md @@ -1,6 +1,14 @@ # Comments regarding Configuration Variables: CV.h contains default values for every CV. When your board is still "factory new" these values are automatically written into flash. CV_65 == 255 indicates a factory condition and resets all CVs to default. Alternatively to reset all CVs to default a value of 8 can be written to CV8. Also note that index 0 in the CV array corresponds with CV_1, index 1 corresponds with CV_2 and so forth. This list only contains CVs that are in use. +# Speed step configuration: +![Speed Table](https://github.com/gab-k/RP2040-Decoder/blob/main/docs/svg/speed_table.svg) +* V_min = CV_2 +* V_mid = CV_6 * 16 +* V_max = CV_5 * 16 + +The illustration above shows how the speed steps can be configured using the corresponding CVs. The red * represents V_min which is always at speed step 1, the green * shows V_mid at speed step 64 and the blue * shows V_max at speed step 126. + # CV List: #### CV_1 - Basic address @@ -16,10 +24,10 @@ CV_3*CV_175 = Time for one discrete speed step change in ms CV_4*CV_175 = Time for one discrete speed step change in ms #### CV_5 - V_max -Max motor voltage/speed +Max motor voltage/speed - V_max = CV_5 * 16 #### CV_6 - V_mid -Mid motor voltage/speed +Mid motor voltage/speed - V_max = CV_6 * 16 #### CV_7 - Version No. (Read-Only) Rev 0.3 = 1