How to configure a module using RX without interruption?
Latest Updated:06/20/2013
Question:
Using the RX, I have configured a peripheral module to generate an interrupt, but none are generated. What could be the problem?
Answer:
Please check the following points.
- The interrupt priority level select bits (IPR) in the interrupt priority register (IPR) is set to a higher value than the processor interrupt priority level (IPL) in the processor status word (PSW).
- The interrupt request enable bit (IEN) in the interrupt request enable register (IER) is enabled.
- The interrupt enable bit of the peripheral module is enabled.
- If an input signal is being used as the interrupt trigger: The input buffer control register (ICR) of the corresponding port is enabled.
- A module stop bit in a module stop control register (MSTPCRA, MSTPCRB, or MSTPCRC) of the corresponding peripheral module is set to 0.
For more information, please refer to the "Interrupt Control Unit", "I/O Ports", and "Power-Down Modes" chapters, as well as the sections on their peripheral modules, in the hardware manual.
Suitable Products
RX62N, RX621 |
RX62T |
RX610 |
RX62G |