Skip to main content
Associate III
April 6, 2024
Solved

Heart beat signal.

  • April 6, 2024
  • 1 reply
  • 3520 views

Hi, MURALI SELVAM from India. I using "STM32H743VIT6" I want know heart beat signal hardware configuration, in the project I using three MCU for safety purpose, in case 1st MCU will get failure, 2nd one is take control, 2nd one will get  failure, 3rd one will take control for this I have taking "heart beat signal processing" but I don't know how to do hardware configuration and what kind of communication interface between three processor suitable for this like SPI, I2C. Anyone who know about it kindly let me know.

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

You need to start learning about CAN protocol:

https://en.wikipedia.org/wiki/CAN_bus

I don't have a paper about heart beat on CAN protocol. May be you need to google it. But you need to understand first how CAN protocol is working to understand how to implement heartbeat.

 


The 3 MCUs not connected wireless, the 3 MCUs should connect physically.


To me the CAN bus still the best candidate in this case. And to my knowledge the RTR frame is used in automotive for heartbeat function to unsure that all nodes still functional.

 

 

 

 

1 reply

mƎALLEm
Technical Moderator
April 6, 2024

Hello,

You put some wireless tags on the thread so I’m not sure if you are opting for a wireless solution. If not I propose to opt for CAN bus. No master, no slave. All nodes communicate on the same bus. Each node will monitor the other ones. May be you need to use RTR frame.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
muraliAuthor
Associate III
April 6, 2024

Can I use CAN protocol for generating heart beat signal (you have any paper about heart beat signal kindly share me)? it will work perfectly? if The three MCUs are connected with CAN protocol, one MCU will get failure another MCU will take control is possible? Would you explain clearly?

 

The 3 MCUs not connected wireless, the 3 MCUs should connect physically.

 

mƎALLEm
mƎALLEmBest answer
Technical Moderator
April 6, 2024

Hello,

You need to start learning about CAN protocol:

https://en.wikipedia.org/wiki/CAN_bus

I don't have a paper about heart beat on CAN protocol. May be you need to google it. But you need to understand first how CAN protocol is working to understand how to implement heartbeat.

 


The 3 MCUs not connected wireless, the 3 MCUs should connect physically.


To me the CAN bus still the best candidate in this case. And to my knowledge the RTR frame is used in automotive for heartbeat function to unsure that all nodes still functional.

 

 

 

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."