Software Version Numbers of Siul2_Port_Ip_Types.h and Siul2_Port_Ip_Defines.h are different

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

Software Version Numbers of Siul2_Port_Ip_Types.h and Siul2_Port_Ip_Defines.h are different

2,036 Views
coo
Contributor I

I am using S32DS 3.4 for platform , S32K3 RTD 2.0.3

Example I want to use FlexCAN_lp_Example_S32K312 but a build error occurs.

I opened the example and did the Update Code.
When I tried to build after that, I got an error <fatal error: Siul2_Port_Ip_Defines.h: No too much file or directory> and went into the SDK to restore the missing files.

After that, there was a problem.

error is <"Software Version Numbers of Siul2_Port_Ip_Types.h and Siul2_Port_Ip_Defines.h are different">

------------------------------------------------

#define SIUL2_PORT_IP_TYPES_VENDOR_ID_H 43
#define SIUL2_PORT_IP_TYPES_AR_RELEASE_MAJOR_VERSION_H 4
#define SIUL2_PORT_IP_TYPES_AR_RELEASE_MINOR_VERSION_H 4
#define SIUL2_PORT_IP_TYPES_AR_RELEASE_REVISION_VERSION_H 0
#define SIUL2_PORT_IP_TYPES_SW_MAJOR_VERSION_H 2
#define SIUL2_PORT_IP_TYPES_SW_MINOR_VERSION_H 0
#define SIUL2_PORT_IP_TYPES_SW_PATCH_VERSION_H 3

#define SIUL2_PORT_IP_DEFINES_VENDOR_ID_H 43
#define SIUL2_PORT_IP_DEFINES_AR_RELEASE_MAJOR_VERSION_H 4
#define SIUL2_PORT_IP_DEFINES_AR_RELEASE_MINOR_VERSION_H 4
#define SIUL2_PORT_IP_DEFINES_AR_RELEASE_REVISION_VERSION_H 0
#define SIUL2_PORT_IP_DEFINES_SW_MAJOR_VERSION_H 2
#define SIUL2_PORT_IP_DEFINES_SW_MINOR_VERSION_H 0
#define SIUL2_PORT_IP_DEFINES_SW_PATCH_VERSION_H 2
------------------------------------------------

I don't know how to solve this problem.

0 Kudos
Reply
6 Replies

2,011 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @coo 

The FlexCAN_lp_Example_S32K312 does not use the SIUL2 driver. Could you please confirm if you made any changes to the example code? If yes, please share the modifications made.

 

B.R.

VaneB

0 Kudos
Reply

1,996 Views
coo
Contributor I

@VaneB 

When I right-click the SDK in the project and press the SDK, I get a warning saying, "One or more files from attached SDK Platform SDK_S32K3_2022_03_M7 V2.0.3 are missed in project FlexCAN_lp_Example_S32K312."
So I don't restore this, do I build it as it is?
If I restore, it doesn't build, and I get an error that the version is different. If I don't restore, I can build, but I can't communicate.

thanks.

0 Kudos
Reply

1,988 Views
coo
Contributor I
@VaneB
I found the cause of the problem.

The example is in loopback mode, but is there another example in usermode? I would like to see actual data communicated by pcan-view.

thanks.
0 Kudos
Reply

1,974 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @coo 

We have available a demo code that requires two boards. The purpose of this example is to use the FlexCAN module configured to use CAN FD. Check the following link. 

Example S32K344 FlexCAN_Ip TX/RX/EnhanceRXFIFO

0 Kudos
Reply

1,955 Views
coo
Contributor I
@ VanB

The s32k312 example is in Loopback mode, which we changed to usermode.
And if you add a port component and pin it in the setting, isn't it possible to see it in pcan-view using usermode?
Please let me know if I missed anything. Is there anything else I need to set up or modify the code?
Thanks.
0 Kudos
Reply

1,946 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @coo 

Yes, the example code provided with the RTDs is in loopback mode, but the link shared before is an example code configured in normal mode or user mode. check the attached images for reference. 

VaneB_1-1709111511906.png

 

 

0 Kudos
Reply