S32K3x4-Q172 CAN bus example

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

S32K3x4-Q172 CAN bus example

ソリューションへジャンプ
6,755件の閲覧回数
vlele
Contributor II

Hi ,

I am facing issues in running the CAN bus example for S32k3
I am using example code from S32k3 RTD Autosar 4.4 2.0.1 D2207

 

I cannot see any CAN message on PCAN tool

S32K3x4-Q172 Eval board uses TJA1043TKY , does it need a separate MCAL stack for integration? 
EVAL_transreciever.PNG

Similarly do i need to configure PORT driver and DIO driver?

タグ(2)
0 件の賞賛
返信
1 解決策
6,712件の閲覧回数
vlele
Contributor II

Hi Robin,
I got it working (based on the bare-metal code shared by you)
I was able to set the PINS using the the PORT driver utility.
DIO was not needed.
S32k3 RTD Autosar 4.4 2.0.1 D2207
IDE: S32DS 3.5

Attaching the the source code. Let me know your thoughts on it.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
6,713件の閲覧回数
vlele
Contributor II

Hi Robin,
I got it working (based on the bare-metal code shared by you)
I was able to set the PINS using the the PORT driver utility.
DIO was not needed.
S32k3 RTD Autosar 4.4 2.0.1 D2207
IDE: S32DS 3.5

Attaching the the source code. Let me know your thoughts on it.

0 件の賞賛
返信
5,045件の閲覧回数
avinashstarkenn
Contributor III

Hello @vlele and @Robin_Shen ,

I was also getting the same issue like you following is the code. Like you said I added port driver in the example 'FlexCAN_Ip_Example_S32k344'.Attaching the code below.

I am also attaching 'CAN_Example_S32k344' .Can you also solve the issue in this?

@Robin_Shen Please look in the matter as soon as possible

タグ(2)
0 件の賞賛
返信
6,714件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi vlele,

The description.txt in that project said that This is an CAN HLD driver component LoopBack example. So you can not cannot see any CAN message on PCAN tool.

You may need to configure PORT driver and DIO driver by yourself.(LoopBack example usually doesn't configure these)

Sorry for the inconvenience we bring you!

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信
2,649件の閲覧回数
Shivanand
Contributor II

Hello @Robin_Shen 

I am using s32k356 and I'm trying to transmit data to CAN Analayzer. But im getting CAN error status . Could you please help.

FLEXCAN_IP.jpegFLEXCAN_IP1.jpeg.png 

0 件の賞賛
返信