Hi,
One way to improve interrupt response time is to move vectors to RAM by defining in user_config.h:
#define MQX_ROM_VECTORS 0
And then installing interrupt routine as kernel-ISR.
Example where PE-generated code is changed to use own interrupt routine:
//DeviceDataPrv->SavedISRSettings_TUInterrupt.isrData = _int_get_isr_data(LDD_ivIndex_INT_FTM0);
//DeviceDataPrv->SavedISRSettings_TUInterrupt.isrFunction = _int_install_isr(LDD_ivIndex_INT_FTM0, PWM_Interrupt, DeviceDataPrv);
//Install own interrupt routine:
_int_install_kernel_isr(LDD_ivIndex_INT_FTM0, PWM_Interrupt_FAST)
This own interrupt routine is jumped directly from vector.
Note that MQX-services cannot be used from this own interrupt routine (not sure about this).
~Mark