Hello I'm using the config tools to set up the SCT and I am having troble getting the IRQ to generate, even thou the counter is running and going passed the match value.
Config Screen Shots


Code generated
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
/* clang-format on */
const sctimer_config_t SCT0_initConfig = {
.enableCounterUnify = true,
.clockMode = kSCTIMER_System_ClockMode,
.clockSelect = kSCTIMER_Clock_On_Rise_Input_0,
.enableBidirection_l = false,
.enableBidirection_h = false,
.prescale_l = 0U,
.prescale_h = 0U,
.outInitState = 0U,
.inputsync = 0U
};
uint32_t SCT0_event[1];
static void SCT0_init(void) {
SCTIMER_Init(SCT0_PERIPHERAL, &SCT0_initConfig);
/* Initialization of state 0 */
SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_MatchEventOnly, 25, kSCTIMER_Out_0, kSCTIMER_Counter_L, &SCT0_event[0]);
SCTIMER_SetupCounterLimitAction(SCT0_PERIPHERAL, kSCTIMER_Counter_L, SCT0_event[0]);
/* Enable interrupt SCT0_IRQn request in the NVIC. */
EnableIRQ(SCT0_IRQN);
}
IRQ handler set up
//SCT0_IRQ ---------------------------------------------------------------------
void SCT0_IRQHANDLER (void)
{
if ((SCT0->EVFLAG & 1) == 1) //event 0 pending //1.5uS elapsed
{
SCT0->EVFLAG &= ~1; //Clear the SCT Event 0 Interrupt
GPIO_PortToggle(GPIO, BOARD_INITPINS_LED_RED_PORT, BOARD_INITPINS_LED_RED_GPIO_PIN_MASK);
}
}
//SCT0_IRQ [END] ---------------------------------------------------------------