Rev. 3.0, 10/02, page 486 of 686
(2) USB Cable Connection (When USB module stop or software standby is used)
If the USB cable enters the connection state from disconnection state an application (self
powered) where USB module stop or software standby mode is used, perform the operation as
shown in figure 15.5.
Connect the USB cable
USB function
Firmware
No
Yes
Receive bus reset
A bus reset interrupt occurs
Start USB operating
clock oscillation
USB clock stabilization
time has passed?
Cancel USB module stop mode
Clear MSTPB0 of MSTPCRB to 0
Check by using
the port function of
Clear CK48READY of UIFR3
Enable D+ pull up by
the port
Initializa the firmware
Wait for a setup interrupt
Yes
Yes
Yes
No
No
No
Cancel UDC core reset
(Clear UDCRST of UCTLR to 0)
Clear all FIFOS
Wait for USB operating clock
stabilization
Complete USB
module initialization
A USB operating clock
oscillation detection
interrupt occurs
System ready?
Software
standby?
USB module
stopped?
Automatically load
EPINFO to the UDC core
*
*
*
External interrupt
Note:
A VBUS interrupt in the USB module cannot be detected in the software standby state or in the USB
module stop state. Accordingly, in an application in which software standby or USB module stop is used
in self-powered mode, a VBUS interrupt of the USB must be detected via the external interrupt pin
.
In this case, the
pin must be specified as both-edge sensitive. When
is used, a VBUS interrupt
in the USB module need not to be used.
Check the USB cable
connection state
Figure 15.5 USB Cable Connection (When USB Module Stop or Software Standby is Used)
Summary of Contents for H8S/2215 Series
Page 4: ...Rev 3 0 10 02 page iv of lviii ...
Page 6: ...Rev 3 0 10 02 page vi of lviii ...
Page 28: ...Rev 3 0 10 02 page xxviii of lviii ...
Page 122: ...Rev 3 0 10 02 page 64 of 686 ...
Page 132: ...Rev 3 0 10 02 page 74 of 686 ...
Page 156: ...Rev 3 0 10 02 page 98 of 686 ...
Page 198: ...Rev 3 0 10 02 page 140 of 686 ...
Page 320: ...Rev 3 0 10 02 page 262 of 686 ...
Page 384: ...Rev 3 0 10 02 page 326 of 686 ...
Page 474: ...Rev 3 0 10 02 page 416 of 686 ...
Page 608: ...Rev 3 0 10 02 page 550 of 686 ...
Page 614: ...Rev 3 0 10 02 page 556 of 686 ...
Page 650: ...Rev 3 0 10 02 page 592 of 686 ...
Page 652: ...Rev 3 0 10 02 page 594 of 686 ...
Page 680: ...Rev 3 0 10 02 page 622 of 686 ...
Page 732: ...Rev 3 0 10 02 page 674 of 686 ...
Page 740: ...Rev 3 0 10 02 page 682 of 686 ...