I'm using S32 design studio v3.5 for programming s32k344. After configuring clock and peripherals, I'm seeing compilation errors in the generated code.
Hi@dinesh_balaji
Could you please tell me which RTD version you're using? Did you update code after configure.
You can share the project so i can help you to find the root cause quickly.
Hi.
Something similar to the question above occurred in my project as well.
[sequence of the work]
1. I imported the two projects below in S32DS 3.5
- MSSPTE1AK344_PMSM_FOC_2Sh_as_tr
- MSSPTE1AK344_PMSM_FOC_2Sh_II
Referenced link : Get Started with the MCSPTE1AK344 Development Kit | NXP Semiconductors (At 5 minutes and 20 seconds)
2. But an error occurred.
error description on Problem tab : SDK PlatformSDK_S32K3_2022_03_S32K344_M7_2.0.0_PATH is not found in workspace
3. I ignored the above error, selected the package(S32K344_172MQFP), and built. Then the error below occurred.
- error : ../RTD/include/Emios_Pwm_Ip.h:46:10: fatal error: StandardTypes.h: No such file or directory
- There are several errors, but the common one seems to be that they occur because the 'StandardTypes.h' file is missing.
I attached this project.
What should I do?
Hi@trunie1
this demo should run on RTD 2.0.0,
According to the warning note shows that you didn't have installed RTD 2.0.0
Hi.
Thank you for answer
RTD installed in my project is 4.0.0, but this demo only works with RTD 2.0.0?
[my project : RTD 4.0.0]
I want to run a motor control example, but there is no motor example in 'S32DS Project from Example'.
What should I do?
[S32DS 3.5]
yes, I already told you that you have to install RTD 2.0.0 so you can run this demo.
RTD 4.0.0 is installed in my project. Is there any problem if I install and use RTD2.0.0?
[release note]
I have told you to install RTD 2.0.0.
The picture you provided is the demo version and not the RTD version.
just follow the step in the link i provided in the last reply.
you can install S32 DS V3.4 + RTD 2.0.0
(It will have some problem but can fixed by some operate.)
I installed RTD 2.0.0
After installing RTD2.0.0, any error messages that existed in the project have disappeared.
However, when I click the 'Open S32 Configuration tools' icon, the following error occurs.
- error : Processor S32K344, the PlatformSDK_S32K3_2022_03 version is not supported by the current version of the tool
What should I do?
And it appears that 'MSSPTE1AK344_PMSM_FOC_2Sh_as_tr' and '1MSSPTE1AK344_PMSM_FOC_2Sh_II' cannot be run in the current environment...
If I can't use the example projects above in my current environment, are there any other examples I can run?
You didn’t read the application manual of this demo carefully.
1. You have not installed RTD 2.0.0 correctly. If you don’t know how to install it, please search for related topics in the community.
2. One of these two routines uses MCAL and the other uses Low-level Driver
3. Create your own topic