diff --git a/drivers/can/can_stm32fd.c b/drivers/can/can_stm32fd.c index f4a2b9542b5..0047a6bdffd 100644 --- a/drivers/can/can_stm32fd.c +++ b/drivers/can/can_stm32fd.c @@ -191,14 +191,14 @@ static const struct can_driver_api can_api_funcs = { .get_max_filters = can_mcan_get_max_filters, .set_state_change_callback = can_stm32fd_set_state_change_callback, .timing_min = { - .sjw = 0x7f, + .sjw = 0x01, .prop_seg = 0x00, .phase_seg1 = 0x01, .phase_seg2 = 0x01, .prescaler = 0x01 }, .timing_max = { - .sjw = 0x7f, + .sjw = 0x80, .prop_seg = 0x00, .phase_seg1 = 0x100, .phase_seg2 = 0x80, @@ -207,7 +207,7 @@ static const struct can_driver_api can_api_funcs = { #ifdef CONFIG_CAN_FD_MODE .timing_min_data = { .sjw = 0x01, - .prop_seg = 0x01, + .prop_seg = 0x00, .phase_seg1 = 0x01, .phase_seg2 = 0x01, .prescaler = 0x01