Skip to main content
Tee
Associate
July 27, 2023
Question

STM32 CAN bus accepts nonmatching addresses

Hey there!

I am testing the communication between 2 STM32H7 custom-made boards using CAN bus (chip: SN65HVD230).

My issue is that both ends communicate (Transmit and receive) despite the configuration filter IDs (1 & 2) I am setting. I also tried to block nonmatching addresses using this function: HAL_FDCAN_ConfigGlobalFilter, but it blocks reception from all addresses.

Any ideas?

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 1, 2023

    Hello @Tee, 

    Could you share you Rx filter configuration and the input parameters of the global filter configuration

    Thank you!

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.