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?
Similarly do i need to configure PORT driver and DIO driver?
Solved! Go to Solution.
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.
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
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.
-------------------------------------------------------------------------------