The bus retains the state at the time of the last access even after entering wait mode or stop mode. Therefore, it is not easy to enter wait mode or stop mode with pin state fixed to an arbitrary level in memory expansion mode or microprocessor mode.
However, if the processor mode is changed to single-chip mode, the pin used as the bus becomes a programmable I/O port, and can then be set to an arbitrary level by software.
- Change the processor mode to single-chip mode.
- Fix the programmable I/O port corresponding to the pin used as the bus to an arbitrary level by software.
- Enter wait mode or stop mode.
- In memory expansion mode, allocate the above processing to the internal ROM area.
In microprocessor mode, transfer the above processing to the internal RAM area and execute in the internal RAM.
- The control of the programmable I/O port mentioned in step 2 above must be performed after entering single-chip mode.
Other ways to suppress consumption current are described in the application note "Concept of the Power Control" (MEJ05B0130).
Please refer to the corresponding application note by going to the Document Library (http://www.renesas.com/document) and searching by Document Title or Document Number using Advanced Search.