Versions Compared

Key

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


Wiki Markup
*\[0138\] RX Family: How to configure the software configurable interrupt in the Smart Configurator?*
Category: RX Family
Sub-category: other
Suitable Products: RX Family
Tags: RX Family, Software Configurable Interrupts, Smart Configurator, Code Generator
Anchor_Toc47762251_Toc47762251 Anchor_Toc372213185_Toc372213185 Anchor_Toc532310891_Toc532310891Question:
Enabling an interrupt (software configurable) on a peripheral results in an error in the smart configurator. How can I fix this issue?
Answer:
Some RX MCU peripherals use only fixed interrupt vectors, while some others also use software configurable interrupt vectors.
The software configurable interupt vectors can configure which interupt is enable by user depending on the application.

Image Added

 
If you use a software configurable interrupt and only configure the "Component tab", :

  • in case of code generator (the component name starting with "Config")
    you will get the following error, and it needs to select the interrupt setting in How to set the software conifugurable interrupt section:
    Image Added
  • in case of FIT module (the component name starting 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 section


How to set the software conifugurable interrupt

This is an example
Example for GTCIU2 setting in GPT:

Image Modified

 
To resolve this error, you must configure additional interrupt settings in the "Interrupt tab".
As shown in the figure below, you need to select the interrupt from the corresponding interrupt vector group, INTA or INTB.
Please also refer to the "User Manual: Hardware" of each product to determine whether the interrupt belongs to INTA or INTB.
(see also the appendix of this page)

How to check the software configurable interrupt is applied

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

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

Image Added

Appendix

Please check from this table in the Users manual: Hardware that you will use depens on the software configurable interrupt.

Image Added