SCTIMER Interupt Usage on FRDM-MCXN947 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SCTIMER Interupt Usage on FRDM-MCXN947 board

1,246 Views
Kevin_Pang
Contributor I

Dear NXP community,

Currently, I am developing a program using the on board SCTIMER peripheral. I am trying to start the CTIMER0 peripheral in the third state of my state implementation with the SCTIMER to produce a PWM signal. This PWM signal is routed to a GPIO pin. To realize this, I will need to implement an interupt in my third state to start the CTIMER0 in that state specifically. However, I have some trouble with programming such interupt as i am not very experienced. Could you help me out?

The code I am currently working on is specified below:

void SCT0_IRQHandler(void)

{

SCTIMER_EventHandleIRQ(SCT0_PERIPHERAL);

 

// Start CTIMER only when SCTIMER reaches state 2

CTIMER_StartTimer(CTIMER0_PERIPHERAL);

PRINTF("CTIMER started from SCTIMER state 2 event.\r\n");

 

}

 

static void SCT0_init(void) {

CTIMER0_init();

SCTIMER_Init(SCT0_PERIPHERAL, &SCT0_initConfig);

/* Enable interrupt SCT0_IRQN request in the NVIC */

/* Initialization of state 0 */

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[0], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[0]);

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[2], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[2]);

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event[0]);

SCTIMER_SetupNextStateAction(SCT0_PERIPHERAL, 1, SCT0_event[0]);

SCTIMER_IncreaseState(SCT0_PERIPHERAL);

/* Initialization of state 1 */

/* Schedule the period event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0]);

/* Schedule the pulse event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0] + 1);

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[1], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[1]);

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event[1]);

SCTIMER_SetupNextStateAction(SCT0_PERIPHERAL, 2, SCT0_event[1]);

SCTIMER_IncreaseState(SCT0_PERIPHERAL);

/* Initialization of state 2 */

/* Schedule the period event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0]);

/* Schedule the pulse event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0] + 1);

 

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[3], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[3]);

 

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event_startCTimer);

SCTIMER_SetCallback(SCT0_PERIPHERAL, SCT0_IRQHandler, SCT0_event_startCTimer);

EnableIRQ(SCT0_IRQn);

 

}

 

The picture below shows the wave form at the start. The goal is to start the blue PWM signal at the fourth rising edge of the yellow PWM signal.
Starting_Process_SCT_CT.png

 

Labels (3)
0 Kudos
Reply
6 Replies

1,193 Views
Kevin_Pang
Contributor I

PROBLEM SOLVED:

I have already found out the solution to program the interupt correctly. The code implementation is shown below (CTIMER init not shown):

void SCT0_IRQHandler(void)

{

SCTIMER_EventHandleIRQ(SCT0_PERIPHERAL);

 

}

 

void Start_CTIMER(void)

{

// Start CTIMER only when SCTIMER reaches state 2

CTIMER_StartTimer(CTIMER0_PERIPHERAL);

PRINTF("CTIMER started from SCTIMER state 2 event.\r\n");

}

 

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

};

const sctimer_pwm_signal_param_t SCT0_pwmSignalsConfig[4] = {

{

.output = kSCTIMER_Out_0,

.level = kSCTIMER_HighTrue,

.dutyCyclePercent = 50U

},

{

.output = kSCTIMER_Out_1,

.level = kSCTIMER_HighTrue,

.dutyCyclePercent = 100U

},

{

.output = kSCTIMER_Out_1,

.level = kSCTIMER_HighTrue,

.dutyCyclePercent = 0U

},

{

.output = kSCTIMER_Out_1,

.level = kSCTIMER_HighTrue,

.dutyCyclePercent = 0U

}

};

uint32_t SCT0_pwmEvent[4];

uint32_t SCT0_event[4];

uint32_t SCT0_event_startCTimer;

 

 

static void SCT0_init(void) {

 

SCTIMER_Init(SCT0_PERIPHERAL, &SCT0_initConfig);

/* Enable interrupt SCT0_IRQN request in the NVIC */

/* Initialization of state 0 */

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[0], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[0]);

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[2], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[2]);

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event[0]);

SCTIMER_SetupNextStateAction(SCT0_PERIPHERAL, 1, SCT0_event[0]);

