Change C18 to be 0603 - 25V and rotate on PCB for easier soldering; Small logging changes; Speed step enums are actually used now for better clarity; Introduced cv_setup_check_done and flash_safe_execute_core_init_done flags for coordinating the two cores better; Incremented version no. CV_7 to 2;
This commit is contained in:
1 parent
0462d3f6b7
commit
f1961fa5bd
7 files changed
+868
-896
No files matched your search
+3
-2
@@ -16,7 +16,7 @@ uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
0b01100100, //CV_5 - V_max - Default = 100*16
|
||||
0b00111111, //CV_6 - V_mid - Default = 63*16
|
||||
0b00000001, //CV_7 - Version no. (read-only)
|
||||
0b00000010, //CV_7 - Version no. (read-only)
|
||||
// Writing a value of 8 to CV_8 resets all CV values to the default values in CV.h
|
||||
0b00001101, //CV_8 - Manufacturer (13 = Public Domain & Do-It-Yourself Decoders) (read-only)
|
||||
0b10010110, //CV_9 - PWM frequency in Hz = CV_9*100+10000 - Default = (150*100+10000)Hz = 25kHz
|
||||
@@ -62,7 +62,8 @@ uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
|
||||
0b00000000, //CV_44 -
|
||||
0b00000000, //CV_45 -
|
||||
0b00000000, //CV_46 -
|
||||
// Speed controller - Configuration ////////////////////////////////////////////////////////////////////////////////
|
||||
// TODO: Update controller CVs
|
||||
// Speed controller - Configuration /////////////////////////////////////////////////////////////////////////////////
|
||||
0b00110010, //CV_47 - Feed-forward gain k_ff = CV_47/10000 Default = 50 -> 0.005 //
|
||||
0b00001010, //CV_48 - PID Control low pass filter time constant (tau) in ms //
|
||||
0b00000101, //CV_49 - PID Control sampling time t in ms //
|
||||
|
||||
Reference in new issue
Block a user