Posted on July 30, 2012 at 19:43The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on August 01, 2012 at 19:40 I have a question for you ... in manual (and CAN library), it says CAN Filter Number has to be between 0 and 13 ... you use 14. I found out that if I use a number between 0 and 13, I don't receive any message at all, but if I set it to 14, it accept them (all). Why so?
I have a question for you ... in manual (and CAN library), it says CAN Filter Number has to be between 0 and 13 ... you use 14. I found out that if I use a number between 0 and 13, I don't receive any message at all, but if I set it to 14, it accept them (all). Why so?
Cause you're using CAN2, a slaving device, and the default setting of CAN_FMR is that the filter base for the slave is 14. Use CAN_SlaveStartBank() if you want it set to something else. The CAN on the STM32F40x has 28 filters, the defaults assume 14 for each CAN1 and CAN2
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
I still don't understanding the configuration of CAN Filtering . I have manage to understand the CAN list mode filtering but having a problem with Mask mode.
Suppose I want to filter Identifiers from (100 to 150). Can any one tell me the Mask filter settings and Values for both Extended identifier configuration and Standard Identifier configuration. Thanks.