Hello,
Yes, you can.
The MCSPTR2AK396 kit is specifically intended for motor-control application development on the S32K396, and NXP provides the reference software as ANSI C source code for non-AUTOSAR applications, making it suitable for developing and replacing parts of the control algorithm with your own custom C code.
Typical software toolchain:
S32 Design Studio (S32DS) – IDE, compiler, debugger
RTD (Real-Time Drivers) – S32K3 peripheral drivers
S32 Configuration Tool (S32CT) – pin/clock/peripheral configuration
AMMCLib – motor-control algorithms library
FreeMASTER – runtime monitoring and debugging
MCAT – motor parameter identification and tuning
Best regards,
Peter