This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F4 CAN Protocol

Former Member
Former Member

Hi friends,
I am trying Can Protocol STM32F4 to STM32F4 ,I not sure about that I am doing right it.

If I use STM32F1 ,this device include just CAN master,so I mean if it is possible STM32F1 to STM32F1 because of both device include just master CAN.
STM32F4 also include CAN Slave,in this case I think I can use STM32F4 to STM32F1 or STM32F4

Is it possible master to master communication.

Is there an anyone to managed  this protocol,please share both device codes with me.

Thanks.

Parents
  • Ahhh. I've now looked up the stm32cubemx and it's a code configuration tool. I'm afraid I can't help you with that I've never used any of those tools. They take all the fun out of it ;-)

    If that stm32cubemx is talking about CAN Master and Slave then it means that it's wrong. Well in my humble opinion ;-) There is no such thing. Your best bet might be to grab the CAN Bus spec or look at the datasheet for your uC which should have a section to give you an overview of CAN. Read that and get an understanding of it and then try and raise a question with the stm32cubemx people.

    All I'm saying is that CAN Bus is NOT a Master/Slave protocol. It's probably referred to as a multi Master, (because ANY node can initiate communications) with Collision detection.

Reply
  • Ahhh. I've now looked up the stm32cubemx and it's a code configuration tool. I'm afraid I can't help you with that I've never used any of those tools. They take all the fun out of it ;-)

    If that stm32cubemx is talking about CAN Master and Slave then it means that it's wrong. Well in my humble opinion ;-) There is no such thing. Your best bet might be to grab the CAN Bus spec or look at the datasheet for your uC which should have a section to give you an overview of CAN. Read that and get an understanding of it and then try and raise a question with the stm32cubemx people.

    All I'm saying is that CAN Bus is NOT a Master/Slave protocol. It's probably referred to as a multi Master, (because ANY node can initiate communications) with Collision detection.

Children
No data