SCTIMER_IncreaseState(SCT0_PERIPHERAL);

/* Initialization of state 1 */

/* Schedule the period event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0]);

/* Schedule the pulse event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0] + 1);

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[1], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[1]);

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event[1]);

SCTIMER_SetupNextStateAction(SCT0_PERIPHERAL, 2, SCT0_event[1]);

SCTIMER_IncreaseState(SCT0_PERIPHERAL);

/* Initialization of state 2 */

/* Schedule the period event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0]);

/* Schedule the pulse event for the PWM */

SCTIMER_ScheduleEvent(SCT0, SCT0_pwmEvent[0] + 1);

 

SCTIMER_SetupPwm(SCT0_PERIPHERAL, &SCT0_pwmSignalsConfig[3], kSCTIMER_EdgeAlignedPwm, 100U, SCT0_CLOCK_FREQ, &SCT0_pwmEvent[3]);

 

SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_OutputRiseEvent, 0, kSCTIMER_Out_0, kSCTIMER_Counter_U, &SCT0_event_startCTimer);

SCTIMER_SetCallback(SCT0_PERIPHERAL, Start_CTIMER, SCT0_event_startCTimer);

SCTIMER_EnableInterrupts(SCT0, (1U << SCT0_event_startCTimer));

 

EnableIRQ(SCT0_IRQn);

 

}

Kevin_Pang_0-1752496755589.png

 

 

0 Kudos
Reply

1,179 Views
Habib_MS
NXP Employee
NXP Employee

Hello @Kevin_Pang,
I am glad your issue is solved. Please let me know if there is anything that I can do for you.
BR
Habib

0 Kudos
Reply

1,156 Views
Kevin_Pang
Contributor I

Dear Habib,

Thank you for reaching out. 

I now have a problem with the development board. It consequently raises an exception "Unable to open probe index 1" with the error "Probe not open" when trying to debug my project. Afterwards, it fails to connect with the core. This happened suddenly without any change in my setup. Can you help me solve this issue?

Kind regards,
Kevin Pang

0 Kudos
Reply

1,147 Views
Habib_MS
NXP Employee
NXP Employee

Hello @Kevin_Pang,

Could you try running one of the SDK examples, such as "hello_world," to determine whether the exception is caused by your code or is specific to your board?
BR
Habib

0 Kudos
Reply

1,125 Views
Kevin_Pang
Contributor I

Dear Habib,

I have tried to run a basic sdk example and I still encounter the same error. 

Kind regards,

Kevin 

0 Kudos
Reply

1,059 Views
Habib_MS
NXP Employee
NXP Employee

Hello @Kevin_Pang,

It looks like the issue you are experiencing is discussed in the next thread. I recommend following the suggestions provided by ZhangJennie to see if they help resolve the problem.

