Start with Reference Design RD9Z1_638_12V

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

Start with Reference Design RD9Z1_638_12V

908 次查看
andreasgille
Contributor I

Hey, Is there anybody who has bougth the Reference Design IBS too?

 

I Have some question about the LIN-BUS. I hope anybody can help. I´m a beginner :-)

 

I connected the LIn Bus to the Microchip LIN Serial Analyser. The connecting seems to be ok and I can send some Id´s (ID=60) to the Slave. If I send some special frames, to get the data, nothing happen. No Error message no responce data.

 

In the attached Ldf you see the frames the ID of IBS01 is 16.

Original Attachment has been moved to: Demo_neu.ldf.zip

标签 (1)
0 项奖励
回复
2 回复数

689 次查看
RadekS
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

689 次查看
andreasgille
Contributor I

Hi RadekS,

Thank you for your help. Your right with, my ldf is wrong. But I don´t need it at the moment.

I got a logic analyzer. If I send the Diagnostic Frame I get no answer. Please see the picture below. I think I have too!?Screenshot 2016-02-18 19.59.56.png

Andreas

0 项奖励
回复