English
Language : 

38K0 Datasheet, PDF (71/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
Multichannel RAM Operation Example
The multichannel RAM operation example is shown below.
This example shows the case that an external MCU uses the
38K0 group as a peripheral LSI (USB controller).
The following explains that the external MCU reads out the data
which is received via the USB.
➀ The data which is received via the USB is written into the multi-
channel RAM.
➁ Receive completion is propagated to the CPU.
➂ The external bus interface is activated owing to the CPU.
➃ (1) The external bus interface sets the data which is read from
the multichannel RAM into the internal data buffer.
(2) The external MCU reads out the data bus buffer of the exter-
nal bus interface.
(3) The above operation is repeated by the number of the re-
ceived bytes. After that, the data transfer is completed.
CPU
Program ROM
➂ Activating
➁ Notice of receive completion
External MCU bus
External bus interface
Multichannel RAM
Peripheral functions
USB
➃ FIFO read of received data
by External bus interface
➀ FIFO write of received data
by USB
USB bus
(USB host)
Fig. 101 Multichannel RAM operation example
Rev.3.00 Oct 05, 2006 page 71 of 129
REJ03B0192-0300