M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 137

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Frequency Synthesizer Interface and DC-DC Converter
5.1.2.3 Set up after USB Suspend Detected
5.1.2.4 Set up after USB Resume Signaling Detected
A USB Suspend occurs if the USB FCU does not detect any bus activity on D+/D- for at least 3 ms.
Detection of a suspend results in bit 7 of USBIS2 and bit 0 of USBPM (SUSPEND) being set to a “1”.
This causes bit 3 of SUSPIC to be set to a “1”. Bit 7 of USBIS2 then needs to be cleared by writing a
“1” to the bit in order to allow a future suspend event.
The configuration of the frequency synthesizer and DC-DC converter should be changed as follows in
the USB Suspend Interrupt routine (if the device is bus powered):
• Change the DC-DC converter from high current mode to low current mode by setting USBC3 (bit 3
• Disable the USB clock by setting USBC5 (bit 5 of USBC) to a “0”. Once the USB clock is disabled,
• Perform other tasks to reduce total current to below 500 A.
• Disable the PLL by setting FSE (bit 0 of FSC) to a “0”.
• Make sure the I-FLAG is set to “1”.
• Stop the system clock by setting CM10 (bit 0 of CM1) to a “1”. Make sure to first enable writing to the
• Note that no action may be necessary if the device is self powered.
A resume occurs when the USB FCU is in the suspend state and detects a non-idle signaling on D+/
D-. Detection of a resume results in bit 6 of USBIS2 and bit 1 of USBPM (RESUME) being set to a “1”.
This causes bit 3 of RSMIC to also be set to “1”. If the MCU was in the stop state prior to the detection
of the resume, the USB Resume Interrupt request will cause the MCU to wake up from the stop state.
Bit 6 of USBIS2 needs to be cleared (by writing a “1” to the bit) in order to allow a future resume event.
See section 2.9 “Stop Mode” for details on waking up from the stop state.
The configuration of the frequency synthesizer and DC-DC converter should be changed as follows in
the USB Resume Interrupt routine (if the device is bus powered):
• Re-enable the PLL for 48MHz f(VCO) by setting FSE (bit 0 of the FSC) to a “1”, then wait for 2 ms.
• Wait for 2 ms.
• Check the lock status bit (LS, bit 7 of FSC).
• Enable the USB clock by setting USBC5 (bit 5 of USBC) to a “1”.
• Wait for a minimum of 4 cycles.
• Change the DC-DC converter from low current mode to high current mode by setting USBC3 (bit 3
• Enable other blocks as necessary.
Registers internal to the USB FCU should not be written to until the USB clock is re-enabled. This in-
cludes all USB SFRs from address 0300
Note that the configuration changes described above may not need to be made if the MCU was not
placed in a suspend state as described in section 5.1.2.3 Set up after USB Suspend Detected.
of the USBC) to a “1”
registers internal to the USB FCU should not be written to. This includes all USB SFRs from address
0300
system clock control register by setting PRCO (bit 0 of PRCR) to “1’. Also, make sure to enable the
USB Resume Interrupt (RSMIC register) and clear or execute any pending interrupts prior to stop-
ping the clock so the MCU can wake up once resume signaling is detected. If the clock is stopped
using an interrupt routine, make sure to set the priority of the Resume Interrupt (RSMIC) higher than
the current interrupt.
of the USBC) to a “0”.
• If the bit is a “1”, continue.
• If the bit is a “0”, wait 0.1
16
to 033C
16
. It does not include USBC or FSC.
ms
longer and then re-check the bit.
1-137
16
to 033C
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
16
. It does not include USBC or FSC.
Mitsubishi microcomputers
M30240 Group

Related parts for M30240ECFP