Hi @Juns
I tested the "lpit_periodic_interrupt_s32k118" example on the S32K118EVB-Q048 to try to recreate the issue you mentioned. I found that when a debug session is active, the code works as expected. However once the session is terminated, the MCU stays in a "freeze" state and the code stops working, although if the power supply is disconnected and connected again, the code runs properly without having an active debug session. Have you observed this behavior if the supply is disconnected and connected again?
About the flashing process, if you can successfully open a debug session, this means that the code is being also flashed to the MCU, therefore the code should run as expected by just being able to debug the code.
Finally, about the "Generate Code" folder, this is only created in S32DS 2.2 since it uses Processor Expert to load the configuration files of the drivers used in the project, meanwhile S32DS 3.5 uses Configuration Tools, hence the difference between the generated files among the versions involved.
Please let me know if this is useful.
- RomanVR.
Best Regards!