BR
Habib

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2131736%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131736%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20community%2C%3C%2FP%3E%3CP%3ECurrently%2C%20I%20am%20developing%20a%20program%20using%20the%20on%20board%20SCTIMER%20peripheral.%20I%20am%20trying%20to%20start%20the%20CTIMER0%20peripheral%20in%20the%20third%20state%20of%20my%20state%20implementation%20with%20the%20SCTIMER%20to%20produce%20a%20PWM%20signal.%20This%20PWM%20signal%20is%20routed%20to%20a%20GPIO%20pin.%20To%20realize%20this%2C%20I%20will%20need%20to%20implement%20an%20interupt%20in%20my%20third%20state%20to%20start%20the%20CTIMER0%20in%20that%20state%20specifically.%20However%2C%20I%20have%20some%20trouble%20with%20programming%20such%20interupt%20as%20i%20am%20not%20very%20experienced.%20Could%20you%20help%20me%20out%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20code%20I%20am%20currently%20working%20on%20is%20specified%20below%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3ESCT0_IRQHandler%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_EventHandleIRQ(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%2F%2F%20Start%20CTIMER%20only%20when%20SCTIMER%20reaches%20state%202%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECTIMER_StartTimer(CTIMER0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22CTIMER%20started%20from%20SCTIMER%20state%202%20event.%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Estatic%3C%2FSPAN%3E%20%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3ESCT0_init%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECTIMER0_init()%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_Init(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_initConfig)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Enable%20interrupt%20SCT0_IRQN%20request%20in%20the%20NVIC%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%200%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B0%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B2%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B2%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupNextStateAction(SCT0_PERIPHERAL%2C%201%2C%20SCT0_event%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_IncreaseState(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%201%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20period%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20pulse%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D%20%2B%201)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B1%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupNextStateAction(SCT0_PERIPHERAL%2C%202%2C%20SCT0_event%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_IncreaseState(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%202%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20period%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20pulse%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D%20%2B%201)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B3%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B3%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event_startCTimer)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetCallback(SCT0_PERIPHERAL%2C%20SCT0_IRQHandler%2C%20SCT0_event_startCTimer)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EEnableIRQ(%3C%2FSPAN%3E%3CSPAN%3ESCT0_IRQn%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20picture%20below%20shows%20the%20wave%20form%20at%20the%20start.%20The%20goal%20is%20to%20start%20the%20blue%20PWM%20signal%20at%20the%20fourth%20rising%20edge%20of%20the%20yellow%20PWM%20signal.%3CBR%20%2F%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Starting_Process_SCT_CT.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Starting_Process_SCT_CT.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346999i89A84FD24221CDF5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Starting_Process_SCT_CT.png%22%20alt%3D%22Starting_Process_SCT_CT.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2131736%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EClock%7CTimers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevelopment%20Board%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2137590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2137590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251209%22%20target%3D%22_blank%22%3E%40Kevin_Pang%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20looks%20like%20the%20issue%20you%20are%20experiencing%20is%20discussed%20in%20the%20next%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-IDE%2FUnable-to-open-probe-index-1%2Ftd-p%2F1964345%22%20target%3D%22_self%22%3Ethread%3C%2FA%3E.%20I%20recommend%20following%20the%20suggestions%20provided%20by%20ZhangJennie%20to%20see%20if%20they%20help%20resolve%20the%20problem.%3C%2FP%3E%0A%3CP%3EBR%3CBR%20%2F%3EHabib%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136538%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136538%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Habib%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tried%20to%20run%20a%20basic%20sdk%20example%20and%20I%20still%20encounter%20the%20same%20error.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%2C%3C%2FP%3E%3CP%3EKevin%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2135968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251209%22%20target%3D%22_blank%22%3E%40Kevin_Pang%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20try%20running%20one%20of%20the%20SDK%20examples%2C%20such%20as%20%22hello_world%2C%22%20to%20determine%20whether%20the%20exception%20is%20caused%20by%20your%20code%20or%20is%20specific%20to%20your%20board%3F%3CBR%20%2F%3EBR%3CBR%20%2F%3EHabib%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2135772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2135772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Habib%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20reaching%20out.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20now%20have%20a%20problem%20with%20the%20development%20board.%20It%20consequently%20raises%20an%20exception%20%22Unable%20to%20open%20probe%20index%201%22%20with%20the%20error%20%22Probe%20not%20open%22%20when%20trying%20to%20debug%20my%20project.%20Afterwards%2C%20it%20fails%20to%20connect%20with%20the%20core.%20This%20happened%20suddenly%20without%20any%20change%20in%20my%20setup.%20Can%20you%20help%20me%20solve%20this%20issue%3F%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%2C%3CBR%20%2F%3EKevin%20Pang%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133496%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133496%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251209%22%20target%3D%22_blank%22%3E%40Kevin_Pang%3C%2FA%3E%2C%3CBR%20%2F%3EI%20am%20glad%20your%20issue%20is%20solved.%20Please%20let%20me%20know%20if%20there%20is%20anything%20that%20I%20can%20do%20for%20you.%3CBR%20%2F%3EBR%3CBR%20%2F%3EHabib%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2133331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SCTIMER%20Interupt%20Usage%20on%20FRDM-MCXN947%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2133331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPROBLEM%20SOLVED%3A%3C%2FP%3E%3CP%3EI%20have%20already%20found%20out%20the%20solution%20to%20program%20the%20interupt%20correctly.%20The%20code%20implementation%20is%20shown%20below%20(CTIMER%20init%20not%20shown)%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%3E%3CP%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3ESCT0_IRQHandler%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_EventHandleIRQ(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3EStart_CTIMER%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F%2F%20Start%20CTIMER%20only%20when%20SCTIMER%20reaches%20state%202%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECTIMER_StartTimer(CTIMER0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22CTIMER%20started%20from%20SCTIMER%20state%202%20event.%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Econst%3C%2FSPAN%3E%20%3CSPAN%3Esctimer_config_t%3C%2FSPAN%3E%3CSPAN%3E%20SCT0_initConfig%20%3D%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.enableCounterUnify%20%3D%20true%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.clockMode%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_System_ClockMode%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.clockSelect%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Clock_On_Rise_Input_0%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.enableBidirection_l%20%3D%20false%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.enableBidirection_h%20%3D%20false%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.prescale_l%20%3D%200U%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.prescale_h%20%3D%200U%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.outInitState%20%3D%200U%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.inputsync%20%3D%200U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Econst%3C%2FSPAN%3E%20%3CSPAN%3Esctimer_pwm_signal_param_t%3C%2FSPAN%3E%3CSPAN%3E%20SCT0_pwmSignalsConfig%5B4%5D%20%3D%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.output%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.level%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_HighTrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.dutyCyclePercent%20%3D%2050U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.output%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_1%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.level%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_HighTrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.dutyCyclePercent%20%3D%20100U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.output%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_1%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.level%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_HighTrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.dutyCyclePercent%20%3D%200U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.output%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_1%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.level%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_HighTrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E.dutyCyclePercent%20%3D%200U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Euint32_t%3C%2FSPAN%3E%3CSPAN%3E%20SCT0_pwmEvent%5B4%5D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Euint32_t%3C%2FSPAN%3E%3CSPAN%3E%20SCT0_event%5B4%5D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Euint32_t%3C%2FSPAN%3E%3CSPAN%3E%20SCT0_event_startCTimer%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Estatic%3C%2FSPAN%3E%20%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3ESCT0_init%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%20%7B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ESCTIMER_Init(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_initConfig)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Enable%20interrupt%20SCT0_IRQN%20request%20in%20the%20NVIC%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%200%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B0%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B2%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B2%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent%3C%2FSPAN%3E%3CSPAN%3E(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupNextStateAction(SCT0_PERIPHERAL%2C%201%2C%20SCT0_event%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_IncreaseState(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%201%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20period%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20pulse%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D%20%2B%201)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B1%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent%3C%2FSPAN%3E%3CSPAN%3E(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupNextStateAction(SCT0_PERIPHERAL%2C%202%2C%20SCT0_event%5B1%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_IncreaseState(SCT0_PERIPHERAL)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Initialization%20of%20state%202%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20period%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Schedule%20the%20pulse%20event%20for%20the%20PWM%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_ScheduleEvent(SCT0%2C%20SCT0_pwmEvent%5B0%5D%20%2B%201)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ESCTIMER_SetupPwm(SCT0_PERIPHERAL%2C%20%26amp%3BSCT0_pwmSignalsConfig%5B3%5D%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_EdgeAlignedPwm%3C%2FSPAN%3E%3CSPAN%3E%2C%20100U%2C%20SCT0_CLOCK_FREQ%2C%20%26amp%3BSCT0_pwmEvent%5B3%5D)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ESCTIMER_CreateAndScheduleEvent%3C%2FSPAN%3E%3CSPAN%3E(SCT0_PERIPHERAL%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_OutputRiseEvent%3C%2FSPAN%3E%3CSPAN%3E%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Out_0%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3EkSCTIMER_Counter_U%3C%2FSPAN%3E%3CSPAN%3E%2C%20%26amp%3BSCT0_event_startCTimer)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_SetCallback(SCT0_PERIPHERAL%2C%20Start_CTIMER%2C%20SCT0_event_startCTimer)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESCTIMER_EnableInterrupts(SCT0%2C%20(1U%20%26lt%3B%26lt%3B%20SCT0_event_startCTimer))%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EEnableIRQ(%3C%2FSPAN%3E%3CSPAN%3ESCT0_IRQn%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Kevin_Pang_0-1752496755589.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Kevin_Pang_0-1752496755589.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F347429i3EAE56E208605257%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Kevin_Pang_0-1752496755589.png%22%20alt%3D%22Kevin_Pang_0-1752496755589.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E