Skip to main content
HNico.2
Visitor II
July 16, 2020
Question

Hi, I have a question concerning CAN 2 of the STM32F446RE. I want to use CAN 1 and CAN 2. I can recieve and send framewith the CAN 1. But I don't know how I can recieve frame with the CAN 2. I don't find how configure filters and interupt on CAN 2

  • July 16, 2020
  • 1 reply
  • 558 views

..

This topic has been closed for replies.

1 reply

qwerty
Associate
August 6, 2020

You must do "slavestartfilterbank < filterbank" in the can2 config settings.

Example;

sFilterConfig.SlaveStartFilterBank = 8;

sFilterConfig.FilterBank       = 9;

example2;

sFilterConfig.SlaveStartFilterBank = 11;

sFilterConfig.FilterBank       = 11;