Hi@miketorres
Hi, Mike
I give you a hint.
1.How to change PWM frequency?
please refer to example "ftm_signal_measurement_s32k144 "
2.How to use SW1 or SW2.
please refer to example "power_mode_switch_s32k144"
In this example,SW3 was used to wake up the CPU from power mode.
/* Interrupt service routine for SW3 */
void ButtonISR(void)
{
/* Clear button IRQ flag */
PINS_DRV_ClearPortIntFlagCmd(PORTC);
}
or you just keep reading SW(I/O) status without using interrupt.
pins_channel_type_t PINS_DRV_ReadPins(const GPIO_Type * const base)
BR!
Jim,