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
can_common.c
can_esp32_twai.c
can_fake.c
can_handlers.c
can_kvaser_pci.c
can_loopback.c
can_mcan.c
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
can_mcp2515.h
can_mcux_flexcan.c
can_mcux_mcan.c
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
can_nrf.c drivers: can: nrf: disable pin retention if GPD is enabled 2025-02-11 15:58:10 +01:00
can_numaker.c
can_nxp_s32_canxl.c
can_rcar.c
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
can_shell.c can_shell: add shell device filtering 2025-01-29 04:17:47 +01:00
can_sja1000_priv.h
can_sja1000.c
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
CMakeLists.txt drivers: can: sort the list of source files 2025-01-16 22:44:47 +01:00
Kconfig
Kconfig.esp32
Kconfig.fake
Kconfig.kvaser
Kconfig.loopback
Kconfig.mcan
Kconfig.mcp251xfd
Kconfig.mcp2515
Kconfig.mcux
Kconfig.native_linux
Kconfig.nrf
Kconfig.numaker
Kconfig.nxp_s32
Kconfig.rcar
Kconfig.renesas_ra
Kconfig.sam
Kconfig.sam0
Kconfig.sja1000
Kconfig.stm32 drivers : can: replace LL_RCC_GetFDCANClockFreq 2025-02-14 13:36:12 +01:00
Kconfig.tcan4x5x
Kconfig.xmc4xxx