How to reset LIN STACK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reset LIN STACK

Jump to solution
1,172 Views
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 Kudos
Reply
1 Solution
1,157 Views
RickYeh777
Contributor III

Just call ld_init() at the proper position.

View solution in original post

Tags (1)
0 Kudos
Reply
1 Reply
1,158 Views
RickYeh777
Contributor III

Just call ld_init() at the proper position.

Tags (1)
0 Kudos
Reply