cancel
Showing results for 
Search instead for 
Did you mean: 

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

HNico.2
Associate
 
1 REPLY 1
qwerty
Associate II

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

Example;

sFilterConfig.SlaveStartFilterBank = 8;

sFilterConfig.FilterBank       = 9;

example2;

sFilterConfig.SlaveStartFilterBank = 11;

sFilterConfig.FilterBank       = 11;