Hello Umut Ülker,
Regarding the request above, may I ask what application do you want to design?
In general, all microcontrollers' pins have a very limited current output (10-25mA), and they cannot be used as a Class-D amplifier.
Instead, the typical diagram should be the following:

The PWM pin from MCU is filtered and current is limited by a resistor that is feed to a driver, and its outputs is tied to the Load (speaker).
The Driver can be an Op-Amp for low power application or headphones, or it can be a Class-D amplifier for speakers.
A very simple schematic to test the Sine output from S32K144 is the following:

Where Vout is 5V, Q1 is a simple NPN transistor 2N3904 and the PWM output pin of the S32K144 is connected to R1 resistor with values from 220 to 1k Ohms.
One simpler approach is to use the Motor Control Shield for DEVKIT and plug it into the S32K144-Q100 Evaluation Board
Then you can connect the speaker between the Phase A and Ground on the J13 (green) connector from the Motor Control Shield.
There might be needed to add some capacitors in order to filter the output better.
Hope this information helps,
Stefan V.