How to reset LIN STACK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to reset LIN STACK

跳至解决方案
1,675 次查看
RickYeh777
Contributor III

Dear Sir,

  I am working on a project on S32SDK and LIN STACK, which is adopted from lin_slave_s32k118. 

RickYeh777_0-1657006339871.png

And after some intentional/abnormal operations, LIN STACK fell into the below situation.

tl_desc_ptr->tx_msg_status = LD_N_AS_TIMEOUT;
tl_desc_ptr->check_timeout_type = LD_NO_CHECK_TIMEOUT;

RickYeh777_1-1657007401270.png

ld_send_message() was blocked by the check statement.

RickYeh777_3-1657007939273.png

 

Should I reset LIN STACK? and How to reset LIN STACK?

Thanks for your help a lot.

 

0 项奖励
回复
1 解答
1,660 次查看
RickYeh777
Contributor III

Just call ld_init() at the proper position.

在原帖中查看解决方案

标记 (1)
0 项奖励
回复
1 回复
1,661 次查看
RickYeh777
Contributor III

Just call ld_init() at the proper position.

标记 (1)
0 项奖励
回复