Hello everyone,
I am working with S32 Design Studio version 3.6.5 and using the S32K1 AUTOSAR 4.4 – RTD 3.0.0 (QLP02, D2505) package.
I tried to create and build the CAN example project provided in the RTD for MCU S32K144, targeting the S32K144EVB board.
Tool: S32 Design Studio 3.6.5
RTD: S32K1 AUTOSAR 4.4 RTD 3.0.0 (QLP02 D2505)
MCU: S32K144
Board: S32K144EVB-Q100
Imported the CAN example using “S32DS Project From Example”.
Selected CAN0 related pins (TX/RX) using the configuration tool.
Clicked Update Code.
Tried to build the project.
During compilation, I consistently get the following error:
It looks like the Port IP AUTOSAR generated header file is missing, even after configuring CAN pins and updating the code.
I have checked multiple forum posts and tried the suggested steps, but I am still unable to resolve this issue.
Is this CAN example intended to be used directly as an AUTOSAR ECUC-based project in S32DS 3.6.5?
Should a separate AUTOSAR RTD project be created first and then the example source files copied?
Is there any additional step required to enable the AUTOSAR ECU Configuration editor instead of the SDK Pins/Clocks tool in S32DS 3.6.5?
Any guidance on the correct workflow to build this RTD CAN example successfully on S32K144EVB would be greatly appreciated.
Thank you.
Hi,
RTD CAN demo example shows only internal loopback test, no pins are configured and you need to add it. You can refer to below guide for a reference how the PORT component should be added; https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-a-Blinking-LED-example-pr...
Not sure of other S32K144 CAN demos using MCAL level driver, but you can e.g. refer to S32K3 demos posted on https://community.nxp.com/t5/S32K-Knowledge-Base/RTD600-MCAL-amp-IP-S32K3X4EVB-T172-FlexCAN-Example-... . The usage is very similar.
BR, Petr
Hi,
refer to modified demo example attached.
It sends out 10 messages when tested with S32K144EVB-Q100 with PCAN tool connected
Hope it helps.
BR, Petr