Step-by-Step Guide for LIN Communication on S32K3x4EVB-Q172 Using S32DS v3.5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Step-by-Step Guide for LIN Communication on S32K3x4EVB-Q172 Using S32DS v3.5

ソリューションへジャンプ
521件の閲覧回数
vinithramarapu
Contributor I

I’m working with the S32K3x4EVB-Q172 evaluation board, and I need help implementing LIN communication to send and receive data between my board and a different device (like CANanalyser or similar board). Specifically, I’m looking for guidance on:

  1. Basic configuration setup for LIN in S32 Design Studio (S32DS) v3.5.
    • What are the key steps for configuring LIN communication?
  2. Using CANanalyser as a LIN slave device:
    • How can I set up CANanalyser to visualize and monitor the data sent or received via LIN communication?
  3. Steps to verify successful communication:
    • What are the best practices to check if the LIN communication is functioning correctly between the S32K3x4EVB-Q172 and the slave device?
    • Are there any specific tools or methods to verify that messages are being transmitted and received correctly?

S32K3X4EVB-T172 #s32ds_v3.5 S32K344-WB 

タグ(1)
0 件の賞賛
返信
1 解決策
484件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) there are few RTD demo examples as well as LIN stack demo within S32DS you can refer to

PetrS_0-1726486303286.png

2) this is rather question for Vector. I do not know and work with that tool. Maybe you can find some guidelines/videos on the web.
I assume it woulld be enough to setup used HW interface for Slave functionality with given bitrate. Then tool would be able to show frames sent by master. To respond to header requesting payload, a response frame should be prepared in the tool.
If you have a LDF file, this can be loaded into a tool and so it has info about frames to be send/received.

3) basically the code itself is running as desired, so it publishes frames successfully and receives slave responses too. If not it is good to have a scope/analyzer to measure MCU's TX/RX lines and LIN bus.  

BR, Petr

元の投稿で解決策を見る

2 返答(返信)
85件の閲覧回数
BarisS37
Contributor II

Hello ,

How can we implement this LIN application for S32K311 MCU ? 

I m working on first NXP mcu project and usually ı cant find true support about using S32DS

I guess my S32DS new version but example codes are on old version and cant implement directly,

Can you help me this topic

0 件の賞賛
返信
485件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) there are few RTD demo examples as well as LIN stack demo within S32DS you can refer to

PetrS_0-1726486303286.png

2) this is rather question for Vector. I do not know and work with that tool. Maybe you can find some guidelines/videos on the web.
I assume it woulld be enough to setup used HW interface for Slave functionality with given bitrate. Then tool would be able to show frames sent by master. To respond to header requesting payload, a response frame should be prepared in the tool.
If you have a LDF file, this can be loaded into a tool and so it has info about frames to be send/received.

3) basically the code itself is running as desired, so it publishes frames successfully and receives slave responses too. If not it is good to have a scope/analyzer to measure MCU's TX/RX lines and LIN bus.  

BR, Petr