Background

Some RX MCU peripherals use only fixed interrupt vectors, while some others also use software configurable interrupt vectors. The software configurable interrupt vectors can select which interrupt is enabled by the user. The software configurable interrupt is separated into two types for each clock source (PCKLA and PCLKB) as INTA and INTB.


How to set the software configurable interrupt depends on the driver you are using.

How to set the software configurable interrupt

This is an example of how to remove the error for the GTCIU2 setting in GPT:

 
To resolve this error, you must configure additional interrupt settings in the "Interrupts tab". As shown in the figure below, you need to select the interrupt from the corresponding interrupt vector group, INTA or INTB.

Please refer to the "User's Manual: Hardware" of each product to determine whether the interrupt belongs to INTA or INTB.

The table for this information is shown in the following section:

  • Software Configurable Interrupt A Source Select Register n
  • Software Configurable Interrupt B Source Select Register n 

How to verify that the software configurable interrupt is applied

Please check the r_bsp_interrupt_config.h in src/smc_gen/r_config/.


If software configurable interrupt settings fails, the vector table may be blank. if you faced this case, please handle the interrupt setting by using How to set the software configurable interrupt.