zephyr/drivers/can
Wenxi Xu 7dc2c15fd3 drivers: can: stm32_bxcan: fix filter config
Setting the filter registers in master CAN requires initializing master
CAN first. CONFIG_CAN_MAX_EXT_ID_FILTER banks are reserved for IDE
frames. Previously we set FS1R(CAN filter scale register) at init time,
but it is possible that the master CAN is not initialized at that time.
That is when the filter banks are not set correctly, causing that we get
wrong filter_id from slave CAN. This patch fixes the issue by setting
FS1R at the time of initializing master CAN.

Tested on:
STM32F407IGH6 with 2 std_id and 2 ext_id on each of CAN1 and CAN2.

Signed-off-by: Wenxi Xu <xuwenxi0517@gmail.com>
2025-04-04 09:34:30 +02:00
..
transceiver drivers: can: transceiver: Place API into iterable section 2024-12-02 14:24:28 +01:00
can_common.c drivers: can: remove the deprecated can_calc_prescaler() API function 2024-12-04 02:02:40 +01:00
can_esp32_twai.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_fake.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
can_kvaser_pci.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_loopback.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_mcan.c drivers: can: can_mcan.c: transparent error code propagation 2024-12-04 16:11:40 +01:00
can_mcp251xfd.c drivers: can_mcp251xfd: Add XSTBY option 2025-04-02 10:30:59 +02:00
can_mcp251xfd.h drivers: can_mcp251xfd: Add XSTBY option 2025-04-02 10:30:59 +02:00
can_mcp2515.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_mcp2515.h
can_mcux_flexcan.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_mcux_mcan.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_native_linux_adapt.c
can_native_linux_adapt.h drivers/can/can_native_linux_adapt: Correct a refernece to native_posix 2025-03-12 02:27:36 +01:00
can_native_linux.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_nrf.c drivers: can: nrf: disable pin retention if GPD is enabled 2025-02-11 15:58:10 +01:00
can_numaker.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_nxp_s32_canxl.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_rcar.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_renesas_ra.c drivers: Correct value of event macro for all Renesas SoC 2025-02-28 18:29:17 +01:00
can_sam0.c clocks: atmel: sam0: Fix gclk and mclk clock bindings 2025-01-14 20:49:03 +01:00
can_sam.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
can_shell.c can_shell: add shell device filtering 2025-01-29 04:17:47 +01:00
can_sja1000_priv.h
can_sja1000.c drivers: can: sja1000: reduce number of frame->id pointer dereferences 2024-11-16 15:25:55 -05:00
can_stm32_bxcan.c drivers: can: stm32_bxcan: fix filter config 2025-04-04 09:34:30 +02:00
can_stm32_fdcan.c drivers : can: replace LL_RCC_GetFDCANClockFreq 2025-02-14 13:36:12 +01:00
can_stm32h7_fdcan.c drivers : can: replace LL_RCC_GetFDCANClockFreq 2025-02-14 13:36:12 +01:00
can_tcan4x5x.c drivers: can: can_tcan4x5x: fix compiler build warning/error 2025-01-22 08:08:24 +01:00
can_xmc4xxx.c drivers: can: Place API into iterable section 2024-12-02 14:24:39 +01:00
CMakeLists.txt drivers: can: sort the list of source files 2025-01-16 22:44:47 +01:00
Kconfig drivers: can: initial support for Renesas RA CANFD 2024-10-25 08:55:17 +02:00
Kconfig.esp32 drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.fake
Kconfig.kvaser
Kconfig.loopback drivers: can: loopback: increase default TX thread stack size 2024-07-09 17:18:34 +02:00
Kconfig.mcan drivers: can: mcan: remove broken transmitter delay compensation support 2024-03-28 09:41:53 +00:00
Kconfig.mcp251xfd
Kconfig.mcp2515
Kconfig.mcux dts: arm: nxp: add Flexcan support for S32Z27x 2024-08-21 11:03:44 +02:00
Kconfig.native_linux
Kconfig.nrf drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.numaker drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.nxp_s32 boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.rcar drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.renesas_ra drivers: can: initial support for Renesas RA CANFD 2024-10-25 08:55:17 +02:00
Kconfig.sam drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.sam0 drivers: can: select CONFIG_PINCTRL where needed 2024-10-21 18:54:27 -05:00
Kconfig.sja1000
Kconfig.stm32 drivers : can: replace LL_RCC_GetFDCANClockFreq 2025-02-14 13:36:12 +01:00
Kconfig.tcan4x5x
Kconfig.xmc4xxx SOC: Remove config PINCTRL from xmc4xxx soc 2024-12-02 22:05:16 +00:00