Hi,
Thank you so much for your interest in our products and for using our community.
Please find attached project.
It perform a PWM signal using the emios_0_ch_1_g (PTC1 - yellow signal in scope) in OPWMB mode and using EMIOS_CH_23 in MCB mode as time base. Additionally, such PWM signal generates an interrupt as flag event response and its respective callback function toggles the blue LED (PTB8 - green signal).

Please use S32DS 3.6, RTD 5.0.0 and S32K31XEVB-Q100.
If you need different SW and/or HW, you can create a new project, do manual config and code copy.
Hope it helps you.
Have a nice day!