CAN TIMEOUT DETECTION

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN TIMEOUT DETECTION

ソリューションへジャンプ
3,536件の閲覧回数
ykarata1
Contributor IV

Dear All,

I need to detect whether I am getting heartbeat of other components that is connected through CAN communication. If not, I should give error after a timeout.

So while I am searching for a solution I have run into that thread. And I just wanted to implement recommended solution by @constantinrazva in " https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/CAN-Timing/m-p/1172473#M5178 "

My block is here as it seems. I have put one Get_Bus_Tick in RX_Complete and One in Subsystem and substracted them to find timedifference. I am taking TIMEOUT as zero everytime.

 

I have also attached that part of my model like and excel file in attachment. You should convert attached file to .slx from xlsx.

How can I solve that?

 

Thanks.

0 件の賞賛
返信
1 解決策
3,492件の閲覧回数
ykarata1
Contributor IV

Hello,

I think I have an approximate solution for that. I am using timestamp output of RX block and checking has it changed or not by using change detection block. Also I am using Peridic Interrupt 1 and at each interrupt, it takes change detection as input. If three consecutive "not change" is detected, I raise a signal HIGH.

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
3,364件の閲覧回数
WrightLyons
Contributor I

TDR stands for Timeout Detection and Recovery. This is a feature of the Windows operating system which detects response problems from a graphics card, and recovers to a functional desktop by resetting the card.

0 件の賞賛
返信
3,493件の閲覧回数
ykarata1
Contributor IV

Hello,

I think I have an approximate solution for that. I am using timestamp output of RX block and checking has it changed or not by using change detection block. Also I am using Peridic Interrupt 1 and at each interrupt, it takes change detection as input. If three consecutive "not change" is detected, I raise a signal HIGH.

 

0 件の賞賛
返信