Kconfig: Change default CANbus frequency to 1000000

Change the default CANbus frequency from 500000 to 1000000.  A higher
frequency allows for greater data transfer rates, lower latency of
messages, and should overall be more robust.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2023-05-20 16:49:48 -04:00
parent 81e4636f42
commit 23bbbaa21b
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,12 @@ All dates in this document are approximate.
## Changes
20230530: The default canbus frequency in "make menuconfig" is
now 1000000. If using canbus and using canbus with some other
frequency is required, then be sure to select "Enable extra low-level
configuration options" and specify the desired "CAN bus speed" in
"make menuconfig" when compiling and flashing the micro-controller.
20230525: `SHAPER_CALIBRATE` command immediately applies input shaper
parameters if `[input_shaper]` was enabled already.

View File

@ -95,7 +95,7 @@ config CANBUS
default y if CANSERIAL || USBCANBUS
config CANBUS_FREQUENCY
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANBUS
default 500000
default 1000000
config CANBUS_FILTER
bool
default y if CANSERIAL