S32K3x4-Q172 CAN bus example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3x4-Q172 CAN bus example

Jump to solution
3,394 Views
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?

Tags (2)
0 Kudos
Reply
1 Solution
3,351 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
3,352 Views
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 Kudos
Reply
1,685 Views
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

Tags (2)
0 Kudos
Reply
3,354 Views
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 Kudos
Reply