2270038_en-US

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

2270038_en-US

2270038_en-US

S32K144 AUTOSAR RTD CAN Example Build Error – Missing Port_Ci_Port_Ip_Types.h (S32DS 3.6.5)

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.

Environment details:

  • Tool: S32 Design Studio 3.6.5

  • RTD: S32K1 AUTOSAR 4.4 RTD 3.0.0 (QLP02 D2505)

  • MCU: S32K144

  • Board: S32K144EVB-Q100

Steps followed:

  1. Imported the CAN example using “S32DS Project From Example”.

  2. Selected CAN0 related pins (TX/RX) using the configuration tool.

  3. Clicked Update Code.

  4. Tried to build the project.

Issue:

During compilation, I consistently get the following error:


 
./board/Port_Ci_Port_Ip_Cfg.h:47:10: fatal error: Port_Ci_Port_Ip_Types.h: No such file or directory #include "Port_Ci_Port_Ip_Types.h" compilation terminated. Building file: ../RTD/src/FlexCAN_Ip_Irq.c Invoking: Standard S32DS C Compiler
 

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.

Questions:

  1. Is this CAN example intended to be used directly as an AUTOSAR ECUC-based project in S32DS 3.6.5?

  2. Should a separate AUTOSAR RTD project be created first and then the example source files copied?

  3. 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.

Re: S32K144 AUTOSAR RTD CAN Example Build Error – Missing Port_Ci_Port_Ip_Types.h (S32DS 3.6.5)

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

Re: S32K144 AUTOSAR RTD CAN Example Build Error – Missing Port_Ci_Port_Ip_Types.h (S32DS 3.6.5)

Hi,

refer to modified demo example attached.
It sends out 10 messages when tested with S32K144EVB-Q100 with PCAN tool connected

PetrS_0-1767883554367.png

Hope it helps.

BR, Petr

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎01-09-2026 03:27 AM
更新者: