The MTRDEVKSBNK144 example code is built on an older SDK EAR 0.8.6 which is not supported by the new S32DS for AMR v 2.2. Because between the SDK versions are differences the easiest way will be to use the S32DS for ARM v 2018.R1. It is possible to import and run this example code to the S32DS for ARM v 2018.R1 with a few changes in the properties. S32 Design Studio IDE for Arm® based MCUs | NXP