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