AnsweredAssumed Answered

FSL_LIN_2.X_STACK_Package_4.5.9: How to clear the Error_in_response bit returned of l_ifc_read_status function

Question asked by jeffcharles on Aug 7, 2018
Latest reply on Aug 27, 2018 by jeffcharles


As a master, the header is transmitted but I can't receive the response in a 15ms frame_slot  from slave. So I want to check the lin-bus status to know the cause of failure. It may be lost of slave node or response error. I call the l_ifc_read_status and it returns the status of the previous communication. I use CANoe to simulate the slave node and try to interfere the data field in response. The test result is that:


CANoe invert bit 0(0->1) in the data byte 0 about MSG2 to result in response error and the debugger window shows the Error in response bit returned of l_ifc_read_status function is set to '1'. That is good. But after the next message is transmitted successfully, this bit can't be cleared to ‘0’. Why is that?


Please help me to solve the problem, thanks!