Question
bxCAN Master vs Slave
Posted on June 12, 2015 at 14:20
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 andthe 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