Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

How to properly set peripheral module?

Latest Updated:01/23/2014

Question:

I performed the settings for a peripheral module, but an interrupt doesn't occur. Is there anything I may have missed?

Answer:

Please check the following.

- The interrupt priority level of the corresponding interrupt is set to higher than the processor interrupt priority level (IPRn, IPL)
- Interrupt requests are enabled by the ICU for the corresponding interrupt (IERm)
- The interrupt enable bit of the corresponding peripheral module is set to "enabled"
- The module-stop state of the corresponding peripheral module is canceled (MSTPCRA to MSTPCRC)

For details, please see the Interrupt Controller, I/O Ports, and Low Power Consumption chapters and the chapter for the corresponding peripheral module in the User's Manual: Hardware.

Suitable Products
RX630
RX63N, RX631
RX210