Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 configure select which interrupt is enable enabled by user depending on the applicationthe user. The software configurable interrupt is separated into two types for each clock source (PCKLA and PCLKB) as INTA and INTB.


 
If you use a How to set the software configurable interrupt and only configure the "Component tab":depends on the driver you are using.

  • in case of code generator Code Generator (the component name starting starts with "Config")
    You will get the following error, and it needs to must select the interrupt setting in How to set the software conifugurable configurable interrupt section on this page:
    Image RemovedImage Added

  • in case of FIT module (the component name starting starts with "r_")
    In general, the software configurable interrupt setting treats as automatically.
    It may not assign the vector table, so please check the behavior is wrong.
    Please check below sectionis set automatically. See also How to verify that the software configurable interrupt is applied on this page.

How to set the software

...

configurable interrupt

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

Image Added

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

Image Added

Please also refer to the "User's Manual: Hardware" of each product to determine whether the interrupt belongs to INTA or INTB.(see also the appendix of this page)
Image Removed

...

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 

Image Added

How to verify that the software configurable interrupt is applied

Please check the r_bsp_interrupt_config.h located in the src/smc_gen/r_config/.Image Removed

Image Added

If the software configurable interrupt setting is not applied correctlysettings fails, the vector table may be set as blank.

Image Removed

Appendix

Please check from this table in the Users manual: Hardware that you will use depens on if you faced this case, please handle the interrupt setting by using How to set the software configurable interrupt.Image Removed

Image Added