Hi Andreas,
Unfortunately my experiences with LIN communication to MM9Z1J638 are limited.
I do not see node attributes definition (<Node_attributes_def> according LIN spec.) in your LDF file. However I am not sure whether it is mandatory in your case.
According LIN specification:
In case of LIN 1.x the attributes_def contains no attributes.
In case of LIN 2.x, following attributes applies:
<attributes_def> ::=
product_id = <supplier_id>, <function_id> (, <variant>) ;
response_error = <signal_name> ;
(fault_state_signals = <signal_name>([,<signal_name>]);)
(P2_min = real_or_interger ms ; )
(ST_min = real_or_interger ms ; )
(N_As_timeout = real_or_integer ms ; )
(N_Cr_timeout = real_or_integer ms ; )
<configurable_frames_20_def> | <configurable_frames_21_def>
Your LDF file specifies protocol version 2.1. In that case LDF file should contain also “Node_attributes {}”.
Diagnostic frames (0x3c/ 0x3d) always use the classic checksum. Maybe that could be a key – your LDF file do not refers to LIN 2.x specification, but slave may answers in LIN 2.x format.
Please check communication on LIN signal by oscilloscope or logic analyzer and ensure whether slave really answers or not.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------