datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

M37641 Ver la hoja de datos (PDF) - MITSUBISHI ELECTRIC

Número de pieza
componentes Descripción
Lista de partido
M37641
Mitsubishi
MITSUBISHI ELECTRIC  Mitsubishi
M37641 Datasheet PDF : 149 Pages
First Prev 141 142 143 144 145 146 147 148 149
PRELIMINARY NSocothimcaene:gpTeah.riasmisetnrioct laimfiintsalasrepescuibfijceacttioton.
MITSUBISHI MICROCOMPUTERS
7641 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
•The receive buffer full interrupt request is not generated if receive
errors are detected at receiving.
•If a character bit length is 7 bits, bit 7 of the UARTx transmit/re-
ceive buffer register 1 and bits 0 to 7 of the UARTx transmit/
receive buffer register 2 are ignored at transmitting; they are in-
valid at receiving.
If a character bit length is 8 bits, bits 0 to 7 of the UARTx transmit/
receive buffer register 2 are ignored at transmitting; they are in-
valid at receiving.
If a character bit length is 9 bits, bits 1 to 7 of the UARTx transmit/
receive buffer register 2 are ignored at transmitting; they are “0”
at receiving.
USB
•When the USB Reset Interrupt Status Flag is kept at “1”, all other
flags in the USB internal registers (addresses 005016 to 005E16)
will return to their reset status. However, the following registers
are not affected by the USB reset: USB control register (address
001316), Frequency synthesizer control register (address
006C16), Clock control register (address 001F16), and USB end-
point-x FIFO register (addresses 006016 to 006416).
•When not using the USB function, set the USB Line Driver Supply
Enable Bit of the USB control register (address 001316) to “1” for
power supply to the internal circuits (at Vcc = 5V).
•When using an isochronous transfer, set the FLUSH Bit (bit 6 of
address 005916 and bit 6 of address 005A16) as follows:
IN FIFO: use AUTO_FLUSH Bit (bit 6 of 005816)
OUT FIFO: when OUT_PKT_RDY Bit is “1”, set FLUSH Bit to “1”
•When the USB SOF Port Select Bit is “1”, the reference pulse of
83.3 ns (φ = 12 MHz) is output from the P70/SOF pin and syn-
chronized with the SOF packet.
•The IN_PKT_RDY Bit and OUT_PKT_RDY Flag can be set or
cleared by software even when using the AUTO_SET or
AUTO_CLR function.
•When writing to USB-related registers, set the USB Clock Enable
Bit to “1”, then perform the write after four φ cycle waits.
•When using the MCU at Vcc = 3.3V, set the USB Line Driver Sup-
ply Enable Bit to “0” (line driver disable). Note that setting the
USB Line Driver Current Control Bit (USBC3) doesn’t affect the
USB operation.
•Read one packet data from the OUT FIFO before clearing the
OUT_PKT_RDY Flag. If the OUT_PKT_RDY Flag is cleared
while one packet data is being read, the internal read pointer can-
not operate normally.
•Use the transfer instructions such as LDA and STA to set the reg-
isters: USB interrupt status registers 1, 2 (addresses 005216,
005316); USB endpoint 0 IN control register (address 005916);
USB endpoint x IN control register (address 005916); USB end-
point x OUT control register (address 005A16). Do not use the
read-modify-write instructions such as the SEB or the CLB in-
struction.
When writing to bits shown by Table 39 using the transfer instruc-
tion such as LDA or STA, a value which never affect its bit state
is required. Take the following sequence to change these bits
contents:
(1) Store the register contents onto a variable or a data register.
(2) Change the target bit on the variable or the data register. Si-
multaneously mask the bit so that its bit state cannot be
changed. (See to Table 39.)
(3) Write the value from the variable or the data register to the
register using the transfer instruction such as LDA or STA.
Table 39 Bits of which state might be changed owing to software write
Regster name
Bit name
USB endpoint 0 IN control register
IN_PKT_RDY (b1)
DATA_END (b3)
FORCE_STALL (b4)
USB endpoint x (x = 1 to 4) IN control register
IN_PKT_RDY (b0)
UNDER_RUN (b1)
USB endpoint x (x = 1 to 4) OUT control register
OUT_PKT_RDY (b0)
OVER_RUN (b1)
FORCE_STALL (b4)
DATA_ERR (b5)
Value not affecting state (Note)
“0”
“0”
“1”
“0”
“1”
“1”
“1”
“1”
“1”
Note: Writing this value will not change the bit state, because this value cannot be written to the bit by software.
143

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]