Function To Wake Up The Mcu From Standby Mode - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

MB95630H Series
24.6.2

Function to Wake up the MCU from Standby Mode

The wakeup function enables the I
stop or watch mode.
■ Function to Wake Up the MCU from Standby Mode
2
The I
C macro includes a function to wake up the MCU from standby mode. The function is
enabled by writing "1" to the IBCR0n:WUE bit.
With the MCU in stop mode or watch mode and the IBCR0n:WUE bit set to "1", if a start
condition is detected on the I
set to "1" and the wakeup interrupt request is generated to wake up the MCU from stop/watch
mode.
Set IBCR0n:WUE to "1" immediately before setting the MCU to stop or watch mode.
Similarly, clear IBCR0n:WUE (by writing "0") after the MCU wakes up from stop or watch
mode so that I
The wakeup function only applies to the MCU stop and watch modes.
Figure 24.6-7 Comparison of Normal I
SDAn
SCLn
IRQ by
IBCR0n:WUF
Machine
Clock
1
Set the IBCR0n:WUE bit to "1" immediately before entering stop/watch mode and make sure that IBSRn:BB = 0.
Set the MCU to stop/watch mode and the machine clock stops.
Detect a start condition in stop mode or watch mode. IBCR0n:WUF is set to 1 and a wakeup IRQ is generated. In stop
mode, after the oscillation stabilization wait time, the MCU wakes up and enters the clock mode used before entering stop
mode or watch mode.
Clear the IBCR0n:WUE bit to "0" so that I
the wakeup interrupt.
To receive the data byte correctly, the SCLn must be released in the first cycle after 100 μs (assuming a minimum
oscillation stabilization wait time of 100 μs) from the start of I
MN702-00009-1v0-E
2
C macro to be accessed while the MCU is in
2
C bus, the wakeup interrupt request flag bit (IBCR0n:WUF) is
2
C operation can restart as soon as possible.
5
3
2
2
C can restart the normal operation, and clear the IBCR0n:WUF bit to "0" to clear
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER 24 I
24.6 Operations and Setting Procedure Example
2
C Operation and Wakeup Operation
4
2
C transmission (falling edge detection of SDAn).
2
C BUS INTERFACE
511

Advertisement

Table of Contents
loading

Table of Contents