hm90330-cm44-10129-2e-corr-x1-00.pdf

Corrections of Hardware Manual
MB90330
hm90330-cm44-10129-3e-corr-x1-00.doc
© Fujitsu Microelectronics Europe GmbH
Addendum, MB90330 Hardware Manual (CM44-10129-3E)
This is the Addendum for the Hardware Manual CM42-10129-3E of the MB90330
microcontroller series. It describes all known discrepancies of the MB90330
microcontroller series Hardware Manual.
Ref. Number
Date
(Internal ref.
number)
Version Chapter/Page
No.
(Text Link)
dd.mm.yy
HWM90330001
15.11.05 1.00
HWM90330002
24.02.06 1.01
hm90330-cm44-10129-3e-corr-x1-00.doc 1 / 4
Description/Correction
Transition to standby mode,
Standby Cancel failure behavior
added
USB suspend state
HWM90330001
TOP
Transition to standby mode
The definition of Standby Cancel Failure is that the CPU will execute wrong
instructions when an interrupt is executed during transition to Standby mode1
at a certain time.
1
:Definition of Standby mode
Main sleep mode, PLL sleep mode, Sub-sleep mode
Time base timer mode, Watch mode, Main watch mode
Main stop mode, PLL stop mode, Sub-stop mode
In the following cases, no problem occurs:
-Standby mode is not used
-Standby mode is released only by external reset
For further information refer to Hardware Manual ‘Usage Notes on Low-Power
Consumption Mode’.
HWM90330002
TOP
USB suspend state
1. Restriction on a VBUS pin
It has been made clear that when the MB90330/5 series becomes a USB
suspend state, the VON and VOFF bits of the UDCS register are not set even
if the VBUS pin level changes. That is, in a USB suspend state, the VBUS
pin cannot detect the connection and disconnection with the USB host.
However, when the MB90330/5 series is used in either of the following
conditions, this restriction is not applied:
Use method (1): The VBUS pin is not used.
Use method (2): Using it as the USB bus power device.
Use method (3): Using it as a USB Mini-Host only.
Use method (4): Using it in a USB non-suspend state.
2. Countermeasure
The measure to avoid this restriction is to use the external interrupt pin
instead of the VBUS pin. For the measure to the device, a circuit equivalent
to the external interrupt pin to the VBUS pin must be added. However, in that
case, the specifications of this device will be largely changed from the
current mass-produced devices. Therefore, we are very sorry to say that this
restriction is applied to the specifications of the VBUS pin. For the method
to detect the connection and disconnection with the USB host by using the
external interrupt pin, see the attached material.
hm90330-cm44-10129-3e-corr-x1-00.doc 2 / 4
3. Example of detecting the connection and disconnection with the USB host by
using the external interrupt pin
As described in the following figure, the connection and disconnection with
the USB host can be detected by connecting the external interrupt pin with the
VBUS pin of the USB connector and then connecting a pull-down resistance. For
the VBUS pin of MB90330/5 series, a pull-down resistor is essential.
USB
3.3 V
MB90330/5 series
B connector
Vcc
t l
VBUS
External interrupt pin
(One pin of INT0 to INT7)
3.3 V
HCON
1.5 kΩ
27 Ω
D+
27 Ω
DVP
D-
DVM
GND
Vss
Example of connecting the USB connector
4. Example of detecting the connection with the USB host
(1) Initialize the register relating to the USB function in advance.
(2) Set the external interrupt request to the ”H” level and clear the cause
bit to enable the external interrupt.
(3) When the USB host is connected, the VBUS signal becomes the ”H” level and
the external interrupt occurs. When the external interrupt occurs, wait
for a certain time (about a few ms) until the VBUS signal level becomes
stable.
(4) Disable the external interrupt to detect the next disconnection with the
USB host, and change the external interrupt request setting to the ”L”
level detection, then clear the cause bit to enable the external
interrupt.
(5) In order to start communication with the USB host, clear the RST bit and
HCON bit of the UDCC register to make the pull-up resistor of the D+
signal valid. (Be sure to clear the RST bit and HCON bit even if the HCON
bit is not used to control the pull-up resistor.)
hm90330-cm44-10129-3e-corr-x1-00.doc 3 / 4
VBUS signal
(2)
External interrupt disabled: ENx
(4)
External enable cause: ERx
Request level: {LBx, LAx}
{x,x}
{0,0}
{0,1}
RST,HCON
(5)
(3)
VBUS stable waiting time
5. Example of detecting the disconnection with the USB host
(1) Make the settings described in (4) and (5) of Item 1 above in advance.
(2) When the USB host is disconnected, the VBUS signal becomes the ”L” level
and the external interrupt occurs.
(3) When the external interrupt occurs in the USB suspend (stop mode) state:
After a lapse of the oscillation stable waiting time, clear the SUSP
bit of the UDCS register and the USTP bit of the UDCC register in this
order.
When the external interrupt occurs during USB communication or in the
USB suspend (other than stop mode) state:
Wait for a certain time (about a few ms) until the VBUS signal level
becomes stable.
(4) Disable the external interrupt to detect the next connection with the USB
host, and change the external interrupt request setting to the ”H” level
detection, then clear the cause bit to enable the external interrupt.
(5) Set the HCON bit of the UDCC register to make the pull-up resistor of the
D+ signal invalid. (Be sure to set the HCON bit even if the HCON bit is
not used to control the pull-up resistor.)
VBUS signal
(2)
External interrupt permitted: ENx
(4)
External interrupt factor: ERx
Request level: {LBx, LAx}
{0,0}
When returning from stop mode
{0,1}
(3)
SUSP
USTP
Oscillation stable waiting
time or VBUS stable
waiting time
HCON
hm90330-cm44-10129-3e-corr-x1-00.doc 4 / 4
(5)