AnsweredAssumed Answered

bxCAN Master vs Slave

Question asked by qwer.asdf on Jun 12, 2015
Latest reply on Jun 15, 2015 by qwer.asdf
I would like to connect to my car's CAN network but I'm a little confused as there are two CAN interfaces in STM32F407 - CAN1 (Master, PB8 and PB9) and CAN2 (Slave, PB5 and PB6).

Why do we need two interfaces? Can you tell me the difference or are they both needed to connect to one network? Or maybe CAN1 is just more robust than CAN2? Which one should I connect to my car's CAN network for reading data from the car?

I found only these lines in the reference manual about the differences:

CAN1: Master bxCAN for managing the communication between a Slave bxCAN and
the 512-byte SRAM memory
CAN2: Slave bxCAN, with no direct access to the SRAM memory.
The two bxCAN cells share the 512-byte SRAM memory


Thank you

Outcomes