Skip to content

Commit 1b5df30

Browse files
committed
ventunoq: can: change clock source
THis change + the increased USBD_GS_USB_POOL_SIZE reliable allow 5Mbit on multiple interfaces
1 parent 1b369d9 commit 1b5df30

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

variants/arduino_ventuno_q_stm32h5f5xx/arduino_ventuno_q_stm32h5f5xx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CONFIG_USBD_GS_USB_LOG_LEVEL_ERR=y
2222
CONFIG_CAN=y
2323
CONFIG_USBD_GS_USB_MAX_CHANNELS=3
2424
CONFIG_CAN_FD_MODE=y
25+
CONFIG_USBD_GS_USB_POOL_SIZE=150
2526

2627
CONFIG_FPU=y
2728

variants/arduino_ventuno_q_stm32h5f5xx/arduino_ventuno_q_stm32h5f5xx.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,20 @@
2424
};
2525

2626
&fdcan1 {
27+
clocks = <&rcc STM32_CLOCK(APB1_2, 9)>,
28+
<&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
2729
status = "okay";
2830
};
2931

3032
&fdcan2 {
33+
clocks = <&rcc STM32_CLOCK(APB1_2, 9)>,
34+
<&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
3135
status = "okay";
3236
};
3337

3438
&fdcan3 {
39+
clocks = <&rcc STM32_CLOCK(APB1_2, 9)>,
40+
<&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
3541
status = "okay";
3642
};
3743

0 commit comments

Comments
 (0)